Hi team, we’ve run into an issue with our self-hos...
# agents
a
Hi team, we’ve run into an issue with our self-hosted agents not reconnecting, which only happened for the first time today after about a year of stable production use. We are currently running livekit-agents@1.4.3. {"message": "unexpected message type: 258", "level": "WARNING", "name": "livekit.agents", "timestamp": "2026-03-09T201346.949336+00:00"} {"message": "failed to connect to livekit, retrying in 0s", "level": "WARNING", "name": "livekit.agents", "exc_info": "Traceback (most recent call last):\n File \"/home/appuser/.local/lib/python3.13/site-packages/livekit/agents/worker.py\", line 1020, in _connection_task\n await self._run_ws(ws)\n File \"/home/appuser/.local/lib/python3.13/site-packages/livekit/agents/worker.py\", line 1102, in _run_ws\n await asyncio.gather(*tasks)\n File \"/home/appuser/.local/lib/python3.13/site-packages/livekit/agents/worker.py\", line 1074, in _recv_task\n raise Exception(\"worker connection closed unexpectedly\")\nException: worker connection closed unexpectedly", "timestamp": "2026-03-09T201346.949996+00:00"} {"message": "registered worker", "level": "INFO", "name": "livekit.agents", "agent_name": "inbound-agent", "id": "AW_pVqtqnhmpMgo", "url": "wss://dentalflo-ai-f2xvr1oj.livekit.cloud", "region": "Singapore South East", "protocol": 16, "timestamp": "2026-03-09T201347.139910+00:00"} {"message": "unexpected message type: 258", "level": "WARNING", "name": "livekit.agents", "timestamp": "2026-03-09T201703.950982+00:00"} {"message": "failed to connect to livekit, retrying in 0s", "level": "WARNING", "name": "livekit.agents", "exc_info": "Traceback (most recent call last):\n File \"/home/appuser/.local/lib/python3.13/site-packages/livekit/agents/worker.py\", line 1020, in _connection_task\n await self._run_ws(ws)\n File \"/home/appuser/.local/lib/python3.13/site-packages/livekit/agents/worker.py\", line 1102, in _run_ws\n await asyncio.gather(*tasks)\n File \"/home/appuser/.local/lib/python3.13/site-packages/livekit/agents/worker.py\", line 1074, in _recv_task\n raise Exception(\"worker connection closed unexpectedly\")\nException: worker connection closed unexpectedly", "timestamp": "2026-03-09T201703.951278+00:00"}
t
Hi Rod Barien, ⚠️ This channel will be deleted soon ⚠️ Please use our new community at https://community.livekit.io for technical discussions and to post technical questions. The Slack community is not going away, but we are migrating technical questions to our new forum. Please see full details here.