great-hospital-63736
09/02/2025, 11:56 PMlk CLI and waiting a while, this usually solves the problem, though sometimes it still comes up here and there. Any ideas what may be going wrong? I linked logs from my LiveKit server deployment in Kubernetes as well as my voice agent deployment in Kubernetes, if those might be helpful.great-hospital-63736
09/03/2025, 12:31 AMnarrow-cricket-87449
09/03/2025, 5:06 AMnarrow-cricket-87449
09/03/2025, 5:07 AMgreat-hospital-63736
09/03/2025, 6:24 PMgreat-hospital-63736
09/03/2025, 6:25 PMgreat-hospital-63736
09/03/2025, 6:25 PMgreat-hospital-63736
09/03/2025, 6:31 PMnarrow-cricket-87449
09/03/2025, 6:44 PMnarrow-cricket-87449
09/03/2025, 6:44 PMnarrow-cricket-87449
09/03/2025, 6:45 PMnarrow-cricket-87449
09/03/2025, 6:45 PMnarrow-cricket-87449
09/03/2025, 6:46 PMnarrow-cricket-87449
09/03/2025, 6:47 PMnarrow-cricket-87449
09/03/2025, 6:48 PMnarrow-cricket-87449
09/03/2025, 6:49 PMnarrow-cricket-87449
09/03/2025, 6:50 PMgreat-hospital-63736
09/03/2025, 8:33 PMrules:
- host: livekit.<domain>
http:
paths:
- backend:
service:
name: istio-ingress
port:
number: 443
path: /*
pathType: ImplementationSpecific
- host: livekit-client.<domain>
http:
paths:
- backend:
service:
name: istio-ingress
port:
number: 443
path: /*
pathType: ImplementationSpecific
and then forwards to the right service with the virtual service:
spec:
gateways:
- istio-ingress/webapp-gateway
hosts:
- livekit.<domain>
- livekit-client.<domain>
http:
- match:
- headers:
host:
exact: livekit-client.<domain>
route:
- destination:
host: lk-react.default.svc.cluster.local
port:
number: 3000
- match:
- headers:
host:
exact: livekit.<domain>
route:
- destination:
host: livekit-server.default.svc.cluster.local
port:
number: 7880great-hospital-63736
09/03/2025, 8:35 PMWhen connecting to a livekit room, I sometimes ONLY see this log:, upon which the connections fails with a PeerConnection Timeout. But, when I waited a little and tried again, I got the expectedselected node for roomlog after thestarting RTC sessionone, which is expected. Explain in the code with code pointers why we may or may not see theselected node for roomlog:starting RTC session
```2025-09-03T184752.308001034Z 2025-09-03T184752.307Z INFO livekit service/roomallocator.go:166 selected node for room {"room": "room", "selectedNodeID": "ND_GfSccG8igzua"} │
│ 2025-09-03T184855.569056427Z 2025-09-03T184855.568Z INFO livekit service/roomallocator.go:166 selected node for room {"room": "room", "selectedNodeID": "ND_CVxSwq4zq6De"} │
│ 2025-09-03T184855.573279799Z 2025-09-03T184855.573Z INFO livekit service/roommanager.go:394 starting RTC session {"room": "room", "roomID": "RM_8wjANyUsqyZ3", "participant": "money-3", "pID": "PA_VorVa6NZFv6X", "remote": false, "roo │
│ m": "room", "nodeID": "ND_CVxSwq4zq6De", "numParticipants": 0, "participantInit": {"Identity": "money-3", "Reconnect": false, "ReconnectReason": "RR_UNKNOWN", "AutoSubscribe": true, "Client": {"sdk": "JS", "version": "1.3.0", "protocol": 8, "os": "Mac │
│ OS X", "osVersion": "10.15.7", "deviceModel": "Mac", "browser": "Chrome", "browserVersion": "139.0.0"}, "Grants": {"Identity": "", "Kind": "", "Video": {"RoomCreate": false, "RoomList": false, "RoomRecord": false, "RoomAdmin": false, "RoomJoin": true │
│ , "Room": "room", "CanPublish": "not-set", "CanSubscribe": "not-set", "CanPublishData": "not-set", "CanPublishSources": [], "CanUpdateOwnMetadata": "not-set", "IngressAdmin": false, "Hidden": false, "Recorder": false, "Agent": false, "CanSubscribeMetr │
│ ics": "not-set", "DestinationRoom": ""}, "SIP": {}, "RoomConfig": {}, "RoomPreset": ""}, "Region": "", "AdaptiveStream": true, "ID": "", "SubscriberAllowPause": "not-set", "DisableICELite": false, "CreateRoom": {"name": "room"}}}```@narrow-cricket-87449 let me know if it easier to set up a quick chat!
great-hospital-63736
09/03/2025, 8:35 PMnarrow-cricket-87449
09/05/2025, 9:52 AMgreat-hospital-63736
09/09/2025, 10:59 PM