WebRTC error 1002 on fresh installed BBB Ubuntu 16.04

1,575 views
Skip to first unread message

Santiago Roland

unread,
Mar 22, 2017, 3:32:15 PM3/22/17
to BigBlueButton-Setup
WebRTC error 1002 on fresh installed BBB Ubuntu 16.04, Virtualbox VM with 8GB ram, 4-core Intel Xeon CPU, 100GB HDD proxy with ngin, all ports redirected to BBB server.

any ideaS?

BigBlueButton Server 1.1.0-beta (472)                                                                                                                                                                                                                                         
                    Kernel version: 4.8.0-41-generic                                                                                                                                                                                                                          
                      Distribution: Ubuntu 16.04.2 LTS (64-bit)                                                                                                                                                                                                               
                            Memory: 7982 MB                                                                                                                                                                                                                                   
                                                                                                                                                                                                                                                                              
/var/www/bigbluebutton/client/conf/config.xml (bbb-client)                                                                                                                                                                                                                    
                Port test (tunnel): bbb.oalm.gub.uy                                                                                                                                                                                                                           
                              red5: bbb.oalm.gub.uy                                                                                                                                                                                                                           
              useWebrtcIfAvailable: true                                                                                                                                                                                                                                      
                                                                                                                                                                                                                                                                              
/opt/freeswitch/etc/freeswitch/sip_profiles/external.xml (FreeSWITCH)                                                                                                                                                                                                         
                    websocket port: 5066                                                                                                                                                                                                                                      
                    WebRTC enabled: true                                                                                                                                                                                                                                      
                                                                                                                                                                                                                                                                              
/etc/nginx/sites-available/bigbluebutton (nginx)                                                                                                                                                                                                                              
                       server name: bbb.oalm.gub.uy                                                                                                                                                                                                                           
                              port: 80, [::]:80                                                                                                                                                                                                                               
                    bbb-client dir: /var/www/bigbluebutton                                                                                                                                                                                                                    
                                                                                                                                                                                                                                                                              
/var/lib/tomcat7/webapps/bigbluebutton/WEB-INF/classes/bigbluebutton.properties (bbb-web)                                                                                                                                                                                     
                      bbb-web host: bbb.oalm.gub.uy                                                                                                                                                                                                                           
                                                                                                                                                                                                                                                                              
/var/lib/tomcat7/webapps/demo/bbb_api_conf.jsp (API demos)                                                                                                                                                                                                                    
                               url: bbb.oalm.gub.uy                                                                                                                                                                                                                           

/usr/share/red5/webapps/bigbluebutton/WEB-INF/red5-web.xml (red5)
                  voice conference: FreeSWITCH
                     capture video:

/usr/local/bigbluebutton/core/scripts/bigbluebutton.yml (record and playback)
                     playback host: bbb.oalm.gub.uy


** Potential problems described below **
# IP does not match:
#                           IP from ifconfig: 192.168.1.189
#   /etc/nginx/sites-available/bigbluebutton: bbb.oalm.gub.uy
# Warning: API URL IPs do not match host:
#
#                                IP from ifconfig: 192.168.1.189
#  /var/lib/tomcat7/webapps/demo/bbb_api_conf.jsp: bbb.oalm.gub.uy


# Warning: The API demos are installed and accessible from:
#
#    http://bbb.oalm.gub.uy/demo/demo1.jsp
#
# These API demos allow anyone to access your server without authentication
# to create/manage meetings and recordings. They are for testing purposes only.
# If you are running a production system, remove them by running:
#
#    sudo apt-get purge bbb-demo


Chad Pilkey

unread,
Mar 22, 2017, 3:41:12 PM3/22/17
to BigBlueButton-Setup
Have you read through the instructions for configuring the audio through a firewall? (http://docs.bigbluebutton.org/1.1/install.html#configuring-bigbluebutton-behind-a-firewall).

You will also need to follow the dummy NIC steps I believe, but do that once you start seeing a 1007 error related to ICE negotiation failure.

Santiago Roland

unread,
Mar 22, 2017, 4:50:42 PM3/22/17
to BigBlueButton-Setup
Well, i followed all instructions to set up SSL and setup FreeSwitch behind a Firewall althought i find this inctructions confusing, about editing the same file twice
.
.
.
.
 

Next, edit /opt/freeswitch/conf/sip_profiles/external.xml and change

    <param name="rtp-ip" value="$${local_ip_v4}"/>
    <param name="sip-ip" value="$${local_ip_v4}"/>
    <param name="ext-rtp-ip" value="$${local_ip_v4}"/>
    <param name="ext-sip-ip" value="$${local_ip_v4}"/>

to

    <param name="rtp-ip" value="$${local_ip_v4}"/>
    <param name="sip-ip" value="$${local_ip_v4}"/>
    <param name="ext-rtp-ip" value="$${external_rtp_ip}"/>
    <param name="ext-sip-ip" value="$${external_sip_ip}"/>

Next, edit /opt/freeswitch/conf/sip_profiles/external.xml and ensure the value for wss-binding uses the external IP address

<param name="wss-binding"  value="EXTERNAL_IP_ADDRESS:7443"/>

.
.
.
.


I still have the 1002 WebRTC error, any other ideas?

Chad Pilkey

unread,
Mar 22, 2017, 5:27:40 PM3/22/17
to BigBlueButton-Setup
The changes to sip_profiles/external.xml aren't changing the file twice. The first set of 4 lines is what it starts as and the second set of 4 lines is what it's changed to.

Also, for the "wss-binding" parameter make sure you put in your actual external IP address not just the literal string "EXTERNAL_IP_ADDRESS".

Santiago Roland

unread,
Mar 22, 2017, 6:05:59 PM3/22/17
to BigBlueButton-Setup

Yes, i put the actual external IP there. i was confused about the  /opt/freeswitch/conf/sip_profiles/external.xml appearing twice... the first two blocks of code, i get that it is before and after, but the 1-liner
<param name="wss-binding"  value="EXTERNAL_IP_ADDRESS:7443"/> i had thath commented out. Now i have edited that but i still have the 1002 error.

:/

Chad Pilkey

unread,
Mar 22, 2017, 6:21:06 PM3/22/17
to BigBlueButton-Setup
Is your external IP in /etc/bigbluebutton/nginx/sip.nginx? There's going to be a misconfiguration somewhere in either the external.xml profile, sip.nginx, or firewall port forwarding.

The other possibility is FreeSWITCH not being up at all. When the 1002 error pops up if you answer "no" you will fall back to Flash audio. Can you successfully join with that?

Santiago Roland

unread,
Mar 23, 2017, 9:41:07 AM3/23/17
to BigBlueButton-Setup
If i hit "no" and choose flash, the mic tests begin and then after hitting "continue" it dials the call and after a moment, the test begin again, its like its not making the call, if i hit cancel, i get the desktop sharing just fine, but with no audio/video.

From /opt/freeswitch/conf/sip_profiles/external.xml
...
<param name="wss-binding"  value="190.64.208.2:7443"/>
...
From /etc/bigbluebutton/nginx/sip.nginx
...
proxy_pass https://190.64.208.2:7443;
...
I have port forwardings to the server internal IP address 192.168.1.189 of ports 9123, 7443, 1935, and 16384-32767

It should work right?

Chad Pilkey

unread,
Mar 23, 2017, 12:49:50 PM3/23/17
to BigBlueButton-Setup
This has me stumped. It seems like you have everything covered, but it still doesn't work. Maybe try looking in /var/log/nginx/error.log for something about the websocket failing. You should see errors about trying to access html5client/check, but you can ignore those.

Santiago Roland

unread,
Apr 3, 2017, 12:47:30 PM4/3/17
to BigBlueButton-Setup

Can someone check if these settings are correct? Still cannot make the WebRTC audio call...


Chad Pilkey

unread,
Apr 3, 2017, 1:16:26 PM4/3/17
to BigBlueButton-Setup
Those port forward settings look fine. The only thing you could change would be to change them to use either TCP or UDP as required of them rather than both, but that shouldn't really affect it

Did you try looking in /var/log/nginx/error.log for something about the websocket failing? If you see a message in the log then you know that the request is at least getting that far.

Santiago Roland

unread,
Apr 3, 2017, 6:34:02 PM4/3/17
to BigBlueButton-Setup
I had a fast look and i did not find nothing useful. I'll do more tests and collect some useful logs and post here if its worth it. Thanks for the ok on the firewall settings.

Santiago Roland

unread,
Apr 3, 2017, 9:02:39 PM4/3/17
to BigBlueButton-Setup
This are logs for the Ubuntu VM hosting the BBB server. I have no error logs on the proxy server. For what i can see, the useful bits are in the first error log, i would appreciate some help with interpreting that.

error.log

2017/04/03 14:11:34 [error] 20324#20324: *2238 open() "/var/www/nginx-default/50x.html" failed (2: No such file or directory), client: 192.168.1.112, server: bbb.oalm.gub.uy, request: "GET /ws HTTP/1.0", upstream: "https://190.64.208.2:7443/ws", host: "bbb.oalm.gub.uy"
2017/04/03 21:56:23 [error] 20324#20324: *2265 open() "/var/www/bigbluebutton-default/html5client/check" failed (2: No such file or directory), client: 192.168.1.112, server: bbb.oalm.gub.uy, request: "GET /html5client/check HTTP/1.0", host: "bbb.oalm.gub.uy", referrer: "https://bbb.oalm.gub.uy/client/BigBlueButton.html?sessionToken=zc8rslhyioog07f8"
2017/04/03 21:56:41 [error] 20325#20325: *2305 connect() failed (111: Connection refused) while connecting to upstream, client: 192.168.1.112, server: bbb.oalm.gub.uy, request: "GET /ws HTTP/1.0", upstream: "https://190.64.208.2:7443/ws", host: "bbb.oalm.gub.uy"
2017/04/03 21:56:41 [error] 20325#20325: *2305 open() "/var/www/nginx-default/50x.html" failed (2: No such file or directory), client: 192.168.1.112, server: bbb.oalm.gub.uy, request: "GET /ws HTTP/1.0", upstream: "https://190.64.208.2:7443/ws", host: "bbb.oalm.gub.uy"
^C


bigbluebutton.access.log

192.168.1.112 - - [03/Apr/2017:14:11:32 -0300] "GET /bigbluebutton/presentation/b88482332e176943b72de73ec63b69f01f113c85-1491239468109/b88482332e176943b72de73ec63b69f01f113c85-1491239468109/d2d9a672040fbde2a47a10bf6c37b6a4b5ae187f-1491239468112/textfiles/4 HTTP/1.0" 200 48 "https://bbb.oalm.gub.uy/client/BigBlueButton.swf?v=561" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:53.0) Gecko/20100101 Firefox/53.0"                                                                                                                                        
192.168.1.112 - - [03/Apr/2017:14:11:32 -0300] "GET /bigbluebutton/presentation/b88482332e176943b72de73ec63b69f01f113c85-1491239468109/b88482332e176943b72de73ec63b69f01f113c85-1491239468109/d2d9a672040fbde2a47a10bf6c37b6a4b5ae187f-1491239468112/slide/4 HTTP/1.0" 200 2696 "https://bbb.oalm.gub.uy/client/BigBlueButton.swf?v=561" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:53.0) Gecko/20100101 Firefox/53.0"                                                                                                                                          
192.168.1.112 - - [03/Apr/2017:14:11:33 -0300] "GET /bigbluebutton/api/stuns?sessionToken=na5jb3axkjstrc7f HTTP/1.0" 200 69 "https://bbb.oalm.gub.uy/client/BigBlueButton.html?sessionToken=na5jb3axkjstrc7f" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:53.0) Gecko/20100101 Firefox/53.0"                                                                                                                                                                                                                                                                     
192.168.1.112 - - [03/Apr/2017:14:11:34 -0300] "GET /ws HTTP/1.0" 404 178 "-" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:53.0) Gecko/20100101 Firefox/53.0"                                                                                                                      
192.168.1.112 - - [03/Apr/2017:21:56:13 -0300] "GET / HTTP/1.0" 304 0 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Firefox/45.0"                                                                                                                              
192.168.1.112 - - [03/Apr/2017:21:56:14 -0300] "GET /css/font-awesome.min.css HTTP/1.0" 304 0 "https://bbb.oalm.gub.uy/" "Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Firefox/45.0"                                                                               
192.168.1.112 - - [03/Apr/2017:21:56:14 -0300] "GET /css/bbb-bootstrap.css HTTP/1.0" 304 0 "https://bbb.oalm.gub.uy/" "Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Firefox/45.0"                                                                                  
192.168.1.112 - - [03/Apr/2017:21:56:14 -0300] "GET /js/bootstrap.min.js HTTP/1.0" 304 0 "https://bbb.oalm.gub.uy/" "Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Firefox/45.0"                                                                                    
192.168.1.112 - - [03/Apr/2017:21:56:14 -0300] "GET /css/bijou.min.css HTTP/1.0" 304 0 "https://bbb.oalm.gub.uy/" "Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Firefox/45.0"                                                                                      
192.168.1.112 - - [03/Apr/2017:21:56:14 -0300] "GET /js/bigbluebutton.js HTTP/1.0" 304 0 "https://bbb.oalm.gub.uy/" "Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Firefox/45.0"                                                                                    
192.168.1.112 - - [03/Apr/2017:21:56:14 -0300] "GET /css/style.css HTTP/1.0" 304 0 "https://bbb.oalm.gub.uy/" "Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Firefox/45.0"                                                                                          
192.168.1.112 - - [03/Apr/2017:21:56:14 -0300] "GET /js/jquery.min.js HTTP/1.0" 304 0 "https://bbb.oalm.gub.uy/" "Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Firefox/45.0"                                                                                       
192.168.1.112 - - [03/Apr/2017:21:56:14 -0300] "GET /images/bbb-setup-audio.jpg HTTP/1.0" 304 0 "https://bbb.oalm.gub.uy/" "Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Firefox/45.0"                                                                             
192.168.1.112 - - [03/Apr/2017:21:56:14 -0300] "GET /images/bbb-viewer-overview.jpg HTTP/1.0" 304 0 "https://bbb.oalm.gub.uy/" "Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Firefox/45.0"                                                                         
192.168.1.112 - - [03/Apr/2017:21:56:14 -0300] "GET /images/bbb-presenter-overview.jpg HTTP/1.0" 304 0 "https://bbb.oalm.gub.uy/" "Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Firefox/45.0"                                                                      
192.168.1.112 - - [03/Apr/2017:21:56:14 -0300] "GET /images/bbb-logo.png HTTP/1.0" 304 0 "https://bbb.oalm.gub.uy/" "Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Firefox/45.0"                                                                                    
192.168.1.112 - - [03/Apr/2017:21:56:14 -0300] "GET /fonts/fontawesome-webfont.woff2?v=4.7.0 HTTP/1.0" 304 0 "https://bbb.oalm.gub.uy/css/font-awesome.min.css" "Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Firefox/45.0"                                        
192.168.1.112 - - [03/Apr/2017:21:56:14 -0300] "GET /demo/demo3.jsp HTTP/1.0" 200 2425 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Firefox/45.0"                                                                                                             
192.168.1.189 - - [03/Apr/2017:21:56:20 -0300] "GET /client/conf/config.xml HTTP/1.1" 200 5359 "-" "Jakarta Commons-HttpClient/3.1"                                                                                                                                           
192.168.1.189 - - [03/Apr/2017:21:56:20 -0300] "GET /default.pdf HTTP/1.1" 200 141727 "-" "Mozilla"                                                                                                                                                                           
192.168.1.189 - - [03/Apr/2017:21:56:20 -0300] "GET /default.pdf HTTP/1.1" 200 141727 "-" "Jakarta Commons-HttpClient/3.1"                                                                                                                                                    
192.168.1.189 - - [03/Apr/2017:21:56:20 -0300] "GET /bigbluebutton/api/create?name=1-+Reuniones+OALM&meetingID=1-+Reuniones+OALM&welcome=%3Cbr%3EWelcome+to+%3Cb%3E%25%25CONFNAME%25%25%3C%2Fb%3E%21%3Cbr%3E%3Cbr%3ETo+understand+how+BigBlueButton+works+see+our+%3Ca+href%3D%22event%3Ahttp%3A%2F%2Fwww.bigbluebutton.org%2Fcontent%2Fvideos%22%3E%3Cu%3Etutorial+videos%3C%2Fu%3E%3C%2Fa%3E.%3Cbr%3E%3Cbr%3ETo+join+the+audio+bridge+click+the+headset+icon+%28upper-left+hand+corner%29.+%3Cb%3EYou+can+mute+yourself+in+the+Listeners+window.%3C%2Fb%3E&attendeePW=vocal&moderatorPW=moderador&moderatorOnlyMessage=Welcome+moderator%21+%28moderator+only+message%29&voiceBridge=72013&logoutURL=%2Fdemo%2Fdemo3.jsp&checksum=429ecd8b739cc1bae27a60ba59f76dc04952bd84 HTTP/1.1" 200 611 "-" "Java/1.8.0_121"                         
192.168.1.112 - - [03/Apr/2017:21:56:21 -0300] "GET /demo/demo3.jsp?username=Santiago&meetingID=1-+Reuniones+OALM&password=moderador&action=create HTTP/1.0" 200 1443 "https://bbb.oalm.gub.uy/demo/demo3.jsp" "Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Firefox/45.0"                                                                                                                                                                                                                                                                        
192.168.1.112 - - [03/Apr/2017:21:56:21 -0300] "GET /bigbluebutton/api/join?meetingID=1-+Reuniones+OALM&fullName=Santiago&password=moderador&checksum=91f6796a9c1cfef8589b2a4943908725603468c3 HTTP/1.0" 302 0 "https://bbb.oalm.gub.uy/demo/demo3.jsp?username=Santiago&meetingID=1-+Reuniones+OALM&password=moderador&action=create" "Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Firefox/45.0"
192.168.1.112 - - [03/Apr/2017:21:56:21 -0300] "GET /client/BigBlueButton.html?sessionToken=zc8rslhyioog07f8 HTTP/1.0" 200 9472 "https://bbb.oalm.gub.uy/demo/demo3.jsp?username=Santiago&meetingID=1-+Reuniones+OALM&password=moderador&action=create" "Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Firefox/45.0"
192.168.1.112 - - [03/Apr/2017:21:56:23 -0300] "GET /html5client/check HTTP/1.0" 404 178 "https://bbb.oalm.gub.uy/client/BigBlueButton.html?sessionToken=zc8rslhyioog07f8" "Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Firefox/45.0"
192.168.1.112 - - [03/Apr/2017:21:56:23 -0300] "GET /client/conf/locales.xml?a=1491267330084 HTTP/1.0" 200 2206 "https://bbb.oalm.gub.uy/client/BigBlueButton.swf?v=561" "Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Firefox/45.0"
192.168.1.112 - - [03/Apr/2017:21:56:23 -0300] "GET /client/locale/en_US_resources.swf?a=1491267330333 HTTP/1.0" 200 47732 "https://bbb.oalm.gub.uy/client/BigBlueButton.swf?v=561" "Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Firefox/45.0"
192.168.1.112 - - [03/Apr/2017:21:56:23 -0300] "GET /client/locale/es_ES_resources.swf?a=1491267330338 HTTP/1.0" 200 48920 "https://bbb.oalm.gub.uy/client/BigBlueButton.swf?v=561" "Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Firefox/45.0"
192.168.1.112 - - [03/Apr/2017:21:56:23 -0300] "GET /client/conf/profiles.xml?a=1491267330489 HTTP/1.0" 200 2556 "https://bbb.oalm.gub.uy/client/BigBlueButton.swf?v=561" "Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Firefox/45.0"
192.168.1.112 - - [03/Apr/2017:21:56:24 -0300] "GET /bigbluebutton/api/configXML?sessionToken=zc8rslhyioog07f8 HTTP/1.0" 200 5359 "https://bbb.oalm.gub.uy/client/BigBlueButton.swf?v=561" "Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Firefox/45.0"
192.168.1.112 - - [03/Apr/2017:21:56:30 -0300] "GET /bigbluebutton/api/enter?sessionToken=zc8rslhyioog07f8 HTTP/1.0" 200 1297 "https://bbb.oalm.gub.uy/client/BigBlueButton.swf?v=561" "Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Firefox/45.0"
192.168.1.112 - - [03/Apr/2017:21:56:35 -0300] "GET /client/conf/layout.xml?a=1491267342423 HTTP/1.0" 200 9993 "https://bbb.oalm.gub.uy/client/BigBlueButton.swf?v=561" "Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Firefox/45.0"
192.168.1.112 - - [03/Apr/2017:21:56:38 -0300] "GET /bigbluebutton/presentation/840c3a72609db1dc40122909779a0d366cd12063-1491267380894/840c3a72609db1dc40122909779a0d366cd12063-1491267380894/d2d9a672040fbde2a47a10bf6c37b6a4b5ae187f-1491267380900/slide/1 HTTP/1.0" 200 41750 "https://bbb.oalm.gub.uy/client/BigBlueButton.swf?v=561" "Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Firefox/45.0"
192.168.1.112 - - [03/Apr/2017:21:56:38 -0300] "GET /bigbluebutton/presentation/840c3a72609db1dc40122909779a0d366cd12063-1491267380894/840c3a72609db1dc40122909779a0d366cd12063-1491267380894/d2d9a672040fbde2a47a10bf6c37b6a4b5ae187f-1491267380900/textfiles/1 HTTP/1.0" 200 380 "https://bbb.oalm.gub.uy/client/BigBlueButton.swf?v=561" "Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Firefox/45.0"
192.168.1.112 - - [03/Apr/2017:21:56:38 -0300] "GET /bigbluebutton/presentation/840c3a72609db1dc40122909779a0d366cd12063-1491267380894/840c3a72609db1dc40122909779a0d366cd12063-1491267380894/d2d9a672040fbde2a47a10bf6c37b6a4b5ae187f-1491267380900/thumbnail/1 HTTP/1.0" 200 15771 "https://bbb.oalm.gub.uy/client/BigBlueButton.swf?v=561" "Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Firefox/45.0"
192.168.1.112 - - [03/Apr/2017:21:56:38 -0300] "GET /bigbluebutton/presentation/840c3a72609db1dc40122909779a0d366cd12063-1491267380894/840c3a72609db1dc40122909779a0d366cd12063-1491267380894/d2d9a672040fbde2a47a10bf6c37b6a4b5ae187f-1491267380900/thumbnail/2 HTTP/1.0" 200 3213 "https://bbb.oalm.gub.uy/client/BigBlueButton.swf?v=561" "Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Firefox/45.0"
192.168.1.112 - - [03/Apr/2017:21:56:38 -0300] "GET /bigbluebutton/presentation/840c3a72609db1dc40122909779a0d366cd12063-1491267380894/840c3a72609db1dc40122909779a0d366cd12063-1491267380894/d2d9a672040fbde2a47a10bf6c37b6a4b5ae187f-1491267380900/thumbnail/3 HTTP/1.0" 200 3213 "https://bbb.oalm.gub.uy/client/BigBlueButton.swf?v=561" "Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Firefox/45.0"
192.168.1.112 - - [03/Apr/2017:21:56:38 -0300] "GET /bigbluebutton/presentation/840c3a72609db1dc40122909779a0d366cd12063-1491267380894/840c3a72609db1dc40122909779a0d366cd12063-1491267380894/d2d9a672040fbde2a47a10bf6c37b6a4b5ae187f-1491267380900/thumbnail/4 HTTP/1.0" 200 3213 "https://bbb.oalm.gub.uy/client/BigBlueButton.swf?v=561" "Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Firefox/45.0"
192.168.1.112 - - [03/Apr/2017:21:56:38 -0300] "GET /bigbluebutton/presentation/840c3a72609db1dc40122909779a0d366cd12063-1491267380894/840c3a72609db1dc40122909779a0d366cd12063-1491267380894/d2d9a672040fbde2a47a10bf6c37b6a4b5ae187f-1491267380900/thumbnail/5 HTTP/1.0" 200 3213 "https://bbb.oalm.gub.uy/client/BigBlueButton.swf?v=561" "Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Firefox/45.0"
192.168.1.112 - - [03/Apr/2017:21:56:38 -0300] "GET /bigbluebutton/presentation/840c3a72609db1dc40122909779a0d366cd12063-1491267380894/840c3a72609db1dc40122909779a0d366cd12063-1491267380894/d2d9a672040fbde2a47a10bf6c37b6a4b5ae187f-1491267380900/thumbnail/1 HTTP/1.0" 200 15771 "https://bbb.oalm.gub.uy/client/BigBlueButton.swf?v=561" "Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Firefox/45.0"
192.168.1.112 - - [03/Apr/2017:21:56:39 -0300] "GET /bigbluebutton/presentation/840c3a72609db1dc40122909779a0d366cd12063-1491267380894/840c3a72609db1dc40122909779a0d366cd12063-1491267380894/d2d9a672040fbde2a47a10bf6c37b6a4b5ae187f-1491267380900/slide/2 HTTP/1.0" 200 2696 "https://bbb.oalm.gub.uy/client/BigBlueButton.swf?v=561" "Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Firefox/45.0"
192.168.1.112 - - [03/Apr/2017:21:56:39 -0300] "GET /bigbluebutton/presentation/840c3a72609db1dc40122909779a0d366cd12063-1491267380894/840c3a72609db1dc40122909779a0d366cd12063-1491267380894/d2d9a672040fbde2a47a10bf6c37b6a4b5ae187f-1491267380900/textfiles/2 HTTP/1.0" 200 48 "https://bbb.oalm.gub.uy/client/BigBlueButton.swf?v=561" "Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Firefox/45.0"
192.168.1.112 - - [03/Apr/2017:21:56:39 -0300] "GET /bigbluebutton/presentation/840c3a72609db1dc40122909779a0d366cd12063-1491267380894/840c3a72609db1dc40122909779a0d366cd12063-1491267380894/d2d9a672040fbde2a47a10bf6c37b6a4b5ae187f-1491267380900/slide/3 HTTP/1.0" 200 2696 "https://bbb.oalm.gub.uy/client/BigBlueButton.swf?v=561" "Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Firefox/45.0"
192.168.1.112 - - [03/Apr/2017:21:56:39 -0300] "GET /bigbluebutton/presentation/840c3a72609db1dc40122909779a0d366cd12063-1491267380894/840c3a72609db1dc40122909779a0d366cd12063-1491267380894/d2d9a672040fbde2a47a10bf6c37b6a4b5ae187f-1491267380900/textfiles/3 HTTP/1.0" 200 48 "https://bbb.oalm.gub.uy/client/BigBlueButton.swf?v=561" "Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Firefox/45.0"
192.168.1.112 - - [03/Apr/2017:21:56:39 -0300] "GET /bigbluebutton/presentation/840c3a72609db1dc40122909779a0d366cd12063-1491267380894/840c3a72609db1dc40122909779a0d366cd12063-1491267380894/d2d9a672040fbde2a47a10bf6c37b6a4b5ae187f-1491267380900/slide/4 HTTP/1.0" 200 2696 "https://bbb.oalm.gub.uy/client/BigBlueButton.swf?v=561" "Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Firefox/45.0"
192.168.1.112 - - [03/Apr/2017:21:56:39 -0300] "GET /bigbluebutton/presentation/840c3a72609db1dc40122909779a0d366cd12063-1491267380894/840c3a72609db1dc40122909779a0d366cd12063-1491267380894/d2d9a672040fbde2a47a10bf6c37b6a4b5ae187f-1491267380900/textfiles/4 HTTP/1.0" 200 48 "https://bbb.oalm.gub.uy/client/BigBlueButton.swf?v=561" "Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Firefox/45.0"
192.168.1.112 - - [03/Apr/2017:21:56:40 -0300] "GET /bigbluebutton/api/stuns?sessionToken=zc8rslhyioog07f8 HTTP/1.0" 200 69 "https://bbb.oalm.gub.uy/client/BigBlueButton.html?sessionToken=zc8rslhyioog07f8" "Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Firefox/45.0"
192.168.1.112 - - [03/Apr/2017:21:56:41 -0300] "GET /ws HTTP/1.0" 404 178 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Firefox/45.0"
^C

Chad Pilkey

unread,
Apr 4, 2017, 1:42:15 PM4/4/17
to BigBlueButton-Setup
I just had an epiphany. Your port forwarding is only rules for WAN to LAN, but the websocket goes from WAN over 443 to nginx and then nginx tries to make a connection back through the public address through 7443. I bet that second leg of the journey is what's failing because that is likely classified as LAN to LAN. Try adding a second definition for 7443 for LAN to LAN and see if that fixes it.

Santiago Roland

unread,
Apr 4, 2017, 7:22:20 PM4/4/17
to BigBlueButton-Setup


I added that rule you said to me, like this.


I still get this error in error.log. Note that 192.168.1.189 is the bbb server internal IP, 192.168.1.112 is the firewall internal IP that gets the 80 and 443 from outside, and 190.64.208.2 is the external IP, just to make clear that.

First error line when start loading the page.

2017/04/04 20:18:01 [error] 20325#20325: *6806 open() "/var/www/bigbluebutton-default/html5client/check" failed (2: No such file or directory), client: 192.168.1.112, server: bbb.oalm.gub.uy, request: "GET /html5client/check HTTP/1.0", host: "bbb.oalm.gub.uy", referrer: "https://bbb.oalm.gub.uy/client/BigBlueButton.html?sessionToken=dprw2r11kpgelnue"

Second and third error line after click in 'microphone'

2017/04/04 20:18:07 [error] 20325#20325: *6846 connect() failed (111: Connection refused) while connecting to upstream, client: 192.168.1.112, server: bbb.oalm.gub.uy, request: "GET /ws HTTP/1.0", upstream: "https://190.64.208.2:7443/ws", host: "bbb.oalm.gub.uy"                                                                                                                                                                                                                   

2017/04/04 20:18:07 [error] 20325#20325: *6846 open() "/var/www/nginx-default/50x.html" failed (2: No such file or directory), client: 192.168.1.112, server: bbb.oalm.gub.uy, request: "GET /ws HTTP/1.0", upstream: "https://190.64.208.2:7443/ws", host: "bbb.oalm.gub.uy"


Chad Pilkey

unread,
Apr 5, 2017, 2:40:39 PM4/5/17
to BigBlueButton-Setup
The second and third lines are basically saying that 192.168.1.112 (client) tried to make a connection to https://190.64.208.2:7443/ws and it was rejected. I thought that allowing LAN to LAN would let it connect, but that doesn't seem to be the case. At this point I'm not really sure what kind of rule would cover that connection, but that is the issue that is causing the websocket to fail.
Reply all
Reply to author
Forward
0 new messages