helpful-lifeguard-86445
11/03/2025, 1:05 PMtall-airline-16756
11/03/2025, 1:05 PMtall-airline-16756
11/03/2025, 1:06 PMhelpful-lifeguard-86445
11/03/2025, 1:06 PMtall-airline-16756
11/03/2025, 1:07 PMhelpful-lifeguard-86445
11/03/2025, 1:10 PM2025-11-03 13:08:34.448Z 2025-11-03T13:08:34.448Z INFO livekit service/roommanager.go:945 created TURN password {"username": "T5mdZZVYEdFdENXafKIo4zpx0jOc0yoqoSOywao1EjGxm6tYOzsYgBGny7ocEiKiA", "password": "iBQ3pOaGlQClyRffL5evMV9hZbwfXiniSw7TbY1M9BxB"}
2025-11-03 13:08:49.657Z 2025-11-03T13:08:49.656Z INFO livekit rtc/participant.go:1097 participant closing {"room": "stginterview_477015cf-35a4-4a04-b4f3-c2f52b851035", "roomID": "RM_h3UCmSJyc9RU", "participant": "Utkarsh Srivastava [Candidate]", "pID": "PA_isDtWDaVYvnS", "remote": false, "sendLeave": false, "reason": "SIGNAL_SOURCE_CLOSE", "isExpectedToResume": false}
2025-11-03 13:08:49.657Z 2025-11-03T13:08:49.657Z INFO livekit rtc/room.go:717 removing participant without connection {"room": "stginterview_477015cf-35a4-4a04-b4f3-c2f52b851035", "roomID": "RM_h3UCmSJyc9RU", "participant": "Utkarsh Srivastava [Candidate]", "pID": "PA_isDtWDaVYvnS", "remote": false, "subscriberCandidates": ["[local][trickle] udp4 host 98.70.56.178:52290 (resolved: 98.70.56.178:52290)", "[local][trickle] tcp4 host 98.70.56.178:7881 (resolved: 98.70.56.178:7881)"], "connectionType": "unknown", "reason": "SIGNAL_SOURCE_CLOSE", "clientInfo": {"sdk": "JS", "version": "2.15.12", "protocol": 16, "os": "Linux", "deviceModel": "Other", "browser": "Chrome", "browserVersion": "134.0.0"}}
2025-11-03 13:08:49.978Z 2025-11-03T13:08:49.976Z INFO livekit service/roommanager.go:394 starting RTC session {"room": "stginterview_477015cf-35a4-4a04-b4f3-c2f52b851035", "roomID": "RM_h3UCmSJyc9RU", "participant": "Utkarsh Srivastava [Candidate]", "pID": "PA_wvCmf5G5JFeb", "remote": false, "room": "stginterview_477015cf-35a4-4a04-b4f3-c2f52b851035", "nodeID": "ND_7apTixUc8ZMw", "numParticipants": 2, "participantInit": {"Identity": "Utkarsh Srivastava [Candidate]", "Reconnect": false, "ReconnectReason": "RR_UNKNOWN", "AutoSubscribe": true, "Client": {"sdk": "JS", "version": "2.15.12", "protocol": 16, "os": "Linux", "deviceModel": "Other", "browser": "Chrome", "browserVersion": "134.0.0"}, "Grants": {"Identity": "", "Kind": "", "Video": {"RoomCreate": true, "RoomList": false, "RoomRecord": false, "RoomAdmin": false, "RoomJoin": true, "Room": "stginterview_477015cf-35a4-4a04-b4f3-c2f52b851035", "CanPublish": true, "CanSubscribe": true, "CanPublishData": true, "CanPublishSources": [], "CanUpdateOwnMetadata": "not-set", "IngressAdmin": false, "Hidden": false, "Recorder": false, "Agent": false, "CanSubscribeMetrics": "not-set", "DestinationRoom": ""}, "SIP": {}, "RoomConfig": {"departureTimeout": 900}, "RoomPreset": ""}, "Region": "southindia", "AdaptiveStream": false, "ID": "", "SubscriberAllowPause": "not-set", "DisableICELite": false, "CreateRoom": {"name": "stginterview_477015cf-35a4-4a04-b4f3-c2f52b851035", "departureTimeout": 900}}}tall-airline-16756
11/03/2025, 1:11 PMSIGNAL_SOURCE_CLOSE is telling us that the signaling connection was closed. This can happen for a few different reasons, such as:
• Network hiccups, like WebSocket errors or timeouts.
• Server-side closures, which might be due to room events or if a participant was removed.
• Authentication issues, like an expired or invalid token.
• Device or browser-specific quirks affecting WebRTC or WebSocket connections.
To help you troubleshoot this, here are some steps you might try:
• Take a closer look at the logs for more details, like close codes, reasons, or any error messages that came before this.
• Turn on debug logging in the SDK to get more detailed info about why the connection closed.
• Double-check that your network supports WebSocket traffic and that all necessary ports are open.
• Make sure your token is still valid and hasn’t expired.
If you’re able to share more details about the close event, like any error codes or specific reasons, I’d be happy to help you dig deeper and find the root cause.
Sources: Connecting to LiveKit | LiveKit docs | Events and error handling | LiveKit docs | livekit/src/rtc_engine/rtc_session.rs | .github/ISSUE_TEMPLATE/bug_report.yaml | livekit-android-sdk/src/main/java/io/livekit/android/room/SignalClient.kthelpful-lifeguard-86445
11/03/2025, 1:12 PMtall-airline-16756
11/03/2025, 1:12 PMhelpful-lifeguard-86445
11/03/2025, 1:13 PM5-11-03 13:11:59.473Z github.com/pion/webrtc/v4.(*PeerConnection).undeclaredRTPMediaProcessor.func1
2025-11-03 13:11:59.473Z /go/pkg/mod/github.com/pion/webrtc/v4@v4.1.1/peerconnection.go:1914
2025-11-03 13:12:03.514Z 2025-11-03T13:12:03.513Z INFO livekit.api service/twirp.go:128 API RoomService.ListParticipants {"service": "RoomService", "method": "ListParticipants", "room": "stginterview_a0d0cfe7-3bba-46de-ba82-61d26bb32f77", "duration": "20.626219ms", "status": "200"}
2025-11-03 13:12:03.622Z 2025-11-03T13:12:03.621Z INFO livekit service/roommanager.go:743 removing participant {"room": "stginterview_a0d0cfe7-3bba-46de-ba82-61d26bb32f77", "roomID": "RM_6C6X9VLY4aXT", "participant": "EG_X5DzGekixDtu", "pID": "PA_oN3tfWirdJap", "remote": false}
2025-11-03 13:12:03.622Z 2025-11-03T13:12:03.621Z INFO livekit rtc/participant.go:1097 participant closing {"room": "stginterview_a0d0cfe7-3bba-46de-ba82-61d26bb32f77", "roomID": "RM_6C6X9VLY4aXT", "participant": "EG_X5DzGekixDtu", "pID": "PA_oN3tfWirdJap", "remote": false, "sendLeave": true, "reason": "SERVICE_REQUEST_REMOVE_PARTICIPANT", "isExpectedToResume": false}
2025-11-03 13:12:03.661Z 2025-11-03T13:12:03.661Z INFO livekit.api service/twirp.go:128 API RoomService.RemoveParticipant {"service": "RoomService", "method": "RemoveParticipant", "room": "stginterview_a0d0cfe7-3bba-46de-ba82-61d26bb32f77", "participant": "EG_X5DzGekixDtu", "duration": "145.747691ms", "status": "200"}
2025-11-03 13:12:03.876Z 2025-11-03T13:12:03.876Z INFO livekit.room service/roommanager.go:814 deleting room {"room": "stginterview_a0d0cfe7-3bba-46de-ba82-61d26bb32f77", "roomID": "RM_6C6X9VLY4aXT"}
2025-11-03 13:12:03.876Z 2025-11-03T13:12:03.876Z INFO livekit.room rtc/room.go:937 closing room {"room": "stginterview_a0d0cfe7-3bba-46de-ba82-61d26bb32f77", "roomID": "RM_6C6X9VLY4aXT"}
2025-11-03 13:12:03.876Z 2025-11-03T13:12:03.876Z INFO livekit rtc/participant.go:1097 participant closing {"room": "stginterview_a0d0cfe7-3bba-46de-ba82-61d26bb32f77", "roomID": "RM_6C6X9VLY4aXT", "participant": "agent-AJ_C29MsTJBVRuE", "pID": "PA_s8zhSUXvTs6J", "remote": false, "sendLeave": true, "reason": "SERVICE_REQUEST_DELETE_ROOM", "isExpectedToResume": false}
2025-11-03 13:12:03.926Z 2025-11-03T13:12:03.926Z INFO livekit service/roommanager.go:175 deleting room state {"room": "stginterview_a0d0cfe7-3bba-46de-ba82-61d26bb32f77"}
2025-11-03 13:12:03.974Z 2025-11-03T13:12:03.974Z INFO livekit.room service/roommanager.go:624 room closed {"room": "stginterview_a0d0cfe7-3bba-46de-ba82-61d26bb32f77", "roomID": "RM_6C6X9VLY4aXT"}
2025-11-03 13:12:03.978Z 2025-11-03T13:12:03.978Z INFO livekit.agents agent/worker.go:514 job ended {"workerID": "AW_XAdoqrRmKEyY", "agentName": "", "jobType": "JT_ROOM", "jobID": "AJ_C29MsTJBVRuE", "status": "JS_FAILED", "error": "agent worker left the room"}
2025-11-03 13:12:04.023Z 2025-11-03T13:12:04.023Z INFO livekit.api service/twirp.go:128 API RoomService.DeleteRoom {"service": "RoomService", "method": "DeleteRoom", "room": "stginterview_a0d0cfe7-3bba-46de-ba82-61d26bb32f77", "duration": "359.827962ms", "status": "200"}
2025-11-03 13:12:04.328Z 2025-11-03T13:12:04.328Z INFO livekit service/ioservice.go:159 received egress metrics {"egressID": "EG_X5DzGekixDtu", "avgCpu": 0.649876, "maxCpu": 0.84528303}tall-airline-16756
11/03/2025, 1:14 PMRemoveParticipant API.
• SERVICE_REQUEST_DELETE_ROOM: This means the whole room was deleted using the DeleteRoom API, which disconnected everyone.
If these actions weren’t expected, it might be helpful to check any automated processes or API calls that could be causing these requests. Please feel free to reach out if you’d like me to help you look into this further—I’m here to support you!
Sources: pkg/service/roomservice.go | Managing rooms | LiveKit docs