This message was deleted.
# ask-ai
s
This message was deleted.
t
Thanks for reaching out, L. I'm an AI assistant and I'm here to help. Give me a moment while I research this topic.
Hey there! The error "ERR unknown subcommand 'ingress'" usually means that the
lk
CLI isn’t recognizing the
ingress
command. No worries though — here are some friendly steps to help you troubleshoot: 1. Verify CLI Version: First, double-check that your
livekit-cli
is up to date by running
lk --version
. If it’s an older version, you might want to update or reinstall the CLI since the
ingress
subcommand might not be included yet. 2. Check Helm Deployment: Make sure the Ingress Helm chart is properly deployed on your EKS cluster. Your Helm values file should have the right settings for ingress — like enabling it and setting base URLs. Then, deploy the chart with:
helm install ingress livekit/ingress --namespace livekit --values values.yaml
3. Validate Redis Configuration: It’s important that both
livekit-server
and
livekit-ingress
are using the same Redis instance (v7.1) with the correct credentials and addresses. 4. Check Ingress Service Status: You can use
kubectl
to see if the Ingress pods are up and running smoothly:
kubectl get pods -n livekit
Also, double-check that the Ingress service is properly connected to Redis and managing ingress sessions as expected. 5. Run CLI Help: Try running
lk help
to see if
ingress
shows up in the list of commands. If it’s missing, that’s a clear sign there’s a CLI issue. If you run into any bumps or want a hand with these steps, just let me know — I’m here to help! Sources: cmd/server/main.go | autocomplete/fish_autocomplete | Kubernetes & Helm Charts | livekit/livekit_composite | DeepWiki | Self-hosting the Ingress Service | LiveKit Docs
It looks like the error is telling us that the
livekit-server
itself doesn’t handle the
ingress
subcommand. Instead, managing Ingress is done through the
livekit-cli
or by making API calls to the Ingress service, which needs to be deployed and set up separately. No worries though—here’s a friendly step-by-step to help you sort this out: 1. Double-check Ingress Service Deployment: Make sure the Ingress service is up and running with the right configuration. You’ll need a YAML file including fields like
api_key
,
api_secret
,
ws_url
, and Redis connection info. You can deploy it using Docker, Helm, or directly on your system. 2. Review Your LiveKit Server Configuration: Take a look at your
livekit-server
setup to confirm it has an
ingress
section with
rtmp_base_url
and
whip_base_url
properly defined. 3. Check Connectivity: Make sure both the Ingress service and LiveKit server are using the same Redis instance and can talk to each other over the necessary ports (like 1935 for RTMP and 8080 for WHIP). 4. Look at the Logs: Peek into the logs for both the LiveKit server and Ingress service. They often give clues if something’s missing, if there’s an authentication hiccup, or if resources are tight. 5. Manage Ingress with the CLI: Use the
livekit-cli
to handle your Ingress resources. For example, creating an Ingress looks like this:
livekit-cli ingress create [OPTIONS] JSON
If you’re still stuck after this, feel free to share the exact error logs from both the server and Ingress service, along with your configuration details (just make sure to hide any sensitive info). That way, we can dig in together and find what’s going on! Sources: Deploy to a VM | LiveKit Docs | Community & Support | livekit/livekit_composite | DeepWiki | pkg/service/ingress.go | autocomplete/fish_autocomplete | Self-hosting the Ingress Service | LiveKit Docs
Hey there! The "Failed to handshake" error from the Ingress server usually means there’s a hiccup with the RTMP handshake process, which is key for setting up a connection. This often comes down to configuration or network issues. Let’s walk through some steps to help you troubleshoot: 1. Verify RTMP Configuration: Double-check that the
rtmp_base_url
in your LiveKit server setup matches the expected RTMP URL format and that it’s reachable from the Ingress service. 2. Check Network Connectivity: Make sure the necessary ports (like 1935 for RTMP) are open and can communicate between the Ingress service and the LiveKit server. 3. Inspect Logs for Details: Take a look at the Ingress service logs for any extra error messages—they might give us more clues about what’s causing the handshake to fail. 4. Validate GStreamer Installation: If you’re using GStreamer for media processing, confirm it’s properly installed and configured on the Ingress server. Sometimes missing or incompatible plugins can trip up the handshake. 5. Test RTMP Input: Try using a tool like FFmpeg to test streaming to the Ingress service. For example: `ffmpeg -re -i input.mp4 -c:v libx264 -f flv rtmp://your-ingress-url`If this doesn’t work, it’s a good sign there’s an issue with the RTMP setup. If you’re still running into trouble, feel free to share the full logs from the Ingress service along with details about your RTMP configuration. I’m here to help figure out what’s going on!