livekit / ingress

Ingest streams (RTMP/WHIP) or files (HLS, MP4) to LiveKit WebRTC
Apache License 2.0
64 stars 22 forks source link

Infinite loop when closing RTMP session #272

Open susanto-tm opened 1 month ago

susanto-tm commented 1 month ago

This is my first time setting up LiveKit Ingress on a Kubernetes cluster using the helm guide. I've ensured that no sources are attempting to connect to the ingress and even stopped listening on the RTMP port (1935) in both firewall and my cluster's ingress. But when I checked the pod's logs I continually see the following error repeated:

2024-05-26T22:55:05.818Z    INFO    ingress rtmp/server.go:327  closing ingress RTMP session    {"nodeID": "NE_QjxZsdzxBSvA"}
time="2024-05-26T22:55:06Z" level=info msg="Server closed by error: Err = EOF\nFailed to handshake\ngithub.com/livekit/go-rtmp.(*serverConn).Serve\n\t/root/go/pkg/mod/github.com/livekit/go-rtmp@v0.0.0-20230829211117-1c4f5a5c81ed/server_conn.go:31\ngithub.com/livekit/go-rtmp.(*Server).handleConn\n\t/root/go/pkg/mod/github.com/livekit/go-rtmp@v0.0.0-20230829211117-1c4f5a5c81ed/server.go:116\nruntime.goexit\n\t/usr/local/go/src/runtime/asm_amd64.s:1598" logger=ingress nodeID=NE_QjxZsdzxBSvA

I am using the latest available version on all ingress, server, and egress deployments.