You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When the mini program application logs in to the server, if there is a network problem or disconnection, SDK will only retry the connection once. Afterwards, if the application is not restarted, any OpenIM sdk methods will be unable to be called and all will get stuck
What did you expect to happen?
1, fix sdk connect retry count;
2, when network failure happens, sdk could throw exception to application. so that , the application can do something.
How can we reproduce it (as minimally and precisely as possible)?
1, login successful with sdk;
2, broke the network ,or open airplane mode;
3, wait for sdk automatic reconnect fail, almost 20 seconds;
4, call some api with sdk, then you are stacked;
Anything else we need to know?
No response
version
open-im-sdk: 3.4.1
Cloud provider
OS version
```console
# On Linux:
$ cat /etc/os-release
# paste output here
$ uname -a
# paste output here
# On Windows:
C:\> wmic os get Caption, Version, BuildNumber, OSArchitecture
# paste output here
```
Install tools
The text was updated successfully, but these errors were encountered:
What happened?
When the mini program application logs in to the server, if there is a network problem or disconnection, SDK will only retry the connection once. Afterwards, if the application is not restarted, any OpenIM sdk methods will be unable to be called and all will get stuck
What did you expect to happen?
1, fix sdk connect retry count;
2, when network failure happens, sdk could throw exception to application. so that , the application can do something.
How can we reproduce it (as minimally and precisely as possible)?
1, login successful with sdk;
2, broke the network ,or open airplane mode;
3, wait for sdk automatic reconnect fail, almost 20 seconds;
4, call some api with sdk, then you are stacked;
Anything else we need to know?
No response
version
open-im-sdk: 3.4.1
Cloud provider
OS version
Install tools
The text was updated successfully, but these errors were encountered: