crooked-dawn-90821
11/01/2025, 11:30 PMtall-airline-16756
11/01/2025, 11:30 PMtall-airline-16756
11/01/2025, 11:31 PMapiKey, apiSecret, wsURL) are correctly set. Sometimes missing or incorrect credentials can prevent the worker from registering properly and cause it to shut down.
• Worker Token: If you’re using a workerToken, make sure it matches your deployment setup, as it can lead to specific cloud-managed behaviors.
• Load Threshold: Take a look to ensure the worker’s internal load isn’t exceeding the configured loadThreshold, which is usually set to 0.7 in production.
• Health Checks: It’s also helpful to verify that the worker’s HTTP health check endpoint is accessible and returning a healthy status.
Going through these steps should help uncover what’s causing the shutdown. Please don’t hesitate to reach out if you’d like a hand with any of these checks—I’m here to help!
Sources: agents/src/worker.ts | Distributed Setup | LiveKit docs | livekit-protocol/src/livekit.rs | examples/voice_agents/session_close_callback.py