I received some messages of "draining worker", "sh...
# agents
h
I received some messages of "draining worker", "shutting down worker" hosted on Render. I did a few re-deploy and revert code. But my LiveKit agent cannot be triggered by participate join and create room again, although the agent (in the reverted code) shows it is successfully registered. Any idea on how to solve it?
Copy code
{"message": "draining worker", "level": "INFO", "name": "livekit.agents", "id": "AW_G6VkN4yP8E49", "timeout": 1800, "timestamp": "2025-08-01T12:37:07.177308+00:00"}
{"message": "shutting down worker", "level": "INFO", "name": "livekit.agents", "id": "AW_G6VkN4yP8E49", "timestamp": "2025-08-01T12:37:07.177802+00:00"}
Also received this warning
Copy code
{
  "message": "livekit::rtc_engine:453:livekit::rtc_engine - received session close: \"signal client closed: \\\"stream closed\\\"\" UnknownReason Resume",
  "level": "WARNING",
  "name": "livekit",
  "pid": 56,
  "job_id": "AJ_RmwHN7kHXvxa",
  "timestamp": "2025-08-01T14:57:29.490016+00:00"
}
j
Are you using the same room name for the new connections? Maybe try a random new room name every time.
h
Yes, I do use the same room name for new connection. Curious that will cause the problem? because I do find if I use another org account in my web app front app to connect LiveKit and works!
Another org basically using different LiveKit room name.
Thanks very much for pointing me to the right angle! I haven't though about this before!
It has troubled me for a whole day...
j
the same room name won’t be dispatched next time automatically, at least not for a while, I am not sure what’s the reason tho
h
Thanks!! Glad that at least i know the reason. Thanks very much!