early-restaurant-74591
09/18/2025, 11:13 PMtall-airline-16756
09/18/2025, 11:13 PMtall-airline-16756
09/18/2025, 11:13 PMearly-restaurant-74591
09/18/2025, 11:15 PM2025-09-18T06:32:31.619Z INFO egress redis/redis.go:142 connecting to redis {"nodeID": "NE_N9AxAUPksUmk", "clusterID": "", "simple": true, "addr": "<http://listenful-redis-o4efwf.serverless.usw2.cache.amazonaws.com:6379|listenful-redis-o4efwf.serverless.usw2.cache.amazonaws.com:6379>"}
livekit-egress
September 17, 2025, 23:32
I: [pulseaudio] main.c: Daemon startup successful.
livekit-egress
September 17, 2025, 23:32
+ exec /tini -- egress
livekit-egress
September 17, 2025, 23:32
+ pulseaudio -D --verbose --exit-idle-time=-1 --disallow-exit
livekit-egress
September 17, 2025, 23:32
+ rm -rf /var/run/pulse /var/lib/pulse /home/egress/.config/pulse /home/egress/.cache/xdgr/pulse
livekit-egress
September 17, 2025, 23:32
+ rm -rf '/home/egress/tmp/*'tall-airline-16756
09/18/2025, 11:16 PMdebug under the logging section, and you'll start capturing more detailed logs.
There are also some helpful debug features you might consider enabling:
• Track Logging: This logs packets and keyframes for each track, giving you a closer look at the data flow.
• Stream Logging: Logs bytes and keyframes for each stream, which can be really useful for troubleshooting.
• Chrome Logging: Captures all Chrome console events, providing a thorough view of browser interactions.
If you're working with Docker, you can check the logs using docker logs <container_id>. And for Kubernetes, just run kubectl logs <pod_name> to see the logs from your egress service pod.
I'd be happy to walk you through modifying the configuration file or help you enable any of these debug features—just let me know what you'd prefer!
Sources: .github/ISSUE_TEMPLATE/bug_report.md | egress-sample.yamlearly-restaurant-74591
09/18/2025, 11:23 PMNE_N9AxAUPksUmk
• ✅ LiveKit server: Making API calls, creating egress jobs
• ❌ Gap: 22-second timeout, "no response from servers"
help!tall-airline-16756
09/18/2025, 11:24 PMearly-restaurant-74591
09/18/2025, 11:54 PMredis_mode:cluster), but the egress service configuration treats it as a single Redis instance.Evidence:
• Manual Redis CLI connections work fine
• Egress service shows "service ready" but no registration logs
• Redis INFO shows redis_mode:cluster
• Current egress config has standard single-instance Redis settings
Question for LiveKit:
"Our LiveKit egress service can't connect to AWS ElastiCache Serverless Redis. We discovered the Redis instance is running in cluster mode (
redis_mode:cluster). Our current egress configuration uses standard single-instance Redis settings:redis:
address: hostname:6379
db: 0
tls:
enabled: true
insecure: true
Does LiveKit egress support Redis clusters? If so, what configuration changes are needed? If not, do we need to switch to a single-instance Redis setup instead of ElastiCache Serverless?"tall-airline-16756
09/18/2025, 11:55 PMredis:
cluster_addresses:
- your-redis-node-0:6379
- your-redis-node-1:6380
password: your-cluster-password
Here are a few important things to keep in mind:
• Swap out the address field for cluster_addresses and include all your cluster node addresses.
• The db field isn’t supported in cluster mode, so it will be ignored.
• Make sure your LiveKit egress version is 1.3.2 or newer to take advantage of cluster support.
If you'd like, I’m here to help you walk through applying these changes or double-check your setup. Just let me know!
Sources: CHANGELOG.md | Distributed Setup | LiveKit Docs | Universal Egressearly-restaurant-74591
09/18/2025, 11:59 PMtall-airline-16756
09/19/2025, 12:00 AMcluster_addresses for Redis cluster mode should do the trick. Once that’s updated, the egress service should connect smoothly to Redis, register itself, and handle requests from the LiveKit server without any timeouts.
If you’d like, I’m here to help you apply those configuration changes or check the connection once you’ve updated it. Just let me know!early-restaurant-74591
09/19/2025, 12:05 AMcache.t3.micro or cache.t4g.micro (cheap for testing)
but i wanted to check with youtall-airline-16756
09/19/2025, 12:06 AMcache.t3.micro or cache.t4g.micro, as Amazon suggests. These options are budget-friendly and can comfortably handle basic workloads.
As you grow or move into production, it’s a good idea to keep an eye on performance and think about upgrading to a larger instance if needed, based on how your usage evolves. Please feel free to reach out if you'd like some help with scaling or monitoring Redis performance for LiveKit—I’m here to support you!
Sources: Universal Egress | pkg/config/base.goearly-restaurant-74591
09/19/2025, 3:54 AMtall-airline-16756
09/19/2025, 3:55 AMPWD environment variable usually stands for the "Present Working Directory" in a container or operating system. In your case, seeing PWD=/ simply means that the current working directory for the container is set to the root directory (/).
This is a common environment variable and isn’t specific to LiveKit, so it won’t impact how your LiveKit setup works. If you have any more questions or want to chat about your configuration, I’m here to help!early-restaurant-74591
09/19/2025, 4:20 AMtall-airline-16756
09/19/2025, 4:21 AMearly-restaurant-74591
09/19/2025, 4:33 AMtall-airline-16756
09/19/2025, 4:34 AMEgressKey and RoomEgressPrefix. These actions, however, aren’t typically logged in the Redis engine logs by default.
If you want to keep an eye on egress registration and its status, a good approach is to check the egress service logs themselves or use monitoring tools like Prometheus. For example, if you’ve enabled the prometheus_port in your egress configuration, you can track useful metrics like livekit_egress_available to see if the service is up and running smoothly.
Please feel free to reach out if you’d like some help setting up Prometheus metrics or if you want to dive deeper into debugging the egress service logs. I’m here to assist you!
Sources: Self-hosting the Egress Service | LiveKit Docs | pkg/service/wire_gen.go | Universal Egressearly-restaurant-74591
09/19/2025, 4:53 AMtall-airline-16756
09/19/2025, 4:54 AMprometheus_port: 9090
This will make the metrics available at <EGRESS_HOST>:9090/metrics.
1. Verify Metrics: You can check the metrics endpoint by opening it in your browser or using a tool like curl to make sure everything is running smoothly.
2. Configure Prometheus: Next, add a scrape job in your Prometheus configuration to gather metrics from the egress service. Here’s an example:
scrape_configs:
- job_name: 'livekit_egress'
static_configs:
- targets: ['<EGRESS_HOST>:9090']
1. Monitor Key Metrics: Keep an eye on metrics like livekit_egress_available to see if the egress service is ready for requests, and livekit_egress_requests to track active egress jobs.
If you run into any questions or need a hand with the Prometheus setup or understanding the metrics, please don’t hesitate to reach out—I’m here to help!
Sources: livekit-server/templates/service.yaml | README.md | Egress & Media Processing | livekit/livekit_composite | DeepWiki | Self-hosting the Egress Service | LiveKit Docsearly-restaurant-74591
09/19/2025, 4:59 AMtall-airline-16756
09/19/2025, 4:59 AMearly-restaurant-74591
09/19/2025, 6:38 AMtall-airline-16756
09/19/2025, 6:39 AMearly-restaurant-74591
09/19/2025, 7:09 AMearly-restaurant-74591
09/19/2025, 7:09 AM"using single-node routing"- this means LiveKit is running in standalone mode without Redis.tall-airline-16756
09/19/2025, 7:09 AMearly-restaurant-74591
09/19/2025, 10:06 PM