livekit / livekit-helm

LiveKit Helm charts
https://docs.livekit.io
Apache License 2.0
50 stars 59 forks source link

TURN with udp only throws error #8

Closed lukasIO closed 2 years ago

lukasIO commented 2 years ago

I wanted to try the UDP only approach for the turn server as mentioned in the docs here

but I get the following error when trying to deploy with turn enabled and only a udp port set: execution error at (livekit-server/templates/deployment.yaml:97:27): tls secret required if turn enabled

davidzhao commented 2 years ago

fixed in v0.13.1, let me know if this works for you.

lukasIO commented 2 years ago

thank you! it deploys without any errors now. Is there a suggested way to test that UDP Turn is working as intended? Forcing turn with the iceTransportPolicy set to relay does, unfortunately, not work.

davidzhao commented 2 years ago

I think setting it to relay is the way to go. We also built a tester that goes through similar tests: https://livekit.io/connection-test

If it's not working, it probably means the port configuration isn't set up correctly.. what does your TURN config look like? and how are the ports configured on the firewall?

lukasIO commented 2 years ago

Seems like the updated values didn't get applied after helm upgrade so the TURN server wasn't properly configured. Reinstalling the chart fixed it! Thank you for the pointers, the connection-test tool was super helpful.