Connection has been canceled error in Android chat SDK

We are getting the below-mentioned error in Android Chat SDK,

SendBirdException{code=800102, message=Connection has been canceled.}
	at com.sendbird.android.Connection.j(SourceFile:26)
	at com.sendbird.android.SocketManager$l.call(SourceFile:17)
	at com.sendbird.android.SocketManager$l.call(SourceFile:1)
	at com.sendbird.android.q$a.call(SourceFile:1)
	at java.util.concurrent.FutureTask.run(FutureTask.java:264)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1137)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:637)
	at java.lang.Thread.run(Thread.java:1012)

Please let us know what are the possibilities that an error can occur & what will be impact?

SDK version used is:-
sendbird-android-sdk:3.0.159
sendbird-syncmanager:1.1.30

Hi
800102 is a client error.

If you call Sendbird.connect twice in quick succession, the second call throws an error.
It was implemented in 3.0.206 when retry logic was introduced. If two connect method get called twice simultaneously then first will be cancelled.

Update the SDK or fix the implementation

Thank you.

@ScottKim Thanks for responding,

  1. The “Sendbird.connect” is called only once. Is there any other reason that error can happen?
  2. Please let me know if SDK throws “800102” client error and what is the impact.

Please let me know the reason for the below-mentioned exception

SendBirdException{code=800102, message=Connection has been canceled.}
at com.sendbird.android.Connection.j(SourceFile:26)
at com.sendbird.android.SocketManager$l.call(SourceFile:17)
at com.sendbird.android.SocketManager$l.call(SourceFile:1)
at com.sendbird.android.q$a.call(SourceFile:1)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
at java.lang.Thread.run(Thread.java:923)

@ScottKim Any update on this?

Have you updated to version 3.0.206 or higher (or newer version)?

@ScottKim We cannot upgrade the SDK to version 3.0.206 or higher (or a newer version).

Please let me know is there any alternate solution?

This error does not affect users. Also, since the error is an implementation issue, please double check your code.
Please send us a DM with a code snippet of the exact part where the error occurred and we’ll look into it.