Hi everyone. my python agent is showing this warni...
# agents
p
Hi everyone. my python agent is showing this warning:
Copy code
{"message": "received job request", "level": "INFO", "name": "livekit.agents", "job_id": "AJ_oExLEFj5zyNb", "dispatch_id": "AD_RUvZN8iAeHr5", "room_name": "outbound-4381961527-be66b44ccdcb171e", "agent_name": "agent1", "resuming": false, "timestamp": "2025-08-27T03:09:41.933829+00:00"}
{"message": "assignment for job AJ_oExLEFj5zyNb timed out", "level": "WARNING", "name": "livekit.agents", "job_request": "<livekit.agents.job.JobRequest object at 0x7c24c8710e20>", "agent_name": "agent1", "timestamp": "2025-08-27T03:09:49.534063+00:00"}
It looks like the agent received the job but after a while it timed out. Does this usually come from the LiveKit server side, or is it an issue with the Python agent not handling the job properly?
r
This would be an issued in the Agent
Do you have some calls blocking the main thread?
p
I don’t think I have any blocking calls in the agent (at least as far as I know), but I’m still seeing some jobs time out when running with 10 concurrent calls(telephony) Could this be caused by something other than blocking calls? What are the possible reasons an agent job assignment might time out? I might need to re-review my code again, but I’d appreciate any guidance on what else I should be looking into.
r
What version of livekit are you using?
pip freeze |grep livekit
What are the possible reasons an agent job assignment might time out
Not creating your agent and connecting to room in a timely manner after
entrypoint
is called.
p
Thanks for getting back, and sorry for the delay in reply Here’s my pip freeze output:
Copy code
# pip freeze |grep livekit
livekit==1.0.12
livekit-agents==1.2.7
livekit-api==1.0.5
livekit-blingfire==1.0.0
livekit-plugins-anthropic==1.2.7
livekit-plugins-azure==1.2.7
livekit-plugins-cartesia==1.2.7
livekit-plugins-elevenlabs==1.2.7
livekit-plugins-gladia==1.2.7
livekit-plugins-google==1.2.7
livekit-plugins-groq==1.2.7
livekit-plugins-noise-cancellation==0.2.5
livekit-plugins-openai==1.2.7
livekit-plugins-silero==1.2.7
livekit-plugins-turn-detector==1.2.7
livekit-protocol==1.0.5
Appreciate the clarification — maybe i should double check how quickly my agent is being created. I’ll review the flow in my code.
r
We had to pull 1.2.7 due to some issues. Use 1.2.6 instead
👀 1
p
thanks 🙏 ill test in 1.2.6 Will update here if I still run into the timeout issue.