brash-lamp-29679
02/20/2026, 4:35 PM{
"message": "livekit::rtc_engine:782:livekit::rtc_engine - resuming connection failed: signal failure: server sent leave during reconnect: reason=StateMismatch, action=Reconnect",
"level": "ERROR",
"name": "livekit",
"pid": 5311,
"job_id": "AJ_8NXhn4kHzEFT",
"timestamp": "2026-02-19T01:06:34.024760+00:00"
}tall-airline-16756
02/20/2026, 4:35 PMtall-airline-16756
02/20/2026, 4:35 PMroom.disconnect() or equivalent).
• Check client-side logs around the disconnect (crash, error, network loss).
• Test connectivity (ICE/TURN/WebSocket). Ensure TURN is available for clients behind NAT/firewalls.
• If you have a connection-test tool, run it to confirm ICE/STUN/TURN reachability and WebSocket reachability.
• Reproduce: try a controlled disconnect/reconnect with a short offline window and with a long offline window to compare behavior.
What you can do in your app
• Ensure graceful disconnect paths whenever possible.
• Implement robust reconnection logic that treats a server Leave on reconnect as a cue to perform a fresh join (clean rejoin flow).
• Log timestamps for disconnect and reconnect attempts so you can correlate client offline duration with server-side cleanup.
If you want, I can help further with:
• Reviewing nearby client logs (around the timestamp) to identify whether the disconnect looked abrupt.
• Guidance on implementing a clean rejoin flow in your SDK (which SDK are you using? Web, iOS, Android, or server-side?).
• Verifying TURN configuration or walking through a connection-test report.
Which of those would be most helpful right now?
Sources: Understanding the STATE_MISMATCH Disconnect Reason | LiveKit | Diagnosing Connection Errors with the Connection Test Utility | LiveKitbrash-lamp-29679
02/24/2026, 12:05 AMtall-airline-16756
02/24/2026, 12:06 AMbrash-lamp-29679
02/24/2026, 12:11 AMtall-airline-16756
02/24/2026, 12:12 AM