kind-sunset-1403
07/15/2025, 10:26 AMtall-airline-16756
07/15/2025, 10:26 AMtall-airline-16756
07/15/2025, 10:27 AMport
parameter in your WorkerOptions
configuration. The default is 8081
.
• LiveKit Ingress Service: Set the health_port
field in your YAML configuration or Helm chart values. Example: health_port: 7888
.
• LiveKit Egress Service: Set the health_port
field in your configuration. Example: health_port: 8080
.
• LiveKit SIP Service: Set the health_port
field in your configuration. Example: health_port: 8080
.
The health check endpoint will be available at http://0.0.0.0:<your_port>/ after you update the configuration. Sources: pkg/config/service.go | pkg/config/config.go | Deployment and scaling | LiveKit Docs | livekit-agents/livekit/agents/worker.py | Deploying to production | LiveKit Docskind-sunset-1403
07/15/2025, 10:42 AMtall-airline-16756
07/15/2025, 10:44 AMwsURL
, apiKey
, and apiSecret
all set up correctly? If you're using explicit dispatch, give your worker type and agent name a quick once-over.
3. Monitor worker availability: Sometimes workers get a bit overwhelmed. If your worker's load goes beyond the load_threshold
, it might take a break from receiving jobs. No worries - just check your load_fnc
and load_threshold
settings.
4. Review retry logic: Don't stress if connections get a bit wonky. Your worker will try to reconnect multiple times if things don't go smoothly. Keep an eye out for any repeated connection hiccups in the logs.
5. Check job distribution: Think of job distribution like a friendly game of pass-the-parcel. The server uses round-robin, so if a worker doesn't grab a job in time, it gets passed along. Peek at the server logs to see if there are any assignment quirks.
6. Troubleshoot:
◦ Scan worker logs for any error messages or timeouts
◦ Make sure your network is playing nice with the LiveKit server
◦ Keep an eye on your worker's load status
◦ Take a look at server-side logs for any job distribution mysteries
◦ Try out the simulate_job
method to confirm job reception
If you're still scratching your head after these steps, we might need to dive a bit deeper into the server configuration and network setup. Don't worry - we'll get to the bottom of this together! Sources: Deploying to production | LiveKit Docs | README.md | livekit-agents/livekit/agents/worker.py | Deployment and scaling | LiveKit Docs