agents icon indicating copy to clipboard operation
agents copied to clipboard

unexpectedly disconnected from room: UnknownReason

Open leejiliang opened this issue 5 months ago • 0 comments

Error description After the room ends normally, the agent reports an error,

Env livekit-server: 1.6.1 agent:0.8.10

To Reproduce

  1. lk room join --identity test-lijiliang room-lijiliang, then the agent will automatic join the room.
  2. ctrl + c, let participant test-lijiliang leave the room

Error log {"message": "received job request", "level": "INFO", "job_request": "id: "AJ_B2yLRKRhjp4p"\nroom {\n sid: "RM_6Kc33NyNVVui"\n name: "room-lijiliang"\n empty_timeout: 60\n creation_time: 1727233281\n turn_password: "Iz9jBq16ekzaIAQrkeeLjrfqSOipff1jAQlZys5HBstL"\n enabled_codecs {\n mime: "audio/opus"\n }\n enabled_codecs {\n mime: "audio/red"\n }\n enabled_codecs {\n mime: "video/VP8"\n }\n enabled_codecs {\n mime: "video/H264"\n }\n enabled_codecs {\n mime: "video/VP9"\n }\n enabled_codecs {\n mime: "video/AV1"\n }\n departure_timeout: 1\n}\n", "resuming": false, "agent_name": "", "timestamp": "2024-09-25T03:01:21.650763+00:00"} {"message": "livekit_ffi::server:125:livekit_ffi::server - initializing ffi server v0.8.1", "level": "INFO", "pid": 764192, "job_id": "AJ_B2yLRKRhjp4p", "timestamp": "2024-09-25T03:01:21.658402+00:00"} {"message": "livekit_ffi::cabi:27:livekit_ffi::cabi - initializing ffi server v0.8.1", "level": "INFO", "pid": 764192, "job_id": "AJ_B2yLRKRhjp4p", "timestamp": "2024-09-25T03:01:21.658967+00:00"} {"message": "livekit_api::signal_client::signal_stream:96:livekit_api::signal_client::signal_stream - connecting to ws://172.22.4.223:7880/rtc?sdk=rust&protocol=15&auto_subscribe=1&adaptive_stream=0&access_token=...", "level": "INFO", "pid": 764192, "job_id": "AJ_B2yLRKRhjp4p", "timestamp": "2024-09-25T03:01:21.659897+00:00"} {"message": "tungstenite::handshake::client:95:tungstenite::handshake::client - Client handshake done.", "level": "DEBUG", "pid": 764192, "job_id": "AJ_B2yLRKRhjp4p", "timestamp": "2024-09-25T03:01:21.665791+00:00"} {"message": "livekit::room:1028:livekit::room - unexpectedly disconnected from room: UnknownReason", "level": "ERROR", "pid": 764192, "job_id": "AJ_B2yLRKRhjp4p", "timestamp": "2024-09-25T03:03:19.234673+00:00"}

leejiliang avatar Sep 25 '24 03:09 leejiliang