I’m experiencing an issue where an interview session gets closed unexpectedly.
During a live interview, after around 7 minutes, the LiveKit connectionStatus suddenly changed and the interview session closed automatically. This is critical for us because interviews should never end midway while a candidate is still in the session.
Unfortunately, I’m unable to properly debug the issue because the Log Insights do not contain enough details about why the connection was closed.
Could you please help investigate what might have caused this?
Room ID: RM_AJVpYzRY9NJu
This issue is very important for our production workflow since it directly impacts candidate interviews. Any help identifying the reason (timeout, connection drop, server-side close, etc.) would be greatly appreciated.
For that particular session, the event log at Sign in | LiveKit Cloud shows CONNECTION_TIMEOUT as the reason the candidate was disconnected from the room.
If I look at the server logs for that time, I see a couple of messages that imply network connection issues with the client
@son_huynh I’m not an expert in AWS hosting but I interpret those logs that something external to your self-hosted agent is instructing it to shut down, and then forcefully shutting it down.
I ran the error through Claude which confidently told me you were running the agents in dev mode rather than start, but I think that is unlikely
That puts the upstream cause on the client connection side (signaling/media stopped reaching the serverwithin the timeout window), so the agent logs in in the above link are where the client/agent timeline of the disconnect will be visible.