Open
Description
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
```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
```
Activity