WebRTC problem with Chrome

200 views
Skip to first unread message

Lionel

unread,
Sep 4, 2019, 5:56:05 AM9/4/19
to BigBlueButton-dev
Hello,

User for several years of version 1 (user very happy), I installed a new server with the 2.2-beta (using the script bbb-install.sh, very good job).
However, I am having a connection problem for the audio and microphone with chrome (error 1006). With Firefox no problem.
I tested with multiple networks, always the same problem.

The test.bigbluebutton.org however works with my browser.

I installed a STUN server (https://docs.bigbluebutton.org/2.2/setup-turn-server.html) but the problem is still present.

error_1006.png


Result of bbb-conf --check (the external_rtp_ip and external_sip_ip parameters do not have the URL of my STUN server, is this normal?). I changed the url by myurl and ip by myip for this message:


BigBlueButton Server 2.2.0-beta-19 (1369)
                    Kernel version: 4.4.0-159-generic
                      Distribution: Ubuntu 16.04.6 LTS (64-bit)
                            Memory: 16045 MB
                         CPU cores: 4

/usr/share/bbb-web/WEB-INF/classes/bigbluebutton.properties (bbb-web)
       bigbluebutton.web.serverURL: https://myurl
                defaultGuestPolicy: ALWAYS_ACCEPT
                 svgImagesRequired: true

/etc/nginx/sites-available/bigbluebutton (nginx)
                       server name: myurl
                              port: 80, [::]:80
                              port: 443 ssl
                    bbb-client dir: /var/www/bigbluebutton

/var/www/bigbluebutton/client/conf/config.xml (bbb-client)
                Port test (tunnel): rtmp://myurl
                              red5: myurl
              useWebrtcIfAvailable: true

/opt/freeswitch/etc/freeswitch/vars.xml (FreeSWITCH)
                       local_ip_v4: myip
                   external_rtp_ip: stun:stun.freeswitch.org
                   external_sip_ip: stun:stun.freeswitch.org

/opt/freeswitch/etc/freeswitch/sip_profiles/external.xml (FreeSWITCH)
                        ext-rtp-ip: $${local_ip_v4}
                        ext-sip-ip: $${local_ip_v4}
                        ws-binding: :5066
                       wss-binding: myip:7443

/usr/local/bigbluebutton/core/scripts/bigbluebutton.yml (record and playback)
                     playback_host: myurl
                 playback_protocol: https
                            ffmpeg: 4.1.3-0york1~16.04

/etc/bigbluebutton/nginx/sip.nginx (sip.nginx)
                        proxy_pass: myip

/usr/local/bigbluebutton/bbb-webrtc-sfu/config/default.yml (Kurento SFU)
                        kurento.ip: myip
                       kurento.url: ws://127.0.0.1:8888/kurento
                    localIpAddress: myip
               recordScreenSharing: true
                     recordWebcams: true
                  codec_video_main: VP8
               codec_video_content: VP8

/usr/share/meteor/bundle/programs/server/assets/app/config/settings.yml (HTML5 client)
                             build: 687
                        kurentoUrl: wss://myurl/bbb-webrtc-sfu
                  enableListenOnly: true

Result of bbb-conf --version:

ii  bbb-apps                              1:2.2.0-30                                      amd64        BigBlueButton applications for Red5
ii  bbb-apps-akka                         2.2.0-57                                        all          BigBlueButton Apps (Akka)
ii  bbb-apps-screenshare                  1:2.2.0-30                                      amd64        BigBlueButton screenshare module for Red5
ii  bbb-apps-sip                          1:2.2.0-11                                      amd64        BigBlueButton SIP module for Red5
ii  bbb-apps-video                        1:2.2.0-28                                      amd64        BigBlueButton video module for Red5
ii  bbb-apps-video-broadcast              1:2.2.0-8                                       amd64        BigBlueButton video broadcast module for Red5
ii  bbb-client                            1:2.2.0-33                                      amd64        BigBlueButton Flash client
ii  bbb-config                            1:2.2.0-110                                     amd64        BigBlueButton configuration utilities
ii  bbb-etherpad                          1:2.2.0-45                                      amd64        The EtherPad Lite components for BigBlueButton
ii  bbb-freeswitch-core                   2:2.2.0-33                                      amd64        BigBlueButton build of FreeSWITCH
ii  bbb-freeswitch-sounds                 1:1.6.7-6                                       amd64        FreeSWITCH Sounds
ii  bbb-fsesl-akka                        2.2.0-38                                        all          BigBlueButton FS-ESL (Akka)
ii  bbb-html5                             1:2.2.0-687                                     amd64        The HTML5 components for BigBlueButton
ii  bbb-mkclean                           1:0.8.7-3                                       amd64        Clean and optimize Matroska and WebM files
ii  bbb-playback-presentation             1:2.2.0-20                                      amd64        BigBluebutton playback of presentation
ii  bbb-record-core                       1:2.2.0-42                                      amd64        BigBlueButton record and playback
ii  bbb-red5                              1:1.0.10-16                                     amd64        The Red5 server for BigBlueButton
ii  bbb-swftools                          1:0.9.2-2                                       amd64        The swftools files for BigBlueButton
ii  bbb-transcode-akka                    2.2.0-8                                         all          BigBlueButton Transcoder
ii  bbb-web                               1:2.2.0-102                                     amd64        BigBlueButton API
ii  bbb-webrtc-sfu                        1:2.2.0-72                                      amd64        BigBlueButton WebRTC SFU
ii  bigbluebutton                         1:2.2.0-4                                       amd64        Open source web conferencing platform (bbb)

Thank you,
Lionel

Chad Pilkey

unread,
Sep 4, 2019, 3:54:33 PM9/4/19
to BigBlueButton-dev
A 1006 error is pretty rare. To debug I'll need the full browser console logs (F12). I'll also need the server logs to cross reference.

The steps to get the server logs are:
1. Join with a unique name
2. Try to join audio and wait for failure
3. grep "<your_username>" /opt/freeswitch/var/log/freeswitch/freeswitch.log
4. Copy the sessionId at the start of the line
5. grep <sessionId> /opt/freeswitch/var/log/freeswitch/freeswitch.log > failed-session.log

If you could send me the browser console logs and freeswitch logs I can take a look and see if anything sticks out. It would also be good to have the Firefox logs to have a comparison.

Lionel

unread,
Sep 5, 2019, 4:47:22 AM9/5/19
to BigBlueButton-dev
I sent the logs by email.
Thank you.

Lionel

unread,
Sep 5, 2019, 9:25:21 AM9/5/19
to BigBlueButton-dev
Sorry, I found the problem.
This is the TorGuard VPN Extension for Chrome.

However, it is strange, the error 1006 appears when the application is activated even if the proxy is inactive.

Le mercredi 4 septembre 2019 21:54:33 UTC+2, Chad Pilkey a écrit :

Chad Pilkey

unread,
Sep 5, 2019, 12:34:04 PM9/5/19
to BigBlueButton-dev
Proxies usually don't play well with WebRTC unfortunately. I noticed in the failed logs that the browser was sending no candidates and FreeSWITCH will reject those every time because there's no chance of it working. I would have to compare with the logs from our test server, but it could be that our server worked because the relay (TURN) candidate was generated and selected. There could also be a configuration issue with the STUN server that you used because I noticed that the Firefox logs only included private IPs so STUN didn't work.
Reply all
Reply to author
Forward
0 new messages