bigbluebutton / bbb-install

BASH script to install BigBlueButton in 30 minutes.
GNU Lesser General Public License v3.0
618 stars 538 forks source link

Warning: Failed to verify STUN server #463

Open kmcgrego1307 opened 2 years ago

kmcgrego1307 commented 2 years ago

I just installed BBB today with wget -qO- https://ubuntu.bigbluebutton.org/bbb-install.sh | sudo bash -s -- -v bionic-240 -s <mydomain>.org -e my_email@gmail.com -g -w

This is a VM (VMware Player) with 8GB RAM and 4 cores, configured to use a bridged vNIC on my local network. I've set up my home router (Netgear Orbi, if it matters) to forward TCP 80 & 443 to the VM, along with UDP ports 16384-32768.

I've got everything configured and working, to the point where I can log in as the administrator and start a session, except when I try to connect the audio I get an ICE 1007 error.

The output of bbb-conf --check is


BigBlueButton Server 2.4.0 (2813)
                    Kernel version: 4.15.0-163-generic
                      Distribution: Ubuntu 18.04.6 LTS (64-bit)
                            Memory: 8144 MB
                         CPU cores: 4

/etc/bigbluebutton/bbb-web.properties (override for bbb-web)
/usr/share/bbb-web/WEB-INF/classes/bigbluebutton.properties (bbb-web)
       bigbluebutton.web.serverURL: https://<domain>.org
                defaultGuestPolicy: ALWAYS_ACCEPT
                 svgImagesRequired: true
              defaultMeetingLayout: SMART_LAYOUT

/etc/nginx/sites-available/bigbluebutton (nginx)
                       server_name: <domain>.org
                              port: 80, [::]:80
                              port: 443 ssl

/opt/freeswitch/etc/freeswitch/vars.xml (FreeSWITCH)
                       local_ip_v4: <my_internal_ip>
                   external_rtp_ip: <my_external_ip>
                   external_sip_ip: <my_external_ip>

/opt/freeswitch/etc/freeswitch/sip_profiles/external.xml (FreeSWITCH)
                        ext-rtp-ip: $${external_rtp_ip}
                        ext-sip-ip: $${external_sip_ip}
                        ws-binding: <my_external_ip>:5066
                       wss-binding: <my_external_ip>:7443

/usr/local/bigbluebutton/core/scripts/bigbluebutton.yml (record and playback)
                     playback_host: <domain>.org
                 playback_protocol: https
                            ffmpeg: 4.2.4-1ubuntu0.1bbb2~18.04

/etc/bigbluebutton/nginx/sip.nginx (sip.nginx)
                        proxy_pass: <my_external_ip>
                          protocol: http

/usr/local/bigbluebutton/bbb-webrtc-sfu/config/default.yml (Kurento SFU)
/etc/bigbluebutton/bbb-webrtc-sfu/production.yml (Kurento SFU - override)
                        kurento.ip: <my_external_ip>
                       kurento.url: ws://127.0.0.1:8888/kurento
                    kurento.sip_ip: <my_external_ip>
               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)
/etc/bigbluebutton/bbb-html5.yml (HTML5 client config override)
                             build: 2440
                        kurentoUrl: wss://<domain>.org/bbb-webrtc-sfu
                  enableListenOnly: true
                    sipjsHackViaWs: true

/usr/share/bbb-web/WEB-INF/classes/spring/turn-stun-servers.xml (STUN Server)
                              stun: stun.l.google.com:19302

/etc/kurento/modules/kurento/WebRtcEndpoint.conf.ini (STUN Server)
                              stun: 172.217.212.127:19302

# Potential problems described below

#
# Warning: Failed to verify STUN server at stun.l.google.com 19302 with command
#
#    stunclient --mode full --localport 30000 stun.l.google.com 19302
#

#
# Warning: Failed to verify STUN server at 172.217.212.127:19302 with command
#
#    stunclient --mode full --localport 30000 172.217.212.127 19302
#

stunclient --mode basic is fine, of course, and I've tried other stun servers to no avail.

I can confirm that TCP ports 80 and 443 get forwarded to the VM, and I think the UDP ports do too but I don't know of a good test of that.

ffdixon commented 2 years ago

To test whether UDP connections are going through, see

https://docs.bigbluebutton.org/admin/configure-firewall.html#testing-the-firewall

kmcgrego1307 commented 2 years ago

I can confirm that the UDP access works between a server on the internet and my internal VM. The firewall seems to be working correctly.

What should I check next?

nasilaj commented 2 years ago

I am a university lecturer and I wish to use your BBB. But the installation does not work. Please provide me with the solution.

Yours truly

Dr JS Nasila

On Wed, Dec 29, 2021 at 11:42 PM Kevin McGregor @.***> wrote:

I can confirm that the UDP access works between a server on the internet and my internal VM. The firewall seems to be working correctly.

What should I check next?

— Reply to this email directly, view it on GitHub https://github.com/bigbluebutton/bbb-install/issues/463#issuecomment-1002786547, or unsubscribe https://github.com/notifications/unsubscribe-auth/AVIX3MN2W3NUMT4CDUFG5ULUTN6EPANCNFSM5K5EQZSA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you are subscribed to this thread.Message ID: @.***>

ffdixon commented 2 years ago

For 1007 errors, see

https://docs.bigbluebutton.org/admin/configure-firewall.html#update-freeswitch

anderson-metsanou commented 1 month ago

Hello,

Please, I also encounter this error.

I would like to take the opportunity to point out that I have been unable to access the bbb docs for a month now. No guide link works for me.