agents
agents copied to clipboard
Livekit room disconnection issue
Bug Description
We are facing unique issue in some of our calls, where livekit room reconnecting with below error and after that no agent response comes out resulting in bad experience to user with no agent response to user.
- what may be route cause of this issue?
- Any way to handle such scenarios?
- This occurs rarely? how to reproduce such issues ? so that we can give fix to it.
2025-11-19 21:36:26.710 {"message": "livekit::rtc_engine:453:livekit::rtc_engine - received session close: "signal client closed: \"ping timeout\"" UnknownReason Resume", "level": "WARNING", "name": "livekit", "pid": 460, "job_id": "AJ_h4g3NTZidJ6M", "timestamp": "2025-11-19T16:06:26.709669+00:00"} 2025-11-19 21:36:26.710 {"message": "livekit::rtc_engine:729:livekit::rtc_engine - resuming connection... attempt: 0", "level": "ERROR", "name": "livekit", "pid": 460, "job_id": "AJ_h4g3NTZidJ6M", "timestamp": "2025-11-19T16:06:26.710306+00:00"}
2025-11-19 21:36:26.710 2025-11-19 16:06:26 [info]: [LiveKitRoomPoolManager] :large_yellow_circle: Room reconnecting: pool-room-bebd5dba-4440-489c-809c-d2d495faf564
Expected Behavior
Disconnection should not happen or if reconnects happens agent should speak normally after resuming the connection.
Reproduction Steps
Not always
Operating System
linux
Models Used
No response
Package Versions
livekit==1.0.12
livekit-agents==1.2.15
Session/Room/Call IDs
room id: pool-room-bebd5dba-4440-489c-809c-d2d495faf564
Proposed Solution
Additional Context
No response
Screenshots and Recordings
No response