This repository was archived by the owner on Dec 14, 2021. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +32
-9
lines changed Expand file tree Collapse file tree 3 files changed +32
-9
lines changed Original file line number Diff line number Diff line change 7
7
# fully automated Lets Encrypt certificates
8
8
ENABLE_HTTPS_PROXY = true
9
9
10
- # coturn (a TURN Server)
11
- # requires HTTPS Proxy to be enabled
12
- ENABLE_COTURN = true
13
10
14
11
# Greenlight Frontend
15
12
# https://docs.bigbluebutton.org/greenlight/gl-overview.html
Original file line number Diff line number Diff line change @@ -22,6 +22,30 @@ if [ -z "$EXTERNAL_IPv4" ]; then
22
22
exit 1
23
23
fi
24
24
25
+ # check for blocked TURN port
26
+ # https://github.com/bigbluebutton/docker/issues/73
27
+ if [ -n " $TURN_SERVER " ]; then
28
+ port=$( echo $TURN_SERVER | awk -F: ' {print $3}' | awk -F' ?' ' {print $1}' )
29
+ if [[ " $port " -lt " 1024" ]] && [ " $port " != " 443" ] && [ " $port " != " 80" ]; then
30
+ echo " -------------------------------------"
31
+ echo " ERROR: you use the TURN port $port , which gets blocked by recent browser"
32
+ echo " releases, leading BBB throwing always an 1006 error, connecting impossible."
33
+ echo " "
34
+ echo " If you use the integrated TURN server, there is currently no way to make it"
35
+ echo " work. so you should disable the server by emptying the TURN_SERVER variable"
36
+ echo " in .env"
37
+ echo " If you use an external TURN server with an own IP, you should switch to"
38
+ echo " port 443"
39
+ echo " "
40
+ echo " More Information: https://github.com/bigbluebutton/docker/issues/73"
41
+ echo
42
+ echo " current setting:"
43
+ echo " TURN_SERVER=$TURN_SERVER "
44
+ echo " -------------------------------------"
45
+ exit 1
46
+ fi
47
+ fi
48
+
25
49
# set conditional variables
26
50
export CERTIFICATE_DOMAINS=$DOMAIN
27
51
export GREENLIGHT_ENDPOINT=https://$DOMAIN /bigbluebutton/api/
Original file line number Diff line number Diff line change @@ -33,12 +33,14 @@ while [[ ! $https_proxy =~ ^(y|n)$ ]]; do
33
33
done
34
34
35
35
coturn=" "
36
- if [ " $https_proxy " == " y" ]
37
- then
38
- while [[ ! $coturn =~ ^(y| n)$ ]]; do
39
- read -p " Should a coturn be included? (y/n): " coturn
40
- done
41
- fi
36
+ # comment out due to blocked TURN ports
37
+ # https://github.com/bigbluebutton/docker/issues/73
38
+ # if [ "$https_proxy" == "y" ]
39
+ # then
40
+ # while [[ ! $coturn =~ ^(y|n)$ ]]; do
41
+ # read -p "Should a coturn be included? (y/n): " coturn
42
+ # done
43
+ # fi
42
44
43
45
prometheus_exporter=" "
44
46
while [[ ! $prometheus_exporter =~ ^(y| n)$ ]]; do
You can’t perform that action at this time.
0 commit comments