livekit / client-sdk-android

LiveKit SDK for Android
https://docs.livekit.io
Apache License 2.0
196 stars 79 forks source link

Attempting soft reconnect, Attempting full reconnect, Error during reconnection. #433

Open User-Admin opened 5 months ago

User-Admin commented 5 months ago

Describe the bug Attempting soft reconnect. Closing SignalClient: code = 1000, reason = Starting new connection websocket failure: null Error during reconnection. websocket closing

Expected behavior When I use the Demo, use the cellular network data, normally connected to the room, during the connection process, the cellular network is always normal state. But all of a sudden it's Attempting soft reconnect. Then start the reconnection process, sometimes the reconnection can be successful, sometimes the reconnection fails, and the connection will not be connected again,what can be the cause of this,This disconnection issue also occurs when I use other versions of the SDK, whether I'm connecting to WIFI or using cellular data

Screenshots 11 12 13

Device Info:

davidliu commented 5 months ago

Sounds like your internet connection isn't stable? We try to reconnect multiple times, but if none of them work, it eventually fails out and stops trying.