You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In some restrictive networks UDP is blocked, why we need a TURN server. Because sometimes also most TCP ports except them HTTP and Mailing are blocked as well.
To traverse these firewalls we used so far the TLS mail port 465, but firefox and chromium started blocking almost all TCP ports below 1024 for TURN Server, which basically means there is only port 443 for TURN left, but already in use by HTTPS.
Currently I see no way to automatically integrate coturn without an second IP.
Important
Existing bbb-docker instances with enabled coturn on our default port 465 will gradually throw more and more 1006 errors with recent browser updates become more spread.
Best option: get a cheap VM and setup a TURN server there on port 443. This guide is helpful: https://docs.bigbluebutton.org/2.2/setup-turn-server.html Minimal step: disable the TURN server with commenting out TURN_SERVER in .env
I remember someone from Jitsi suggested to use nginx's preread and coturn ALPN to forward traffic from nginx to coturn and have both services behind port 443 on a reverse proxy. jitsi/docker-jitsi-meet#22 (comment)
Difficult is, that this must be part of the nginx config, which also does the auto certificate retrieval (currently valian/docker-nginx-auto-ssl).
With redoing that anyway we could also use that moment to switch to nginx-proxy as proposed by you (@cjhille) in alangecker#92 (comment) :)
I don't now whether I will find time during the next weeks, but I would be really happy to see anyone working on that :)
Activity
remove coturn due to #73
lonesomewalker commentedon Mar 28, 2021
It would be possible... remapping ports.
alangecker commentedon Mar 28, 2021
@lonesomewalker I'm not sure what you mean? :)
disable TURN on blocked ports
cjhille commentedon Mar 28, 2021
I remember someone from Jitsi suggested to use nginx's preread and coturn ALPN to forward traffic from nginx to coturn and have both services behind port 443 on a reverse proxy.
jitsi/docker-jitsi-meet#22 (comment)
cjhille commentedon Apr 2, 2021
They seem to have tried and deprecated that approach.
https://github.com/jitsi/jitsi-meet/blob/master/doc/debian/jitsi-meet/jitsi-meet.conf#L10
Instead they now seem to be multiplexing 443 connections based on DNS/host names
https://jitsi.github.io/handbook/docs/devops-guide/turn#use-turn-server-on-port-443
@alangecker Could this approach be applied to this docker setup?
alangecker commentedon Apr 2, 2021
I really like that idea!
maybe one could even avoid the need of two domains by detecting the protocol?
Difficult is, that this must be part of the nginx config, which also does the auto certificate retrieval (currently
valian/docker-nginx-auto-ssl).With redoing that anyway we could also use that moment to switch to
nginx-proxyas proposed by you (@cjhille) in alangecker#92 (comment) :)I don't now whether I will find time during the next weeks, but I would be really happy to see anyone working on that :)
alangecker commentedon Jun 21, 2021
#126 brings back turn support :)