openim-sdk-core icon indicating copy to clipboard operation
openim-sdk-core copied to clipboard

Long connection keeps disconnecting and reconnecting

Open zhangxqBeta opened this issue 1 year ago • 3 comments

What happened?

WechatIMG108 长连接每过20几秒就会断开重连

What did you expect to happen?

How can we reproduce it (as minimally and precisely as possible)?

Anything else we need to know?

No response

version

```console $ {name} version # paste output here ```

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

zhangxqBeta avatar Dec 29 '23 07:12 zhangxqBeta

Please confirm if a proxy is being used and the network condition. If you use like Nginx, may have a default timeout for long periods of inactivity, automatically disconnecting the connection.

FGadvancer avatar Dec 29 '23 09:12 FGadvancer

Please confirm if a proxy is being used and the network condition. If you use like Nginx, may have a default timeout for long periods of inactivity, automatically disconnecting the connection.

proxy closed

zhangxqBeta avatar Dec 29 '23 10:12 zhangxqBeta

The latest version doesn't have this issue. Please go ahead and use it.

skiffer-git avatar Nov 21 '24 13:11 skiffer-git