Hii, we have deployed the livekit onprem version a...
# self-hosting
l
Hii, we have deployed the livekit onprem version and locally i have voice agent and deployed the livekit with a domain, when i try to use this url im getting websocket connection error. and also the route is going for /agent but when we use livekit cloud version its working and not going for /agent we need help on this
Copy code
{
  "message": "failed to connect to livekit, retrying in 4s",
  "level": "WARNING",
  "name": "livekit.agents",
  "exc_info": "Traceback (most recent call last):\n  File \"C:\\Users\\Sahil Dutta 2\\Desktop\\axl\\axlai-voice-livekit\\venv\\Lib\\site-packages\\livekit\\agents\\worker.py\", line 649, in _connection_task\n    ws = await self._http_session.ws_connect(\n         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n  File \"C:\\Users\\Sahil Dutta 2\\Desktop\\axl\\axlai-voice-livekit\\venv\\Lib\\site-packages\\aiohttp\\client.py\", line 1084, in _ws_connect\n    raise WSServerHandshakeError(\naiohttp.client_exceptions.WSServerHandshakeError: 404, message='Invalid response status', url='wss://<domain>/agent'",
  "timestamp": "2025-09-05T05:19:25.009235+00:00"
}
its on kubernetes FYI