Livekit was working fine until 2 hours ago. Then out of the blue, around 2PM IST livekit started throwing this error when i try to connect to a room. The room connection was not established within 10 seconds after calling job_entry. This might mean that job_ctx.connect() was never invoked, or that no AgentSession with an active
RoomIO has been started.
It is not an error in my code, since i rolled back to previous commits and tested those too, they too stopped working. Here are some logs which might help diagnose the situation.
uv run bot.py dev
16:22:06.303 DEBUG asyncio Using proactor: IocpProactor
16:22:06.308 DEV livekit.agents Watching C:\Aryan\Work\Chatbot\Testing\livekit-voice-agent
16:22:11.573 DEBUG asyncio Using proactor: IocpProactor
16:22:11.592 INFO livekit.agents starting worker {“version”: “1.3.11”, “rtc-version”: “1.0.23”}
16:22:11.597 INFO livekit.agents HTTP server listening on :52590
16:22:13.476 INFO livekit.agents registered worker {“agent_name”: “”, “id”: “AW_SV7yR29JJ5RS”, “url”: “wss://censored”, “region”: “India South”, “protocol”: 17}
16:22:26.147 INFO livekit.agents received job request
{“job_id”: “AJ_NdRuzT5Xryqf”, “dispatch_id”: “AD_ANiYTKi7F6nM”, “room”: “room-tk8la9tn”, “room_id”: “RM_uCtfRrH9wYvT”, “agent_name”: “”, “resuming”: false, “enable_recording”: false}
16:22:26.182 DEBUG livekit.agents received assignment
{“agent_name”: “”, “room_id”: “RM_uCtfRrH9wYvT”, “room”: “room-tk8la9tn”, “job_id”: “AJ_NdRuzT5Xryqf”, “dispatch_id”: “AD_ANiYTKi7F6nM”, “enable_recording”: false}
16:22:26.189 INFO livekit.agents initializing job runner {“tid”: 10132}
DEBUG asyncio Using proactor: IocpProactor
INFO livekit.agents job runner initialized {“tid”: 10132, “elapsed_time”: 0.0}
16:22:36.190 WARNI… livekit.agents The room connection was not established within 10 seconds after calling job_entry. This might mean that job_ctx.connect() was never invoked, or that no AgentSession with an active
RoomIO has been started.
16:22:47.618 INFO livekit.agents shutting down worker {“id”: “AW_SV7yR29JJ5RS”}
16:22:47.620 DEBUG livekit.agents shutting down job task {“reason”: “”, “user_initiated”: false}
16:22:47.621 DEBUG livekit.agents http_session(): closing the httpclient ctx
16:22:47.622 DEBUG livekit.agents http_session(): creating a new httpclient ctx
16:22:47.623 DEBUG livekit.agents job exiting {“reason”: “”, “tid”: 10132, “job_id”: “AJ_NdRuzT5Xryqf”, “room_id”: “RM_uCtfRrH9wYvT”}