millions-dog-30135
11/25/2025, 5:57 PMtall-airline-16756
11/25/2025, 5:57 PMtall-airline-16756
11/25/2025, 5:57 PMmillions-dog-30135
11/25/2025, 5:58 PMRoomIO -> AgentSession -> TranscriptSynchronizer -> RoomIO
DEBUG livekit.agents using transcript io: AgentSession -> TranscriptSynchronizer -> RoomIO
DEBUG livekit.agents start reading stream {"participant": "sip_18052225602", "source": "SOURCE_MICROPHONE"}
DEBUG livekit.agents input stream detached {"participant": "sip_18052225602", "source": "SOURCE_MICROPHONE", "accepted_sources": ["SOURCE_MICROPHONE"]}
DEBUG livekit.agents stream closed {"participant": "sip_18052225602", "source": "SOURCE_MICROPHONE"}
DEBUG livekit.agents session closed {"reason": "error", "error": "type='stt_error' timestamp=1764093130.9058545 label='livekit.agents.inference.stt.STT'
error=WSServerHandshakeError(RequestInfo(url=URL('wss://agent-gateway.livekit.cloud/v1/stt'), method='GET', headers=<CIMultiDictProxy('Host':
'agent-gateway.livekit.cloud', 'Authorization': 'Bearer
eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpbmZlcmVuY2UiOnsicGVyZm9ybSI6dHJ1ZX0sInN1YiI6ImFnZW50IiwiaXNzIjoiQVBJUWdyeVhhSmdScWlkIiwibmJmIjoxNzY0MDkzMTMwLCJleHAiOjE3NjQwO…
'Upgrade': 'websocket', 'Connection': 'Upgrade', 'Sec-WebSocket-Version': '13', 'Sec-WebSocket-Key': 'P0RHfWEHytnLJlIDE6n89w==', 'Accept': '*/*', 'Accept-Encoding':
'gzip, deflate', 'User-Agent': 'Python/3.11 aiohttp/3.13.2')>, real_url=URL('wss://agent-gateway.livekit.cloud/v1/stt')), (), status=429, message='Invalid response
status', headers=<CIMultiDictProxy('Content-Length': '208', 'Content-Type': 'text/plain; charset=utf-8', 'Date': 'Tue, 25 Nov 2025 175210 GMT')>) recoverable=False"}tall-airline-16756
11/25/2025, 5:58 PMstt_error and a WSServerHandshakeError status=429.
What you can do next
• Reduce concurrent STT connections (Build plan is limited to 5 concurrent STT connections). Close/reuse sessions or queue new STT starts so you don’t exceed concurrency.
• Add retry/backoff when creating AgentSession STT connections (exponential backoff) so new attempts don’t hammer the gateway.
• Verify you aren’t unintentionally opening duplicate STT connections per participant.
• If you need more concurrency, upgrade your LiveKit Cloud plan to increase STT limits.
Quick diagnostic help I can provide
• Tell me your project ID and approximate concurrent agent/STT connections right now, or
• Share how you create AgentSession/STT connections in your code (small snippet) so I can point out where to add reuse/queueing or retries.
Would you like an example retry/backoff snippet for your SDK (Python or another)?
Sources: Events and error handling | LiveKit docs | Quotas and limits | LiveKit docs | Firewall Tips | Still Have Questions