Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug: mini program sdk doesn‘t work,when network failure happens #36

Open
qiaoshangyougeren opened this issue Dec 12, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@qiaoshangyougeren
Copy link

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 ```

Install tools

@anyone0034
Copy link

我也是同样的问题。

@Bloomingg Bloomingg added the bug Something isn't working label Aug 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants