steep-balloon-41261
09/26/2022, 7:13 AMdry-elephant-14928
09/26/2022, 8:50 PMdry-elephant-14928
09/26/2022, 8:52 PMallow_tcp_fallback
in the config?sticky-monkey-57841
09/27/2022, 12:27 AMERROR
messages in the logs, other than JOIN_TINMEOUT
when this happens:
2022-09-25T11:45:23.841Z INFO livekit rtc/participant.go:710 closing participant {"room": "testroom", "roomID": "RM_2ZSSWuL74qxP", "participant": "publisher", "pID": "PA_HuUcwKmAZoFp", "remote": false, "sendLeave": true, "reason": "JOIN_TIMEOUT"}
we also notice a significant drop in the "online users" when this happens, we are currently at 1.2.0 and we don't have allow_tcp_fallback
in the configs, will add it and also upgrade to v12.1 and let you know how it goes, thanks again for your help!sticky-monkey-57841
09/27/2022, 5:49 AMallow_tcp_fallback
in the configs, unfortunately this didn't help to fix the intermittent problem, we still get could not connect after timeout
message frequently from the following and also the user activity in our app drops significantly when this happens, a restart of the livekit deployment fixes both. we already have debug
log enabled but surprisingly there are no errors/debug messages when this happens.
livekit-cli create-room --url <https://livekit.something.com> --api-key XXXXX—api-secret XXXXX --name restroom (<--works always)
livekit-cli join-room --url <https://livekit.something.com> --api-key XXXXX --api-secret XXXXX --room testroom --identity publisher --publish /tmp/livekit_audio.ogg (<--fails intermittently)
could not connect after timeout
dry-elephant-14928
09/27/2022, 5:54 AMsticky-monkey-57841
09/27/2022, 5:56 AMsticky-monkey-57841
09/27/2022, 12:35 PMsticky-monkey-57841
09/29/2022, 1:22 AMdry-elephant-14928
09/29/2022, 2:36 AMsticky-monkey-57841
09/29/2022, 2:50 AMsticky-monkey-57841
10/02/2022, 5:22 PM2022-09-29T05:21:05.419Z INFO livekit service/roommanager.go:254 starting RTC session {"room": "prasadtest3", "nodeID": "ND_yKNKtfJ8", "participant": "publisher", "sdk": "GO", "sdkVersion": "0.10.5", "protocol": 8}
2022-09-29T05:21:05.420Z INFO livekit rtc/room.go:287 new participant joined {"room": "prasadtest3", "roomID": "RM_hXm4jXmyAmqz", "pID": "PA_HdEcTCqpkDDY", "participant": "publisher", "protocol": 8, "options": {"AutoSubscribe":true}}
2022-09-29T05:21:05.421Z DEBUG livekit rtc/participant.go:1190 updating participant state {"room": "prasadtest3", "roomID": "RM_hXm4jXmyAmqz", "participant": "publisher", "pID": "PA_HdEcTCqpkDDY", "remote": false, "state": "JOINED"}
2022-09-29T05:21:05.421Z DEBUG livekit rtc/room.go:236 participant state changed {"room": "prasadtest3", "roomID": "RM_hXm4jXmyAmqz", "state": "JOINED", "participant": "publisher", "pID": "PA_HdEcTCqpkDDY", "oldState": "JOINING"}
2022-09-29T05:21:05.421Z DEBUG livekit rtc/participant.go:779 SetMigrateState {"room": "prasadtest3", "roomID": "RM_hXm4jXmyAmqz", "participant": "publisher", "pID": "PA_HdEcTCqpkDDY", "remote": false, "state": "MIGRATE_STATE_COMPLETE"}
2022-09-29T05:22:05.422Z INFO livekit rtc/room.go:393 closing participant for removal {"room": "prasadtest3", "roomID": "RM_hXm4jXmyAmqz", "pID": "PA_HdEcTCqpkDDY", "participant": "publisher"}
2022-09-29T05:22:05.422Z INFO livekit rtc/participant.go:640 try close participant {"room": "prasadtest3", "roomID": "RM_hXm4jXmyAmqz", "participant": "publisher", "pID": "PA_HdEcTCqpkDDY", "remote": false, "sendLeave": true, "reason": "JOIN_TIMEOUT"}
2022-09-29T05:22:05.422Z DEBUG livekit rtc/participant.go:1190 updating participant state {"room": "prasadtest3", "roomID": "RM_hXm4jXmyAmqz", "participant": "publisher", "pID": "PA_HdEcTCqpkDDY", "remote": false, "state": "DISCONNECTED"}
2022-09-29T05:22:05.423Z INFO livekit rtc/participant_signal.go:199 closing signal connection {"room": "prasadtest3", "roomID": "RM_hXm4jXmyAmqz", "participant": "publisher", "pID": "PA_HdEcTCqpkDDY", "remote": false}
2022-09-29T05:22:05.424Z INFO livekit service/roommanager.go:433 RTC session finishing {"participant": "publisher", "pID": "PA_HdEcTCqpkDDY", "room": "prasadtest3", "roomID": "RM_hXm4jXmyAmqz"}
2022-09-29T05:22:05.424Z INFO livekit rtc/transport.go:1292 leaving events processor {"room": "prasadtest3", "roomID": "RM_hXm4jXmyAmqz", "participant": "publisher", "pID": "PA_HdEcTCqpkDDY", "remote": false, "transport": "PUBLISHER"}
2022-09-29T05:22:05.424Z INFO livekit rtc/transport.go:486 peer connection state change {"room": "prasadtest3", "roomID": "RM_hXm4jXmyAmqz", "participant": "publisher", "pID": "PA_HdEcTCqpkDDY", "remote": false, "transport": "PUBLISHER", "state": "closed"}
2022-09-29T05:22:48.349Z INFO livekit rtc/room.go:546 closing room {"room": "prasadtest3", "roomID": "RM_hXm4jXmyAmqz"}
2022-09-29T05:22:48.350Z INFO livekit service/roommanager.go:107 deleting room state {"room": "prasadtest3"}
2022-09-29T05:22:48.350Z INFO livekit service/roommanager.go:401 room closed {"room": "prasadtest3", "roomID": "RM_hXm4jXmyAmqz"}
sticky-monkey-57841
10/04/2022, 3:10 PMdry-elephant-14928
10/05/2022, 7:26 AMsticky-monkey-57841
10/05/2022, 7:31 AMdry-elephant-14928
10/05/2022, 7:33 AM