in self hosting using kubernetes here <https://doc...
# ask-ai
p
in self hosting using kubernetes here https://docs.livekit.io/home/self-hosting/kubernetes/ does this include the sip server? if not how to add it
t
Thanks for reaching out, Yasser. I'm an AI assistant and I'm here to help. Give me a moment while I research this topic.
Just a heads-up: the LiveKit self-hosting Kubernetes guide doesn’t cover setting up the SIP server since it’s a separate service that you'll need to deploy on its own. Here’s a quick rundown of what you’ll want to do to add the SIP server to your Kubernetes setup: 1. Create Kubernetes manifests for the SIP server. This includes a Deployment using the
livekit/sip
container image, a ConfigMap for your configuration, a Service to expose the SIP ports (5060 for signaling, and 10000-20000 for RTP), and a NetworkPolicy to handle networking. 2. Make sure the SIP server connects to the same Redis instance as your LiveKit server. 3. Take care of the SIP server’s networking needs, like host networking and managing the wide range of RTP ports (10000-20000). If you’d like a hand with tweaking the configuration or putting together those Kubernetes manifests, just let me know—I’m here to help! Sources: SIP overview | LiveKit Docs | Self-hosted SIP server | LiveKit Docs | test/integration/sip_test.go | Self-hosted SIP server | LiveKit Docs
p
i have issue with establishing the call with the voice agent using livekit the agent logo enters the room but it keep showing connecting until the disconnected appear and the call ended livekit server: self hosting to kubernetes google GKE the agent and the livekit server are in one cluster here is all the needed info find what cause this issue if you have further question before start answering feel free to ask look on github livekit documentation reddit and so on my agent uses
livekit-agents==0.12.17
with
livekit-api==0.8.2
, but my livekit server is version
1.8.3
. could this do a mismatch that can cause protocol incompatibilities.?
t
It looks like there’s a version mismatch between
livekit-agents==0.12.17
,
livekit-api==0.8.2
, and
livekit-server==1.8.3
, which might cause some protocol hiccups. LiveKit uses protocol versioning to keep things running smoothly, but when versions are quite different, it can lead to connection or feature negotiation troubles. Here are a few friendly steps you can try to sort this out: 1. Test Connection Establishment: Try connecting your specific versions in a development setup to see how they interact. 2. Monitor Protocol Negotiation: Keep an eye out for any protocol-related error messages when you’re trying to connect—these can be a clue that versions aren’t lining up. 3. Check Agent Logs: Take a look at your agent logs for errors about unsupported features or protocol mismatches. 4. Consider Version Alignment: If things still aren’t working right, updating your agent and API versions to be closer to your server version often helps. If you can share any specific error messages or logs from your connection attempts, I’d be happy to help you dig deeper and find a solution together. Sources: Protocol & WebRTC | livekit/livekit_composite | DeepWiki | CHANGELOG.md | package-lock.json | livekit/livekit_cloud_agent.twirp.go | Protocol & WebRTC | livekit/livekit_composite | DeepWiki
p
could the versions mismatch cause the below errors?
t
Hey, could you please share the specific error messages or logs you’re seeing? That way, I can better understand if it’s a version mismatch causing the trouble or something else going on. I’m here to help!
p
there is this error failed to send job request
t
Hey there! That "failed to send job request" error pops up when the LiveKit server can’t send a job request to an agent worker through RPC, usually during job launch or termination. No worries though—here are some common reasons why this might happen and how you can fix them: 1. Worker Unavailability: Double-check that your agent workers are up and running, properly registered, and connected to the LiveKit server. 2. Network Connectivity Issues: Make sure your network is all good, firewall rules aren’t blocking anything, and the workers can chat with the server smoothly. 3. Worker Overload: If your workers are swamped, try adding more agents and keep an eye on their workload. 4. Configuration Issues: Take a peek at your settings to confirm that agent workers are registered with the right job types, names, and namespaces. If you want to dig deeper, checking the logs can really help (look out for things like namespace, job type, agent name), along with verifying worker status and network setup. Feel free to reach out if you want a hand with any of these steps—I’m here to help! Sources: pkg/agent/client.go | LiveKit Agents | protobufs/livekit_agent.proto