Ошибка 1006 bigbluebutton как исправить

Problem Recently lots of BigBlueButton administrators have reported Call Timed Out 1006 errors while using BigBlueButton, especially on a Chrome Browser.  If you use the latest version of (96.0.4664.93) to join a BigBlueButton session, then while checking the microphone option, you may face the Call Timeout Error 1006.  1006 is a WebRTC error. Because of […]

Problem

Recently lots of BigBlueButton administrators have reported Call Timed Out 1006 errors while using BigBlueButton, especially on a Chrome Browser. 

If you use the latest version of (96.0.4664.93) to join a BigBlueButton session, then while checking the microphone option, you may face the Call Timeout Error 1006. 

1006 is a WebRTC error. Because of this error your users won’t be able to join a call with the microphones. 

This error happens even when you have your BigBlueButton server configured with a Turn server. 

Please be mindful that this error will occur even when you have given the right permission to the Chrome browser. 

On another note, this error doesn’t occur while using Firefox or Edge browser. 

Resolution

  • You need to upgrade your BigBlueButton server to the latest stable version (2.3.16). 
  • If you have been running BigBlueButton 2.2.x on a Ubuntu 16.x server, it’s high time that you first upgrade to Ubuntu 18.x and install the latest stable version of BigBlueButton. 
  • Don’t forget to keep a backup of all your recordings and custom configurations. 
  • After upgrading, you should be able to join your BigBlueButton classes on a Chrome browser. 

Rational

  • Chrome browser was supporting plan B SDP method for WebRTC connections. Now Plan B is getting removed from the latest version of the Chrome browser. 
  • So the old versions of BigBlueButton servers, which depend on Plan B for WebRTC connection, would throw Call Timeout 1006 error. 
  • This issue is restricted to the latest version of the Chrome browser. 
  • For any reasons, if you are not able to upgrade your BigBlueButton to the latest version, or worse, upgrade to Ubuntu 18.x, you may advise your users to join classes over Firefox or Safari.

I have installed bigbluebutton on my serverand it was working properly but suddenly microphone can not connect anymore and after a while being stucked in «echo test» i’ll get 1006 error and i have tested:

FreeSWITCH fails to bind to IPV4Anchor link for: freeswitch fails to bind to ipv4

In rare occasions after shutdown/restart, the FreeSWITCH database can get corrupted. This will cause FreeSWITCH to have problems binding to IPV4 address (you may see error 1006 when users try to connect).

To check, look in /opt/freeswitch/var/log/freeswitch/freeswitch.log for errors related to loading the database.

2018-10-25 11:05:11.444727 [ERR] switch_core_db.c:108 SQL ERR [unsupported file format]
2018-10-25 11:05:11.444737 [ERR] switch_core_db.c:223 SQL ERR [unsupported file format]
2018-10-25 11:05:11.444759 [NOTICE] sofia.c:5949 Started Profile internal-ipv6 [sofia_reg_internal-ipv6]
2018-10-25 11:05:11.444767 [CRIT] switch_core_sqldb.c:508 Failure to connect to CORE_DB sofia_reg_external!
2018-10-25 11:05:11.444772 [CRIT] sofia.c:3049 Cannot Open SQL Database [external]!

If you see these errors, clear the FreeSWITCH database (BigBlueButton doesn’t use the database and FreeSWITCH will recreate it on startup).

$ sudo systemctl stop freeswitch
$ rm -rf /opt/freeswitch/var/lib/freeswitch/db/*
$ sudo systemctl start freeswitch

but it doesn’t solve the problem.

this is output of bbb-conf --check:

BigBlueButton Server 2.2.20 (2037)
                    Kernel version: 4.4.0-185-generic
                      Distribution: Ubuntu 16.04.6 LTS (64-bit)
                            Memory: 4045 MB
                         CPU cores: 4

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

/etc/nginx/sites-available/bigbluebutton (nginx)
                       server name: 49.12.60.238
                              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://online.vikipoyan.ir
                              red5: online.vikipoyan.ir
              useWebrtcIfAvailable: true

/opt/freeswitch/etc/freeswitch/vars.xml (FreeSWITCH)
                       local_ip_v4: 49.12.60.238
                   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: :7443

/usr/local/bigbluebutton/core/scripts/bigbluebutton.yml (record and playback)
                     playback_host: online.vikipoyan.ir
                 playback_protocol: https
                            ffmpeg: 4.2.2-1bbb1~ubuntu16.04

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

/usr/local/bigbluebutton/bbb-webrtc-sfu/config/default.yml (Kurento SFU)
                        kurento.ip: 49.12.60.238
                       kurento.url: ws://127.0.0.1:8888/kurento
                    kurento.sip_ip: 49.12.60.238
                    localIpAddress: 49.12.60.238
               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: 968
                        kurentoUrl: wss://online.vikipoyan.ir/bbb-webrtc-sfu
                  enableListenOnly: true


# Potential problems described below
# Warning: API URL IPs do not match host:
#
#                                IP from ifconfig: 49.12.60.238
#  /var/lib/tomcat7/demo/bbb_api_conf.jsp: online.vikipoyan.ir


# Warning: The API demos are installed and accessible from:
#
#    https://online.vikipoyan.ir
#
# and
#
#    https://online.vikipoyan.ir/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:
#
#    apt-get purge bbb-demo

# Warning: You have this server defined for https, but in
#
#   /etc/bigbluebutton/nginx/sip.nginx
#
#  did not find the use of https in definition for proxy_pass
#
#            proxy_pass http://49.12.60.238:5066;
#

# Warning: You have this server defined for https, but in
#
#   /etc/bigbluebutton/nginx/sip.nginx
#
#  did not find the use of port 7443 in definition for proxy_pass
#
#            proxy_pass http://49.12.60.238:5066;
#

I tested everything i found and the problem still exists. is there any way?
Thanks in advance.

I installed a fresh BBB using step by step instructions, and enabling the demo site.

Now when I og to
https://xxx-bbb.duckdns.org

it presents the login screen, I put the username and it connects to the demo server. I do get the ERROR 1006 as in subject (tried Opera, Chrome and Firefox) .
The camera is sharing and working fine. The audio not

p.s. in Opera and Chrome I see the audio, video, and screen sharing. In Firefox the screen sharing is not present)


# bbb-conf --check

BigBlueButton Server 2.2.0-rc-3 (1651)
                    Kernel version: 4.4.0-171-generic
                      Distribution: Ubuntu 16.04.6 LTS (64-bit)
                            Memory: 4250 MB
                         CPU cores: 4

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

/etc/nginx/sites-available/bigbluebutton (nginx)
                       server name: xxx-bbb.duckdns.org
                              port: 80, [::]:80
                    bbb-client dir: /var/www/bigbluebutton

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

/opt/freeswitch/etc/freeswitch/vars.xml (FreeSWITCH)
                       local_ip_v4: 192.168.1.6
                   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: :7443

/usr/local/bigbluebutton/core/scripts/bigbluebutton.yml (record and playback)
                     playback_host: xxx-bbb.duckdns.org
                 playback_protocol: https
                            ffmpeg: 4.2.2-1bbb1~ubuntu16.04

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

/usr/local/bigbluebutton/bbb-webrtc-sfu/config/default.yml (Kurento SFU)
                        kurento.ip: 192.168.1.6
                       kurento.url: ws://127.0.0.1:8888/kurento
                    localIpAddress: 192.168.1.6
               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: 815
                        kurentoUrl: wss://xxx-bbb.duckdns.org/bbb-webrtc-sfu
                  enableListenOnly: true


# Potential problems described below
# IP does not match:
#                           IP from ifconfig: 192.168.1.6
#   /etc/nginx/sites-available/bigbluebutton: xxx-bbb.duckdns.org
# Warning: API URL IPs do not match host:
#
#                                IP from ifconfig: 192.168.1.6
#  /var/lib/tomcat7/demo/bbb_api_conf.jsp: xxx-bbb.duckdns.org


# Error: Unable to connect to port 1935 (RTMP) on xxx-bbb.duckdns.org

# Warning: The API demos are installed and accessible from:
#
#    https://xxx-bbb.duckdns.org
#
# and
#
#    https://xxx-bbb.duckdns.org/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:
#
#    apt-get purge bbb-demo

# Warning: The IMS Learning Tools Integration (LTI) is accessible from:
#
#    https://xxx-bbb.duckdns.org/lti/tool
#
# To get the access parameters for LTI, run the command
#
#    bbb-conf --lti

# Warning: You have this server defined for https, but in
#
#   /etc/bigbluebutton/nginx/sip.nginx
#
#  did not find the use of https in definition for proxy_pass
#
#            proxy_pass http://192.168.1.6:5066;
#

# Warning: You have this server defined for https, but in
#
#   /etc/bigbluebutton/nginx/sip.nginx
#
#  did not find the use of port 7443 in definition for proxy_pass
#
#            proxy_pass http://192.168.1.6:5066;
#
root@ubuntu-bbb:~/greenlight#



Describe the bug
Facing the issue after installation of BBB, when tried with mic enable getting error like, call timeout (error 1006)

Installation type
bbb-install script

Firewall and IP address type
My server behind a firewall. BBB server have its own IPv4 address.

BBB server ( private address XX and public address YY ) <—> Gateway and Firewall ( Private address AA & Public address BB ) <—> Client call YY ( bbb server public address YY)

Console output

INVITE sip:echo76786@xx.xxx.xxx.in SIP/2.0
Via: SIP/2.0/WS o8t73uhkqq1j.invalid;branch=z9hG4bK7361143
To: <sip:echo76786@xx.xxx.xxx.xx.in>
From: "w_hmva0cmz3m2j_2-bbbID-User 1806378" <sip:w_hmva0cmz3m2j_2-bbbID-User%201806378@xxx.xxx.xxx.xx.in>;tag=09vngs2mi4
CSeq: 1 INVITE
Call-ID: h0vslq467plrvebp1e23
.....

After 20 sec. call timeout (error 1006)

Additional context
When I click on mic then wait till 20 sec but no log in freeswitch too.
/opt/freeswitch/log/freeswitch.log

Also, my camera is working fine. ( Kurento )

bbb-conf --check

BigBlueButton Server 2.2.31 (2307)
                    Kernel version: 4.4.0-198-generic
                      Distribution: Ubuntu 16.04.7 LTS (64-bit)
                            Memory: 10205 MB
                         CPU cores: 8

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

/etc/nginx/sites-available/bigbluebutton (nginx)
                       server_name: BBB_SERVER_PUBLIC_DOMAIN
                              port: 80, [::]:80
                              port: 443 ssl

/opt/freeswitch/etc/freeswitch/vars.xml (FreeSWITCH)
                       local_ip_v4: BBB_SERVER_PRIVATE_IP
                   external_rtp_ip: STUN_SERVER
                   external_sip_ip: STUN_SERVER

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

/usr/local/bigbluebutton/core/scripts/bigbluebutton.yml (record and playback)
                     playback_host: BBB_SERVER_HOST
                 playback_protocol: https
                            ffmpeg: 4.2.4-1ubuntu0.1bbb1~16.04.1

/etc/bigbluebutton/nginx/sip.nginx (sip.nginx)
                        proxy_pass: BBB_SERVER_PUBLIC_IP
                          protocol: https

/usr/local/bigbluebutton/bbb-webrtc-sfu/config/default.yml (Kurento SFU)
                        kurento.ip: BBB_SERVER_PUBLIC_IP
                       kurento.url: ws://127.0.0.1:8888/kurento
                    kurento.sip_ip: BBB_SERVER_PRIVATE_IP
                    localIpAddress: BBB_SERVER_PRIVATE_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)
                             build: 1114
                        kurentoUrl: wss://BBB-DOMAIN/bbb-webrtc-sfu
                  enableListenOnly: true
                    sipjsHackViaWs: true

/usr/share/bbb-web/WEB-INF/classes/spring/turn-stun-servers.xml (STUN Server)
                              stun:xxx.xxxx.xx

I have installed bigbluebutton on my serverand it was working properly but suddenly microphone can not connect anymore and after a while being stucked in «echo test» i’ll get 1006 error and i have tested:

FreeSWITCH fails to bind to IPV4Anchor link for: freeswitch fails to bind to ipv4

In rare occasions after shutdown/restart, the FreeSWITCH database can get corrupted. This will cause FreeSWITCH to have problems binding to IPV4 address (you may see error 1006 when users try to connect).

To check, look in /opt/freeswitch/var/log/freeswitch/freeswitch.log for errors related to loading the database.

2018-10-25 11:05:11.444727 [ERR] switch_core_db.c:108 SQL ERR [unsupported file format]
2018-10-25 11:05:11.444737 [ERR] switch_core_db.c:223 SQL ERR [unsupported file format]
2018-10-25 11:05:11.444759 [NOTICE] sofia.c:5949 Started Profile internal-ipv6 [sofia_reg_internal-ipv6]
2018-10-25 11:05:11.444767 [CRIT] switch_core_sqldb.c:508 Failure to connect to CORE_DB sofia_reg_external!
2018-10-25 11:05:11.444772 [CRIT] sofia.c:3049 Cannot Open SQL Database [external]!

If you see these errors, clear the FreeSWITCH database (BigBlueButton doesn’t use the database and FreeSWITCH will recreate it on startup).

$ sudo systemctl stop freeswitch
$ rm -rf /opt/freeswitch/var/lib/freeswitch/db/*
$ sudo systemctl start freeswitch

but it doesn’t solve the problem.

this is output of bbb-conf --check:

BigBlueButton Server 2.2.20 (2037)
                    Kernel version: 4.4.0-185-generic
                      Distribution: Ubuntu 16.04.6 LTS (64-bit)
                            Memory: 4045 MB
                         CPU cores: 4

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

/etc/nginx/sites-available/bigbluebutton (nginx)
                       server name: 49.12.60.238
                              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://online.vikipoyan.ir
                              red5: online.vikipoyan.ir
              useWebrtcIfAvailable: true

/opt/freeswitch/etc/freeswitch/vars.xml (FreeSWITCH)
                       local_ip_v4: 49.12.60.238
                   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: :7443

/usr/local/bigbluebutton/core/scripts/bigbluebutton.yml (record and playback)
                     playback_host: online.vikipoyan.ir
                 playback_protocol: https
                            ffmpeg: 4.2.2-1bbb1~ubuntu16.04

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

/usr/local/bigbluebutton/bbb-webrtc-sfu/config/default.yml (Kurento SFU)
                        kurento.ip: 49.12.60.238
                       kurento.url: ws://127.0.0.1:8888/kurento
                    kurento.sip_ip: 49.12.60.238
                    localIpAddress: 49.12.60.238
               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: 968
                        kurentoUrl: wss://online.vikipoyan.ir/bbb-webrtc-sfu
                  enableListenOnly: true


# Potential problems described below
# Warning: API URL IPs do not match host:
#
#                                IP from ifconfig: 49.12.60.238
#  /var/lib/tomcat7/demo/bbb_api_conf.jsp: online.vikipoyan.ir


# Warning: The API demos are installed and accessible from:
#
#    https://online.vikipoyan.ir
#
# and
#
#    https://online.vikipoyan.ir/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:
#
#    apt-get purge bbb-demo

# Warning: You have this server defined for https, but in
#
#   /etc/bigbluebutton/nginx/sip.nginx
#
#  did not find the use of https in definition for proxy_pass
#
#            proxy_pass http://49.12.60.238:5066;
#

# Warning: You have this server defined for https, but in
#
#   /etc/bigbluebutton/nginx/sip.nginx
#
#  did not find the use of port 7443 in definition for proxy_pass
#
#            proxy_pass http://49.12.60.238:5066;
#

I tested everything i found and the problem still exists. is there any way?
Thanks in advance.

Problem Recently lots of BigBlueButton administrators have reported Call Timed Out 1006 errors while using BigBlueButton, especially on a Chrome Browser.  If you use the latest version of (96.0.4664.93) to join a BigBlueButton session, then while checking the microphone option, you may face the Call Timeout Error 1006.  1006 is a WebRTC error. Because of […]

Problem

Recently lots of BigBlueButton administrators have reported Call Timed Out 1006 errors while using BigBlueButton, especially on a Chrome Browser. 

If you use the latest version of (96.0.4664.93) to join a BigBlueButton session, then while checking the microphone option, you may face the Call Timeout Error 1006. 

1006 is a WebRTC error. Because of this error your users won’t be able to join a call with the microphones. 

This error happens even when you have your BigBlueButton server configured with a Turn server. 

Please be mindful that this error will occur even when you have given the right permission to the Chrome browser. 

On another note, this error doesn’t occur while using Firefox or Edge browser. 

Resolution

  • You need to upgrade your BigBlueButton server to the latest stable version (2.3.16). 
  • If you have been running BigBlueButton 2.2.x on a Ubuntu 16.x server, it’s high time that you first upgrade to Ubuntu 18.x and install the latest stable version of BigBlueButton. 
  • Don’t forget to keep a backup of all your recordings and custom configurations. 
  • After upgrading, you should be able to join your BigBlueButton classes on a Chrome browser. 

Rational

  • Chrome browser was supporting plan B SDP method for WebRTC connections. Now Plan B is getting removed from the latest version of the Chrome browser. 
  • So the old versions of BigBlueButton servers, which depend on Plan B for WebRTC connection, would throw Call Timeout 1006 error. 
  • This issue is restricted to the latest version of the Chrome browser. 
  • For any reasons, if you are not able to upgrade your BigBlueButton to the latest version, or worse, upgrade to Ubuntu 18.x, you may advise your users to join classes over Firefox or Safari.

BigBlueButton is an opensource video conference software that is becoming increasingly popular during the COVID-19 period. Every day, millions of people take classes online. Users may encounter error codes such as 1001,1006,1007,1020… What does this mean? What should be checked and how should it be fixed?

The advantage of web-based software is that there is no need to download and install anything; simply use a browser, which is very convenient and compatible with all devices. However, the user must configure the browser correctly, and the developer must configure the server correctly as well. Otherwise, error messages will be displayed.

We’ve listed the majority of the most common error messages along with the code to make it easier for you to look up and understand what’s going on when those error messages appear.

1001: WebSocket disconnected — The WebSocket had connected successfully and has now disconnected. 

What need to check: 

  • internet connection 

1002: Could not make a WebSocket connection — The initial WebSocket connection was unsuccessful. 

What need to check: 

  • The firewall may block was protocol, 
  • The server may go down or improperly configured

1003: Browser version not supported — Browser doesn’t implement the necessary WebRTC API methods. 

What needs to check: 

  • Is it the latest version of Chrome, Firefox, or Safari? 

1004: Failure on call — The call was attempted, but failed. 

What needs to check: 

  • A version of Freeswitch for BBB

1005: Call ended unexpectedly — The call was successful but ended without the user requesting to end the session.

What needs to check: 

  • Server down 

1006: Call timed out — The library took too long to try and connect the call.

What needs to check: 

  • Is it the latest version of Chrome, Firefox, or Safari? 

1007: ICE negotiation failed — The browser and FreeSWITCH try to negotiate ports to use to stream the media and that negotiation failed. 

What needs to check: 

  • TURN Server configuration

1008: Call transfer failed — A timeout while waiting for FreeSWITCH to transfer from the echo test to the real conference. 

What needs to check: 

  • FreeSWITCH Configuration 

1009: Could not fetch STUN/TURN server information 

What needs to check: 

  • BigBlueButton Version
  • Network 

1010: ICE negotiation timeout 

What needs to check: 

  • Network 

1020: Media cloud could not reach the server 

 What needs to check:

  • Is server overloaded

Those are common BigBlueButton error codes; I’m sure if you’re a BigBlueButton user, you’ve seen them at some point. Also, thanks to the BigBlueButton Developer Community, some of the data is from the official BigBlueButton development document. We listed it here and added some of our own thoughts and experiences to it. I just wanted to make it easier for you to look up that code and hope it helps you detect and fix the problem. If you want to learn more about BigBlueButton troubleshooting, you can visit the official development document at this link.

https://docs.bigbluebutton.org/2.2/troubleshooting.html#Troubleshooting_

If you require additional assistance in resolving those error messages, please contact us via the support channel.

BigBlueButton Server 2.2.20 (2037)
                    Kernel version: 4.4.0-185-generic
                      Distribution: Ubuntu 16.04.6 LTS (64-bit)
                            Memory: 8171 MB
                         CPU cores: 4

/usr/share/bbb-web/WEB-INF/classes/bigbluebutton.properties (bbb-web)
       bigbluebutton.web.serverURL: http://link.website.com
               defaultGuestPolicy: ALWAYS_ACCEPT
                 svgImagesRequired: true

/etc/nginx/sites-available/bigbluebutton (nginx)
                       server name: link.website/com
                              port: 80, [::]:80
                    bbb-client dir: /var/www/bigbluebutton

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

/opt/freeswitch/etc/freeswitch/vars.xml (FreeSWITCH)
                       local_ip_v4: 10.65.64.3
                   external_rtp_ip: 51.15.140.38
                   external_sip_ip: 51.15.140.38

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

/usr/local/bigbluebutton/core/scripts/bigbluebutton.yml (record and playback)
                     playback_host: link.website.com
                 playback_protocol: http
                            ffmpeg: 4.2.2-1bbb1~ubuntu16.04

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

/usr/local/bigbluebutton/bbb-webrtc-sfu/config/default.yml (Kurento SFU)
                        kurento.ip: 51.15.140.38
                       kurento.url: ws://127.0.0.1:8888/kurento
                    kurento.sip_ip: 10.65.64.3
                    localIpAddress: 10.70.58.25
               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: 968
                        kurentoUrl: ws://link.website.com/bbb-webrtc-sfu
                  enableListenOnly: true

Describe the bug
Users joining a conference, being able to choose their name, came probably to the idea to express their mood by an ASCII-emoji. So instead of Paul, they used Mahmoud :: After joining a conference the echo test fails with error 1006,
names like :

  1. Mahmoud ::
  2. Mahmoud :/
  3. Mahmoud :,:,

Not working with fails error 1006

To Reproduce
Steps to reproduce the behavior:

  1. Join meeting with any name like Mahmoud :: … etc
  2. Click on Join audio confrance
  3. See error 1006

Expected behavior
Join audio conference without error
Actual behavior
Error 1006

BBB version:
BigBlueButton Server 2.5.5

Desktop (please complete the following information):

  • OS: Ubuntu
  • Browser Chrome

mokazemi opened this issue a year ago · comments

Describe the bug
I installed recent BBB upgrades to 2.4-rc-7 by running sudo apt upgrade. Before than, We’ve been using 2.4-rc-5 on the server and it was working fine.
But now people can’t join the meeting with microphone and gets «1006: Call timed out» error after a while trying to connect.
Everyone can only enter as a listener, even after a lot of attempts.

Additional context
Version: BigBlueButton Server 2.4-rc-7 (2776)

Here’s in the output of sudo bbb-conf --check:

# Potential problems described below
..............
# Warning: You have this server defined for https, but in
#
#   /etc/bigbluebutton/nginx/sip.nginx
#
#  did not find the use of https in definition for proxy_pass
#
#            proxy_pass http://130.185.75.197:5066;
#

# Warning: You have this server defined for https, but in
#
#   /etc/bigbluebutton/nginx/sip.nginx
#
#  did not find the use of port 7443 in definition for proxy_pass
#
#            proxy_pass http://130.185.75.197:5066;
#

set settings.yml > sipjsHackViaWs: true and restart

And please use the bbb-install script to update your server. apt-get only deploys the standard config file templates and overwrites some of the existing configuration. bbb-install will fix that afterwards and adapt the newly installed config files to your needs.

and where tf do we find that ?

root@bbb-upfuckedserver ➜ ~ bbb
bbb-apps-akka bbb-conf bbb-fsesl-akka bbb-record

and where tf do we find that ?

root@bbb-upfuckedserver ➜ ~ bbb bbb-apps-akka bbb-conf bbb-fsesl-akka bbb-record

Here you go : /usr/share/meteor/bundle/programs/server/assets/app/config/settings.yml

Thanks. Both solutions worked.

error 1006 comes out after join audio with microphone. listen only, screenshare, camera works well
reinstalled bbb several times, does not help. test.bigbluebutton.org works well on same computer.
bbb-conf —check

BigBlueButton Server 2.2.33 (2347)
Kernel version: 4.4.0-203-generic
Distribution: Ubuntu 16.04.7 LTS (64-bit)
Memory: 32864 MB
CPU cores: 8

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

/etc/nginx/sites-available/bigbluebutton (nginx)
server_name: sub.mydomain.com
port: 80, [::]:80
port: 443 ssl

/opt/freeswitch/etc/freeswitch/vars.xml (FreeSWITCH)
local_ip_v4: mylocalip
external_rtp_ip: mypublicip
external_sip_ip: mypublicip

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

/usr/local/bigbluebutton/core/scripts/bigbluebutton.yml (record and playback)
playback_host: sub.mydomain.com
playback_protocol: https
ffmpeg: 4.2.4-1ubuntu0.1bbb1~16.04.1

/etc/bigbluebutton/nginx/sip.nginx (sip.nginx)
proxy_pass:
protocol: https

/usr/local/bigbluebutton/bbb-webrtc-sfu/config/default.yml (Kurento SFU)
kurento.ip: mylocalip
kurento.url: ws://127.0.0.1:8888/kurento
kurento.sip_ip: mylocalip
localIpAddress: mylocalip
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: 1140
kurentoUrl: wss://sub.mydomain.com/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

Potential problems described below

Warning: The API demos are installed and accessible from:

and

https://sub.mydomain.com/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:

Recommend Projects

  • React photo

    React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo

    Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo

    Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo

    TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo

    Django

    The Web framework for perfectionists with deadlines.

  • Laravel photo

    Laravel

    A PHP framework for web artisans

  • D3 photo

    D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Visualization

    Some thing interesting about visualization, use data art

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo

    Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo

    Microsoft

    Open source projects and samples from Microsoft.

  • Google photo

    Google

    Google ❤️ Open Source for everyone.

  • Alibaba photo

    Alibaba

    Alibaba Open Source for everyone

  • D3 photo

    D3

    Data-Driven Documents codes.

  • Tencent photo

    Tencent

    China tencent open source team.

run the command:

sudo nano /etc/bigbluebutton/nginx/sip.nginx

something like this will open:

    location /ws {
        proxy_pass http://49.12.60.238:4066;
        proxy_http_version 1.1;
        proxy_set_header Upgrade $http_upgrade;
        proxy_set_header Connection "Upgrade";
        proxy_read_timeout 6h;
        proxy_send_timeout 6h;
        client_body_timeout 6h;
        send_timeout 6h;
}

change the (proxy_pass http://…) line to the following:

proxy_pass https://49.12.60.238:7443;

Comments

  • I have installed bigbluebutton on my serverand it was working properly but suddenly microphone can not connect anymore and after a while being stucked in «echo test» i’ll get 1006 error and i have tested:

    FreeSWITCH fails to bind to IPV4Anchor link for: freeswitch fails to bind to ipv4
    
    In rare occasions after shutdown/restart, the FreeSWITCH database can get corrupted. This will cause FreeSWITCH to have problems binding to IPV4 address (you may see error 1006 when users try to connect).
    
    To check, look in /opt/freeswitch/var/log/freeswitch/freeswitch.log for errors related to loading the database.
    
    2018-10-25 11:05:11.444727 [ERR] switch_core_db.c:108 SQL ERR [unsupported file format]
    2018-10-25 11:05:11.444737 [ERR] switch_core_db.c:223 SQL ERR [unsupported file format]
    2018-10-25 11:05:11.444759 [NOTICE] sofia.c:5949 Started Profile internal-ipv6 [sofia_reg_internal-ipv6]
    2018-10-25 11:05:11.444767 [CRIT] switch_core_sqldb.c:508 Failure to connect to CORE_DB sofia_reg_external!
    2018-10-25 11:05:11.444772 [CRIT] sofia.c:3049 Cannot Open SQL Database [external]!
    
    If you see these errors, clear the FreeSWITCH database (BigBlueButton doesn’t use the database and FreeSWITCH will recreate it on startup).
    
    $ sudo systemctl stop freeswitch
    $ rm -rf /opt/freeswitch/var/lib/freeswitch/db/*
    $ sudo systemctl start freeswitch
    

    but it doesn’t solve the problem.

    this is output of bbb-conf --check:

    BigBlueButton Server 2.2.20 (2037)
                        Kernel version: 4.4.0-185-generic
                          Distribution: Ubuntu 16.04.6 LTS (64-bit)
                                Memory: 4045 MB
                             CPU cores: 4
    
    /usr/share/bbb-web/WEB-INF/classes/bigbluebutton.properties (bbb-web)
           bigbluebutton.web.serverURL: https://online.vikipoyan.ir
                    defaultGuestPolicy: ALWAYS_ACCEPT
                     svgImagesRequired: true
    
    /etc/nginx/sites-available/bigbluebutton (nginx)
                           server name: 49.12.60.238
                                  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://online.vikipoyan.ir
                                  red5: online.vikipoyan.ir
                  useWebrtcIfAvailable: true
    
    /opt/freeswitch/etc/freeswitch/vars.xml (FreeSWITCH)
                           local_ip_v4: 49.12.60.238
                       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: :7443
    
    /usr/local/bigbluebutton/core/scripts/bigbluebutton.yml (record and playback)
                         playback_host: online.vikipoyan.ir
                     playback_protocol: https
                                ffmpeg: 4.2.2-1bbb1~ubuntu16.04
    
    /etc/bigbluebutton/nginx/sip.nginx (sip.nginx)
                            proxy_pass: 49.12.60.238
    
    /usr/local/bigbluebutton/bbb-webrtc-sfu/config/default.yml (Kurento SFU)
                            kurento.ip: 49.12.60.238
                           kurento.url: ws://127.0.0.1:8888/kurento
                        kurento.sip_ip: 49.12.60.238
                        localIpAddress: 49.12.60.238
                   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: 968
                            kurentoUrl: wss://online.vikipoyan.ir/bbb-webrtc-sfu
                      enableListenOnly: true
    
    
    # Potential problems described below
    # Warning: API URL IPs do not match host:
    #
    #                                IP from ifconfig: 49.12.60.238
    #  /var/lib/tomcat7/demo/bbb_api_conf.jsp: online.vikipoyan.ir
    
    
    # Warning: The API demos are installed and accessible from:
    #
    #    https://online.vikipoyan.ir
    #
    # and
    #
    #    https://online.vikipoyan.ir/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:
    #
    #    apt-get purge bbb-demo
    
    # Warning: You have this server defined for https, but in
    #
    #   /etc/bigbluebutton/nginx/sip.nginx
    #
    #  did not find the use of https in definition for proxy_pass
    #
    #            proxy_pass http://49.12.60.238:5066;
    #
    
    # Warning: You have this server defined for https, but in
    #
    #   /etc/bigbluebutton/nginx/sip.nginx
    #
    #  did not find the use of port 7443 in definition for proxy_pass
    #
    #            proxy_pass http://49.12.60.238:5066;
    #
    

    I tested everything i found and the problem still exists. is there any way?
    Thanks in advance.

  • I solved it a long time ago but thank you by the way.

Recents

Возможно, вам также будет интересно:

  • Ошибка 10054 варфрейм как устранить
  • Ошибка 1005 ошибка подключения к компьютеру
  • Ошибка 1005 на айфоне что это
  • Ошибка 10048 address already in use
  • Ошибка 1004 при установке игры

  • Понравилась статья? Поделить с друзьями:
    0 0 голоса
    Рейтинг статьи
    Подписаться
    Уведомить о
    guest

    0 комментариев
    Старые
    Новые Популярные
    Межтекстовые Отзывы
    Посмотреть все комментарии