purple-football-37316
10/18/2025, 12:35 AM2025-10-17 17:27:01,152 - WARNING livekit.agents - failed to connect to livekit, retrying in 10s
Traceback (most recent call last):
File "/Users/haoyu/Workspace/livekit-examples/python-agents-examples/venv/lib/python3.13/site-packages/livekit/agents/worker.py", line 656, in _connection_task
ws = await self._http_session.ws_connect(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
...<6 lines>...
)
^
File "/Users/haoyu/Workspace/livekit-examples/python-agents-examples/venv/lib/python3.13/site-packages/aiohttp/client.py", line 1100, in _ws_connect
raise WSServerHandshakeError(
...<5 lines>...
)
aiohttp.client_exceptions.WSServerHandshakeError: 401, message='Invalid response status', url='wss://test-n96ch9qz.livekit.cloud/agent'