steep-balloon-41261
11/24/2023, 4:31 PMacoustic-engineer-41666
11/24/2023, 5:42 PMbulky-finland-78364
11/24/2023, 6:02 PMlog_level: debug
api_key: devkey
api_secret: secret
ws_url: <ws://192.168.65.2:7880>
insecure: true
redis:
address: 192.168.65.2:6379
• Command that I am using to run Egress service in a docker container
docker run --rm \
--cap-add=SYS_ADMIN \
-e EGRESS_CONFIG_FILE=/out/config.yaml \
-v livekit-egress:/out \
livekit/egress
• No custom config for livekit-cli. Here is the command that I am using to expose Egress service
livekit-cli start-room-composite-egress --api-key devkey --api-secret secret --request /Users/wakeel/Downloads/room-composite-file.json
• Also the same for livekit-server, I just ran it like docs without any additional config
brew install livekit
livekit-server --dev
What I can confirm is that livekit-cli can communicate with livekit-server without any problem. As I can see the request is received from livekit-cli on the server. Server can’t communicate with Egress service at all. I am not seeing even failing logs. Here are Egress service logs.
+ rm -rf '/home/egress/tmp/*'
+ rm -rf /var/run/pulse /var/lib/pulse /home/egress/.config/pulse /home/egress/.cache/xdgr/pulse
+ pulseaudio -D --verbose --exit-idle-time=-1 --disallow-exit
I: [pulseaudio] main.c: Daemon startup successful.
+ exec egress
2023-11-24T02:08:47.997Z INFO egress redis/redis.go:127 connecting to redis {"nodeID": "NE_e9JmJrrGt5C2", "clusterID": "", "simple": true, "addr": "172.17.0.2:6379"}
2023-11-24T02:08:48.006Z INFO egress stats/monitor.go:130 cpu available: 4.000000 max cost: 4.000000 {"nodeID": "NE_e9JmJrrGt5C2", "clusterID": ""}
2023-11-24T02:08:48.010Z DEBUG egress service/debug.go:38 debug handler disabled {"nodeID": "NE_e9JmJrrGt5C2", "clusterID": ""}
2023-11-24T02:08:48.011Z DEBUG egress service/templates_server.go:38 starting template server on address localhost:7980 {"nodeID": "NE_e9JmJrrGt5C2", "clusterID": ""}
2023-11-24T02:08:48.011Z DEBUG egress service/service.go:94 starting service {"nodeID": "NE_e9JmJrrGt5C2", "clusterID": "", "version": "1.8.0"}
2023-11-24T02:08:48.016Z INFO egress service/service.go:100 service ready {"nodeID": "NE_e9JmJrrGt5C2", "clusterID": ""}bulky-finland-78364
11/24/2023, 6:02 PMacoustic-engineer-41666
11/24/2023, 6:29 PMdocker run -it --rm alpine nslookup host.docker.internal and it returned 192.168.65.2?bulky-finland-78364
11/24/2023, 7:10 PMServer: 192.168.65.5
Address: 192.168.65.5:53
Non-authoritative answer:
Name: host.docker.internal
Address: 192.168.65.2
Non-authoritative answer:dry-elephant-14928
11/24/2023, 7:20 PMdry-elephant-14928
11/24/2023, 7:21 PMbulky-finland-78364
11/24/2023, 7:55 PMacoustic-engineer-41666
11/25/2023, 12:39 AM