This message was deleted.
# helpdesk
s
This message was deleted.
a
Disregard please. I had a minor configuration issue. Even with this stream magic the TURN server is responsible for terminating TLS. Worx
Just one thing: This technique introduces a problem to LK, expressed in this log. Not sure, how severe this is. Most likely
Copy code
2023-12-12T15:47:18.371Z	ERROR	livekit.pion.turn	pionlogger/logadapter.go:95	Failed to close conn: tls: failed to send closeNotify alert (but connection was closed anyway): write tcp4 127.0.0.1:5349->127.0.0.1:57446: write: broken pipe
<http://github.com/livekit/protocol/logger/pionlogger.(*logAdapter).Errorf|github.com/livekit/protocol/logger/pionlogger.(*logAdapter).Errorf>
	/home/runner/go/pkg/mod/github.com/livekit/protocol@v1.9.1-0.20231107185101-e230ee2d840e/logger/pionlogger/logadapter.go:95
<http://github.com/pion/turn/v2.(*Server).readListener.func1|github.com/pion/turn/v2.(*Server).readListener.func1>
	/home/runner/go/pkg/mod/github.com/pion/turn/v2@v2.1.4/server.go:153
d
I'm not sure if that's an issue.. maybe related to how the connection is torn down. do sessions work over TURN?
a
At least TURN works and spits relay candidates. I’m currently not having a client making use of it. I‘m seeing this from time to time while using the trickle ICE test page linked above and refreshing the browser. I could imagine that the pc client in the browser goes w/o saying Goodbye and causing this disruption then
Seeing that connection tester in your answer on another thread. Will give it a try
Yes, it says "Can connect via TURN". Is the source code of the connection tester available? For educational purposes? PS: The a.m. trace did not appear while operating the test several times PS2: I should have checked better. It appears there too:
Copy code
2023-12-13T08:35:07.959Z	ERROR	livekit.pion.turn	pionlogger/logadapter.go:95	Failed to close conn: tls: failed to send closeNotify alert (but connection was closed anyway): write tcp4 127.0.0.1:5349->127.0.0.1:52706: write: broken pipe
github.com/livekit/protocol/logger/pionlogger.(*logAdapter).Errorf
	/home/runner/go/pkg/mod/github.com/livekit/protocol@v1.9.1-0.20231107185101-e230ee2d840e/logger/pionlogger/logadapter.go:95
github.com/pion/turn/v2.(*Server).readListener.func1
	/home/runner/go/pkg/mod/github.com/pion/turn/v2@v2.1.4/server.go:153
d
it's here
a
👍
Hmm. The TURN check is kind of poor or am I too blind?
d
would you like to share any specifics? always welcome constructive feedback
a
At the first glance it looks like as if “Can connect via TURN” is just based on the existence of TURNS or TURN in some URL prefixes. I was not able to see if the media connection finally really went over TURN. But I didn’t investigate much. Wireshark could probably answer.