gray-byte-58332
09/08/2025, 11:39 AMtall-airline-16756
09/08/2025, 11:39 AMtall-airline-16756
09/08/2025, 11:40 AMlivekit.myhost.com on port 443. This usually happens because of network or firewall settings. No worries—here are some friendly steps to help you get this sorted out:
• Firewall or Network Restrictions: Double-check that outbound traffic to livekit.myhost.com on TCP port 443 is allowed. If you're using LiveKit Cloud, make sure access to *.turn.livekit.cloud on TCP port 443 is also permitted.
• DNS Resolution: Make sure livekit.myhost.com is resolving to the right IP address (34.20.106.242).
• SSL/TLS Certificate: Confirm that your domain has a valid SSL certificate from a trusted authority—self-signed certificates won’t work here.
• Force TURN: If direct connections are being blocked, try setting your clients to use TURN relay only by configuring iceTransportPolicy: 'relay'.
• Connection Diagnostics: Give the LiveKit Connection Test Utility a try—it’s a handy way to pinpoint connectivity issues.
• Server Status: If you’re self-hosting, take a moment to check your server status and logs to make sure the LiveKit service is up and running smoothly.
If you’re still stuck, just let me know whether you’re using LiveKit Cloud or a self-hosted setup. That way, I can help you with the right troubleshooting steps tailored to your situation.
Sources: Firewall Tips | Diagnosing Connection Errors with Connection Test Utility | lib/src/core/signal_client.dart | Configuring firewalls | LiveKit Docs | Deploying LiveKit | LiveKit Docsgray-byte-58332
09/08/2025, 2:21 PMtall-airline-16756
09/08/2025, 2:21 PMcaddy.yaml configuration file. Here’s a simple way to get it done:
1. Prepare Your Certificate: Make sure you have your PEM-encoded public certificate (like your-cert.crt) and private key (like your-key.key) ready to go.
2. Update `caddy.yaml`: Change the config to turn off Let’s Encrypt and point to your certificate and key. Here’s an example:
apps:
http:
servers:
srv0:
listen:
- ":443"
routes:
- match:
- host:
- "livekit.yourdomain.com"
handle:
- handler: reverse_proxy
upstreams:
- dial: "localhost:7880"
tls:
certificates:
- certificate: /etc/caddy/certs/your-cert.crt
key: /etc/caddy/certs/your-key.key
1. Mount Certificate Files: Make sure your certificate and key files are mounted inside the Caddy container. Just update your docker-compose.yaml like this:
volumes:
- ./certs:/etc/caddy/certs
Pop your certificate and key into the ./certs folder. This way, Caddy will use your custom certificate to handle TLS.
If you hit any bumps or want me to walk you through it, just let me know—I’m here to help!
Sources: Running LiveKit on AWS | tools/server/README.md | livekit-server/templates/deployment.yaml | xtls/tls.go | provider/rfc2136/rfc2136_test.gogray-byte-58332
09/08/2025, 2:35 PMtall-airline-16756
09/08/2025, 2:36 PMgray-byte-58332
09/08/2025, 2:59 PM