Hello All, I am stuck with this...Can anyone help....
# egress
f
Hello All, I am stuck with this...Can anyone help... 🔴 EGRESS STUCK IN STANDALONE MODE - NEED SERVICE MODE Setup: - LiveKit Server: 1.9.1 (self-hosted on Ubuntu 24.04) - Egress: 1.10.0 (Docker, livekit/egress:latest) - Redis: 7.0.15 Problem: Egress logs consistently show: "simple": true, "clusterID": "" Even when I add cluster_id to egress.yaml, it still runs in standalone mode. LiveKit server returns "no response from servers" when trying to start recording. Tests Performed: ✅ Network connectivity works (curl from Egress to LiveKit returns 200) ✅ SSL/TLS handshake successful (openssl s_client test passes) ✅ Redis is running and accessible (can connect from both services) ✅ Video calls work perfectly (2+ participants, audio/video working) ✅ Egress container is healthy (Docker healthcheck passes) ❌ Egress NOT registering in Redis (KEYS "*egress*" returns empty) ❌ No egress-related keys in Redis (KEYS "*NE_*" returns empty) Error When Recording: { "code": "unavailable", "msg": "twirp error unknown: no response from servers" } Egress Logs: 2025-11-04T162314.980Z INFO egress redis/redis.go:142 connecting to redis {"nodeID": "NE_8YkYcNMMjF6M", "clusterID": "", "simple": true, "addr": "127.0.0.1:6379"} 2025-11-04T162314.983Z INFO egress server/server.go:148 service ready {"nodeID": "NE_8YkYcNMMjF6M", "clusterID": ""} Even when cluster_id was set to "main_cluster", logs showed: {"nodeID": "NE_EkuzKPqRubq2", "clusterID": "main_cluster", "simple": true} ^^^^^^^^^^^^^^^^ Still in simple mode! Questions: 1. How do I switch Egress from standalone mode to service mode? Is there a config option I'm missing? 2. Does LiveKit 1.9.1 support cluster_id configuration? When I add cluster_id to livekit.yaml, the server crashes with: Error: "field cluster_id not found in type config.Config" 3. Is there a version incompatibility between LiveKit 1.9.1 and Egress 1.10.0? Should I downgrade Egress or upgrade LiveKit? 4. What's the minimum LiveKit version that supports Egress service discovery? Current Configurations: egress.yaml:
Copy code
yaml
log_level: info
api_key: LIVE_KIT_API_KEY
api_secret: LIVE_KIT_API_SECRET
ws_url: wss://video.XYZ.com
redis:
 address: 127.0.0.1:6379
 password: REDISPASSWORD
s3:
 access_key: ACCESS_KEY
 secret: SECRET
 region: us-west-2
 bucket: BUCKET_NAME
livekit.yaml:
Copy code
yaml
port: 7880
rtc:
 node_ip: “XX.XX.XX.XX.
 use_external_ip: true
keys:
 LIVEKIT_API_KEY: LIVEKIT_API_SECRET
redis:
 address: 127.0.0.1:6379
 password: REDIS_PASSWORD
# NOTE: Cannot add cluster_id here - causes crash
Docker Setup: - Network mode: host - Volume: /etc/livekit/egress.yaml/etc/egress.yamlro - Environment: EGRESS_CONFIG_FILE=/etc/egress.yaml What We've Tried: 1. Added cluster_id to egress.yaml → Still shows "simple": true 2. Added cluster_id to livekit.yaml → Server crashed 3. Changed ws_url to ws://localhost:7880 → Same error 4. Verified all network connectivity → All tests pass The application code is working perfectly. This is purely an infrastructure/configuration issue. Any help would be greatly appreciated! 🙏