This message was deleted.
# helpdesk
s
This message was deleted.
h
log from the ingress
Copy code
2023-10-06T11:41:42.866Z	ERROR	logger/logger.go:270	error establishing signal connection	{"nodeID": "NE_K7fDimPqKLFE", "ingressID": "IN_ZTPUDABsK28Q", "resourceID": "RT_DukznVQ2siCb", "httpResponseError": "json: unsupported type: func() (io.ReadCloser, error)", "error": "websocket: bad handshake"}
<http://github.com/livekit/protocol/logger.(*ZapLogger).Errorw|github.com/livekit/protocol/logger.(*ZapLogger).Errorw>
	/root/go/pkg/mod/github.com/livekit/protocol@v1.6.1-0.20230811231353-14b7eb70d2b7/logger/logger.go:270
<http://github.com/livekit/server-sdk-go.(*SignalClient).Join|github.com/livekit/server-sdk-go.(*SignalClient).Join>
	/root/go/pkg/mod/github.com/livekit/server-sdk-go@v1.0.16-0.20230808010703-d4a4451efa06/signalclient.go:102
<http://github.com/livekit/server-sdk-go.(*RTCEngine).Join|github.com/livekit/server-sdk-go.(*RTCEngine).Join>
	/root/go/pkg/mod/github.com/livekit/server-sdk-go@v1.0.16-0.20230808010703-d4a4451efa06/engine.go:114
<http://github.com/livekit/server-sdk-go.(*Room).JoinWithToken|github.com/livekit/server-sdk-go.(*Room).JoinWithToken>
	/root/go/pkg/mod/github.com/livekit/server-sdk-go@v1.0.16-0.20230808010703-d4a4451efa06/room.go:196
<http://github.com/livekit/server-sdk-go.ConnectToRoomWithToken|github.com/livekit/server-sdk-go.ConnectToRoomWithToken>
	/root/go/pkg/mod/github.com/livekit/server-sdk-go@v1.0.16-0.20230808010703-d4a4451efa06/room.go:138
<http://github.com/livekit/ingress/pkg/lksdk_output.NewLKSDKOutput|github.com/livekit/ingress/pkg/lksdk_output.NewLKSDKOutput>
	/workspace/pkg/lksdk_output/lksdk_output.go:48
<http://github.com/livekit/ingress/pkg/media.NewWebRTCSink|github.com/livekit/ingress/pkg/media.NewWebRTCSink>
	/workspace/pkg/media/webrtc_sink.go:42
<http://github.com/livekit/ingress/pkg/media.New|github.com/livekit/ingress/pkg/media.New>
	/workspace/pkg/media/pipeline.go:77
<http://github.com/livekit/ingress/pkg/service.(*Handler).buildPipeline|github.com/livekit/ingress/pkg/service.(*Handler).buildPipeline>
	/workspace/pkg/service/handler.go:216
<http://github.com/livekit/ingress/pkg/service.(*Handler).HandleIngress|github.com/livekit/ingress/pkg/service.(*Handler).HandleIngress>
	/workspace/pkg/service/handler.go:67
main.runHandler
	/workspace/cmd/server/main.go:281
<http://github.com/urfave/cli/v2.(*Command).Run|github.com/urfave/cli/v2.(*Command).Run>
	/root/go/pkg/mod/github.com/urfave/cli/v2@v2.25.1/command.go:274
<http://github.com/urfave/cli/v2.(*Command).Run|github.com/urfave/cli/v2.(*Command).Run>
	/root/go/pkg/mod/github.com/urfave/cli/v2@v2.25.1/command.go:267
<http://github.com/urfave/cli/v2.(*App).RunContext|github.com/urfave/cli/v2.(*App).RunContext>
	/root/go/pkg/mod/github.com/urfave/cli/v2@v2.25.1/app.go:332
<http://github.com/urfave/cli/v2.(*App).Run|github.com/urfave/cli/v2.(*App).Run>
	/root/go/pkg/mod/github.com/urfave/cli/v2@v2.25.1/app.go:309
main.main
	/workspace/cmd/server/main.go:92
runtime.main
	/usr/local/go/src/runtime/proc.go:250
2023-10-06T11:41:42.895Z	WARN	ingress	service/handler.go:236	ingress failed	{"nodeID": "NE_K7fDimPqKLFE", "ingressID": "IN_ZTPUDABsK28Q", "resourceID": "RT_DukznVQ2siCb", "ingressID": "IN_ZTPUDABsK28Q", "error": "not found: "}
a
maybe @chilly-animal-65189 can take a look at this when he has a moment
c
Does the livekit server logs give any information about the failure?
I would make sure the api key and secret, as well as the ws_url options are correct in the ingress conf, including whether or not TLS should be used (
ws://
vs
wss://
)