Error could not connect to the configured hostname ip address

Friends, My installation was working correctly, but now has an error. Here is the error: # Potential problems described below # Not running: tomcat7 or grails LibreOffice .............................

Thanks Fred.

Here is the «snippet» of /var/log/nginx/bigbluebutton.access.log

xxx.xxx.xxx.xxx - - [29/Oct/2019:06:10:58 -0600] "GET /bigbluebutton/api/ HTTP/1.1" 404 209 "https://mconf.github.io/api-mate/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36"
xxx.xxx.xxx.xxx - - [29/Oct/2019:06:10:59 -0600] "GET /bigbluebutton/api/ HTTP/1.1" 404 209 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36"
xxx.xxx.xxx.xxx - - [29/Oct/2019:06:11:05 -0600] "GET /bigbluebutton/api/create?allowStartStopRecording=true&attendeePW=ap&autoStartRecording=false&logoutURL=https%3A%2F%2Freuniaofacil.com.br%2F&meetingID=random-7228250&moderatorPW=mp&name=random-7228250&record=false&voiceBridge=75897&welcome=%3Cbr%3EWelcome+to+%3Cb%3E%25%25CONFNAME%25%25%3C%2Fb%3E%21&checksum=d68e664f22b0b5acd743a5f177966f5e30a4c8cb HTTP/1.1" 404 209 "https://mconf.github.io/api-mate/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36"

Here is the «snippet» of /var/log/nginx/error.log

2019/10/29 06:10:58 [error] 1450#1450: *377 open() "/var/www/nginx-default/50x.html" failed (2: No such file or directory), client: xxx.xxx.xxx.xxx, server: myserver.com, request: "GET /bigbluebutton/api/ HTTP/1.1", upstream: "http://127.0.0.1:8090/bigbluebutton/api/", host: "myserver.com", referrer: "https://mconf.github.io/api-mate/"
2019/10/29 06:10:59 [error] 1450#1450: *377 open() "/var/www/nginx-default/50x.html" failed (2: No such file or directory), client: xxx.xxx.xxx.xxx, server: myserver.com, request: "GET /bigbluebutton/api/ HTTP/1.1", upstream: "http://127.0.0.1:8090/bigbluebutton/api/", host: "myserver.com"
2019/10/29 06:11:05 [error] 1450#1450: *377 connect() failed (111: Connection refused) while connecting to upstream, client: xxx.xxx.xxx.xxx, server: myserver.com, request: "GET /bigbluebutton/api/create?allowStartStopRecording=true&attendeePW=ap&autoStartRecording=false&logoutURL=https%3A%2F%2Freuniaofacil.com.br%2F&meetingID=random-7228250&moderatorPW=mp&name=random-7228250&record=false&voiceBridge=75897&welcome=%3Cbr%3EWelcome+to+%3Cb%3E%25%25CONFNAME%25%25%3C%2Fb%3E%21&checksum=d68e664f22b0b5acd743a5f177966f5e30a4c8cb HTTP/1.1", upstream: "http://127.0.0.1:8090/bigbluebutton/api/create?allowStartStopRecording=true&attendeePW=ap&autoStartRecording=false&logoutURL=https%3A%2F%2Freuniaofacil.com.br%2F&meetingID=random-7228250&moderatorPW=mp&name=random-7228250&record=false&voiceBridge=75897&welcome=%3Cbr%3EWelcome+to+%3Cb%3E%25%25CONFNAME%25%25%3C%2Fb%3E%21&checksum=d68e664f22b0b5acd743a5f177966f5e30a4c8cb", host: "myserver.com", referrer: "https://mconf.github.io/api-mate/"

I checked the nginx configuration files, but everything seems to be correct.

The default site is working.
image

However, the https://myserver.com/bigbluebutton/ page does not work.

image

The error can also be observed in:
https://myserver.com/bigbluebutton/api/create
https://myserver.com/bigbluebutton/api/join
https://myserver.com/bigbluebutton/api/isMeetingRunning
and so on.

I studied the log lines, but did not identify the error.
Looking for another possible issue, I found that tomcat7 does not appear anywhere.
Not seen in output from #sudo bbb-conf —status tomcat7 ———————————————► [✔ - active] .

Here is the output from #sudo bbb-conf —status

red5 ——————————————————► [✔ - active]
nginx —————————————————► [✔ - active]
freeswitch ————————————► [✔ - active]
redis-server ——————————► [✔ - active]
bbb-apps-akka —————————► [✔ - active]
bbb-transcode-akka ————► [✔ - active]
bbb-fsesl-akka ————————► [✔ - active]
mongod ————————————————► [✔ - active]
bbb-html5 —————————————► [✔ - active]
bbb-webrtc-sfu ————————► [✔ - active]
kurento-media-server ——► [✔ - active]
etherpad ——————————————► [✔ - active]
bbb-web ———————————————► [✔ - active]

I checked the tomcat7 configuration files and found nothing. I didn’t even find the folder as described in: BigBlueButton Docs
The /var/lib/tomcat7 folder does not exist and consequently neither does the file.
There is also no log file /var/log/tomcat7

Now i don’t know what to do

Can you please help in solving the problem?

Regards
Samuel Peixoto

my BigBlueButton installation worked but now i get the following error:

Potential problems described below ................................................................................ Error: Could not connect to the configured hostname/IP address #https:/myserver.com/ #If your BigBlueButton server is behind a firewall, see FAQ.

Trying to open this URL with my Browser works perfect.

Output of the #sudo bbb-conf —check:

BigBlueButton Server 2.5.8 (3139) Kernel version: 5.4.0-132-generic Distribution: Ubuntu 20.04.5 LTS (64-bit) Memory: 8148 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: http://myserver.com defaultGuestPolicy: ALWAYS_ACCEPT svgImagesRequired: true defaultMeetingLayout: CUSTOM_LAYOUT

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

/opt/freeswitch/etc/freeswitch/vars.xml (FreeSWITCH) local_ip_v4: xxx.xxx.xxx.xxx external_rtp_ip: xxx.xxx.xxx.xxx external_sip_ip: xxx.xxx.xxx.xxx
/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: myserver.com playback_protocol: http ffmpeg: 4.2.7-0ubuntu0.1

/usr/share/bigbluebutton/nginx/sip.nginx (sip.nginx) proxy_pass: xxx.xxx.xxx.xxx 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: xxx.xxx.xxx.xxx kurento.url: ws://127.0.0.1:8888/kurento kurento.sip_ip: xxx.xxx.xxx.xxx 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: 2870 kurentoUrl: wss://myserver.com/bbb-webrtc-sfu enableListenOnly: true sipjsHackViaWs: false

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

Output of #sudo bbb-conf —status:

nginx —————————————————► [✔ - active] freeswitch ————————————► [✔ - active] redis-server ——————————► [✔ - active] bbb-apps-akka —————————► [✔ - active] bbb-fsesl-akka ————————► [✔ - active] mongod ————————————————► [✔ - active] bbb-html5 —————————————► [✔ - active] bbb-webrtc-sfu ————————► [✔ - active] kurento-media-server ——► [✔ - active] bbb-html5-backend@1 ———► [✔ - active] bbb-html5-backend@2 ———► [✔ - active] bbb-html5-frontend@1 ——► [✔ - active] bbb-html5-frontend@2 ——► [✔ - active] etherpad ——————————————► [✔ - active] bbb-web ———————————————► [✔ - active] bbb-pads ——————————————► [✔ - active] bbb-rap-caption-inbox —► [✔ - active] bbb-rap-resque-worker —► [✔ - active] bbb-rap-starter ———————► [✔ - active]

Considering the /var/log/nginx folder:
The bigbluebutton.access.log is empty, but the error.log (after trying to create a session one time):

2022/11/29 12:44:41 [error] 756#756: *84 FastCGI sent in stderr: "PHP message: PHP Fatal error: Uncaught RuntimeException: Unhandled curl error: Could not resolve host: api in /home/yoshi/bbb/vendo> Stack trace: #0 /home/yoshi/bbb/vendor/bigbluebutton/bigbluebutton-api-php/src/BigBlueButton.php(115): BigBlueButtonBigBlueButton->processXmlResponse() #1 /var/www/bigbluebutton-default/test/join-bbb.php(28): BigBlueButtonBigBlueButton->createMeeting() #2 {main} thrown in /home/yoshi/bbb/vendor/bigbluebutton/bigbluebutton-api-php/src/BigBlueButton.php on line 487" while reading response header from upstream, client: 95.222.25.68, server: bbb.v220221118737>

Firewall:

Firewall Configuration

Would be glad if you can help me with my problem.

Regards
Yoshi

Since the error is coming back from nginx, you can check the bigbluebutton.access.log and error.log files in /var/log/nginx for clues.

Thanks Fred.

Here is the «snippet» of /var/log/nginx/bigbluebutton.access.log

xxx.xxx.xxx.xxx - - [29/Oct/2019:06:10:58 -0600] "GET /bigbluebutton/api/ HTTP/1.1" 404 209 "https://mconf.github.io/api-mate/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36"
xxx.xxx.xxx.xxx - - [29/Oct/2019:06:10:59 -0600] "GET /bigbluebutton/api/ HTTP/1.1" 404 209 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36"
xxx.xxx.xxx.xxx - - [29/Oct/2019:06:11:05 -0600] "GET /bigbluebutton/api/create?allowStartStopRecording=true&attendeePW=ap&autoStartRecording=false&logoutURL=https%3A%2F%2Freuniaofacil.com.br%2F&meetingID=random-7228250&moderatorPW=mp&name=random-7228250&record=false&voiceBridge=75897&welcome=%3Cbr%3EWelcome+to+%3Cb%3E%25%25CONFNAME%25%25%3C%2Fb%3E%21&checksum=d68e664f22b0b5acd743a5f177966f5e30a4c8cb HTTP/1.1" 404 209 "https://mconf.github.io/api-mate/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.70 Safari/537.36"

Here is the «snippet» of /var/log/nginx/error.log

2019/10/29 06:10:58 [error] 1450#1450: *377 open() "/var/www/nginx-default/50x.html" failed (2: No such file or directory), client: xxx.xxx.xxx.xxx, server: myserver.com, request: "GET /bigbluebutton/api/ HTTP/1.1", upstream: "http://127.0.0.1:8090/bigbluebutton/api/", host: "myserver.com", referrer: "https://mconf.github.io/api-mate/"
2019/10/29 06:10:59 [error] 1450#1450: *377 open() "/var/www/nginx-default/50x.html" failed (2: No such file or directory), client: xxx.xxx.xxx.xxx, server: myserver.com, request: "GET /bigbluebutton/api/ HTTP/1.1", upstream: "http://127.0.0.1:8090/bigbluebutton/api/", host: "myserver.com"
2019/10/29 06:11:05 [error] 1450#1450: *377 connect() failed (111: Connection refused) while connecting to upstream, client: xxx.xxx.xxx.xxx, server: myserver.com, request: "GET /bigbluebutton/api/create?allowStartStopRecording=true&attendeePW=ap&autoStartRecording=false&logoutURL=https%3A%2F%2Freuniaofacil.com.br%2F&meetingID=random-7228250&moderatorPW=mp&name=random-7228250&record=false&voiceBridge=75897&welcome=%3Cbr%3EWelcome+to+%3Cb%3E%25%25CONFNAME%25%25%3C%2Fb%3E%21&checksum=d68e664f22b0b5acd743a5f177966f5e30a4c8cb HTTP/1.1", upstream: "http://127.0.0.1:8090/bigbluebutton/api/create?allowStartStopRecording=true&attendeePW=ap&autoStartRecording=false&logoutURL=https%3A%2F%2Freuniaofacil.com.br%2F&meetingID=random-7228250&moderatorPW=mp&name=random-7228250&record=false&voiceBridge=75897&welcome=%3Cbr%3EWelcome+to+%3Cb%3E%25%25CONFNAME%25%25%3C%2Fb%3E%21&checksum=d68e664f22b0b5acd743a5f177966f5e30a4c8cb", host: "myserver.com", referrer: "https://mconf.github.io/api-mate/"

I checked the nginx configuration files, but everything seems to be correct.

The default site is working.
image

However, the https://myserver.com/bigbluebutton/ page does not work.

image

The error can also be observed in:
https://myserver.com/bigbluebutton/api/create
https://myserver.com/bigbluebutton/api/join
https://myserver.com/bigbluebutton/api/isMeetingRunning
and so on.

I studied the log lines, but did not identify the error.
Looking for another possible issue, I found that tomcat7 does not appear anywhere.
Not seen in output from #sudo bbb-conf —status tomcat7 ———————————————► [✔ - active] .

Here is the output from #sudo bbb-conf —status

red5 ——————————————————► [✔ - active]
nginx —————————————————► [✔ - active]
freeswitch ————————————► [✔ - active]
redis-server ——————————► [✔ - active]
bbb-apps-akka —————————► [✔ - active]
bbb-transcode-akka ————► [✔ - active]
bbb-fsesl-akka ————————► [✔ - active]
mongod ————————————————► [✔ - active]
bbb-html5 —————————————► [✔ - active]
bbb-webrtc-sfu ————————► [✔ - active]
kurento-media-server ——► [✔ - active]
etherpad ——————————————► [✔ - active]
bbb-web ———————————————► [✔ - active]

I checked the tomcat7 configuration files and found nothing. I didn’t even find the folder as described in: BigBlueButton Docs
The /var/lib/tomcat7 folder does not exist and consequently neither does the file.
There is also no log file /var/log/tomcat7

Now i don’t know what to do

Can you please help in solving the problem?

Regards
Samuel Peixoto

I did some checks, restarted the server and everything works now.

Thanks.

Hi there,
How did you manage to solve the problem?

I finish installing with bb-install and everything ends correctly and everything works perfectly but when I restart the server it gives me the same error that you describe.

Hello,
I have a similar problem but when I put the url on browser its show me the page. Before set ssl it was working ok but yesterday when i but ssl stop working.
Thanks in advance.

I am getting this same error after setting up separate TURN server and using its domain into this file
/usr/share/bbb-web/WEB-INF/classes/spring/turn-stun-servers.xml

I have setup a separate ec2 as turn server and given all necessary ports. Also installed SSL at turn server using lets encrypt
The installation and configuration is done using this guide
https://docs.bigbluebutton.org/2.2/setup-turn-server.html
and when I restarted bbb it started giving me error of

1) Error: Could not connect to the configured hostname/IP address
2) tomcat7 or not running tomcat7 or grails libreoffice

Had the same problem configurating TURN-Server. There was a syntax-error in /usr/share/bbb-web/WEB-INF/classes/spring/turn-stun-servers.xml

fixing it resulted in a normal startup.

Thanks for reply @marove2000
Can you please paste your file here so that I can try it by replacing with my values.

you have to replace and

<bean id="turn0" class="org.bigbluebutton.web.services.turn.TurnServer">
    <!-- Secret: -->
    <constructor-arg index="0" value="<secret>"/>
    <!-- TURN server URL, use turn: or turns: -->
    <constructor-arg index="1" value="turn:<turn-server>:443?transport=tcp"/>
    <!-- TTL in seconds for shared secret -->
    <constructor-arg index="2" value="86400"/>
</bean>
<bean id="turn1" class="org.bigbluebutton.web.services.turn.TurnServer">
    <!-- Secret: -->
    <constructor-arg index="0" value="<secret>"/>
    <!-- TURN server URL, use turn: or turns: -->
    <constructor-arg index="1" value="turns:<turn-server>:443?transport=tcp"/>
    <!-- TTL in seconds for shared secret -->
    <constructor-arg index="2" value="86400"/>
</bean>

And dont forget to activate turn0 and turn1:

    <property name="turnServers">
        <set>
            <ref bean="turn0" />
            <ref bean="turn1" />
            <!--ref bean="turn2" /-->
        </set>
    </property>

More information: https://docs.bigbluebutton.org/2.2/setup-turn-server.html

I have the same problem… when I set a DNS with (bbb-config —setip mywebsite.com.br) I have a error.

Доброго времени суток !

Прошу помощи ибо уже не знаю куда рыть…

Существовала следующая система  в локалке :

server1 (Debian 4.9.65-3, Nginx, Moodle 3.4, Http) + server2 (Ubuntu 16.04.3 LTS, Nginx, BBB 2.0, Http).

Система вполне успешно существовала, пока не было принято решение прикрутить https и выпустить ее наружу.

Moodle перешел на https практически без проблем, а вот BBB заартачился. 

Настройку BBB производил по статье http://docs.bigbluebutton.org/install/install.html#configure-bigbluebutton-to-load-session-via-https 

bbb-conf  —check  упрямо выдает 

 Error: Could not connect to the configured hostname/IP address

#

#    https://server2/

несмотря на это ping server2 отрабатывает на ура.

Команда wget -qO- https://server2/bigbluebutton/api  не отрабатывает, то же самое но … http://server2 …  выдает нужный результат и в Chrome переход по адресу https://server2/bigbluebutton/api  таки отображает желаемую xml-ку …

В общем ткните носом, пожалуйста, куда копать.

Есть мнение что проблема пустяковая если посмотреть в нужном направлении.

P.S. Сервера в одном домене, сертификат один и тот же на обоих потому как wildcard. Для соответствия сертификату имена серверов были изменены повсюду(DNS, конфигурационные файлы, плагин BBB для Moodle)

implan…@gmail.com

unread,

Jun 8, 2018, 4:29:11 PM6/8/18

to BigBlueButton-dev

Hello Fred Sir!

When i configure BigBlueButton  to load session via http. All BigBlueButton functions works correctly.

But!

 I catch  Error: Could not connect to the configured hostname/IP address https://mysite

My website works correctly on https, and new meeting start correctly, but when i try to join on this meeting, i see this error in browser adress string

this is my nginx.conf

server {

     listen   80;
     listen [::]:80;
     listen 443 ssl;
     listen [::]:443 ssl;
     server_name  webinar.implant.ru;

         #ssl    on;
         ssl_certificate    /etc/ssl/crt/implant.crt;
         ssl_certificate_key    /etc/ssl/privatewebinar/private.key;
         ssl_session_cache shared:SSL:10m;
         ssl_session_timeout 10m;

         ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
         ssl_ciphers «ECDH+AESGCM:DH+AESGCM:ECDH+AES256:DH+AES256:ECDH+AES128:DH+AES:ECDH+3DES:DH+3DES:RSA+AESGCM:RSA+AES:RSA+3DES:!aNULL:!MD5:!DSS:!AES256»;
         ssl_prefer_server_ciphers on;
        # ssl_dhparam /etc/ssl/crt/cacert.pem;
         # 301 редирект со страниц со слешем на страницы без слеша в конце URL
         #rewrite ^/(.*)/$ /$1 permanent;
         access_log  /var/log/nginx/bigbluebutton.access.log;

         # Handle RTMPT (RTMP Tunneling).  Forwards requests
         # to Red5 on port 5080
      location ~ (/open/|/close/|/idle/|/send/|/fcs/) {
          proxy_pass         http://127.0.0.1:5080;
          proxy_redirect     off;
          proxy_set_header   X-Forwarded-For   $proxy_add_x_forwarded_for;

          client_max_body_size       10m;
          client_body_buffer_size    128k;

          proxy_connect_timeout      90;
          proxy_send_timeout         90;
          proxy_read_timeout         90;

          proxy_buffering            off;
          keepalive_requests         1000000000;
      }

         # Handle desktop sharing tunneling.  Forwards
         # requests to Red5 on port 5080.
       location /deskshare {
           proxy_pass         http://127.0.0.1:5080;
           proxy_redirect     default;
           proxy_set_header   X-Forwarded-For   $proxy_add_x_forwarded_for;
           client_max_body_size       10m;
           client_body_buffer_size    128k;
           proxy_connect_timeout      90;
           proxy_send_timeout         90;
           proxy_read_timeout         90;
           proxy_buffer_size          4k;
           proxy_buffers              4 32k;
           proxy_busy_buffers_size    64k;
           proxy_temp_file_write_size 64k;
           include    fastcgi_params;
       }

        location ~* ^/.+.(php)$  {
                proxy_set_header X-Real-IP  $remote_addr;
                proxy_set_header X-Forwarded-For $remote_addr;
                proxy_set_header Host $host;
                proxy_set_header  Scheme $scheme;
                proxy_pass  http://127.0.0.1:81;
        }

        #location ~* ^/.+.(ico|docx|doc|xls|xlsx|rar|zip|jpg|jpeg|txt|xml|pdf|gif|png|css|js)$ {
       # root   /var/www/;
    #    }

        # BigBlueButton landing page.
        location / {
          root   /var/www/bigbluebutton-default/basic/web;
          index  index.html index.htm index.php;
          expires 1m;
        }

        # Include specific rules for record and playback
          include /etc/bigbluebutton/nginx/*.nginx;

        #error_page  404  /404.html;

        # Redirect server error pages to the static page /50x.html
        #
        error_page   500 502 503 504  /50x.html;
        location = /50x.html {
                root   /var/www/nginx-default;
        }
}

This is done because the BigBlueButton and my site are hosted on the same server.

81 port listen apache2. Here is port settings.

# If you just change the port or add more ports here, you will likely also
# have to change the VirtualHost statement in
# /etc/apache2/sites-enabled/000-default.conf

Listen 81

#<IfModule ssl_module>
#       Listen 443
#</IfModule>

#<IfModule mod_gnutls.c>
#       Listen 443
#</IfModule>

# vim: syntax=apache ts=4 sw=4 sts=4 sr noet

And this is Virtualhost settings apache2

<VirtualHost *:81>
        # The ServerName directive sets the request scheme, hostname and port that
        # the server uses to identify itself. This is used when creating
        # redirection URLs. In the context of virtual hosts, the ServerName
        # specifies what hostname must appear in the request’s Host: header to
        # match this virtual host. For the default virtual host (this file) this
        # value is not decisive as it is used as a last resort host regardless.
        # However, you must set it for any further virtual host explicitly.
        ServerName webinar.implant.ru

                DocumentRoot /var/www/bigbluebutton-default/basic/web
        SetEnvIf Scheme https HTTPS=on
     # SSLEngine on
      # SSLCertificateFile /etc/ssl/crt/implant.crt
      # SSLCertificateKeyFile /etc/ssl/privatewebinar/private.key

        # Available loglevels: trace8, …, trace1, debug, info, notice, warn,
        # error, crit, alert, emerg.
        # It is also possible to configure the loglevel for particular
        # modules, e.g.
        #LogLevel info ssl:warn

        ErrorLog ${APACHE_LOG_DIR}/error.log
        CustomLog ${APACHE_LOG_DIR}/access.log combined

        # For most configuration files from conf-available/, which are
        # enabled or disabled at a global level, it is possible to
        # include a line for only one particular virtual host. For example the
        # following line enables the CGI configuration for this host only
        # after it has been globally disabled with «a2disconf».
        #Include conf-available/serve-cgi-bin.conf
</VirtualHost>

# vim: syntax=apache ts=4 sw=4 sts=4 sr noet

And this is result of bbb-conf —check

BigBlueButton Server 2.0.0-beta (1301)
                    Kernel version: 4.4.0-127-generic
                      Distribution: Ubuntu 16.04.4 LTS (64-bit)
                            Memory: 12004 MB

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

/opt/freeswitch/etc/freeswitch/sip_profiles/external.xml (FreeSWITCH)
                         websocket: :7443
                    WebRTC enabled: true

/etc/nginx/sites-available/bigbluebutton (nginx)
                       server name: webinar.implant.ru
                              port: 80, [::]:80
                    bbb-client dir: /var/www/bigbluebutton

/var/lib/tomcat7/webapps/bigbluebutton/WEB-INF/classes/bigbluebutton.properties (bbb-web)
                      bbb-web host: webinar.implant.ru

/var/lib/tomcat7/webapps/demo/bbb_api_conf.jsp (API demos)
                               url: webinar.implant.ru

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

/usr/local/bigbluebutton/core/scripts/bigbluebutton.yml (record and playback)
                     playback host: webinar.implant.ru

/usr/local/bigbluebutton/bbb-webrtc-sfu/config/default.yml (Kurento)
                        kurentoUrl: ws://webinar.implant.ru:8888/kurento
                         kurentoIp: 10.12.10.66
                    localIpAddress: 10.12.10.66
               recordScreenSharing: true
                     recordWebcams: true

** Potential problems described below **
# Nginx: BigBlueButton appears to be disabled
         — no symbolic link in /etc/nginx/sites-enabled/bigbluebutton to /etc/nginx/sites-available/bigbluebutton
# IP does not match:
#                           IP from ifconfig: 10.12.10.66
#   /etc/nginx/sites-available/bigbluebutton: webinar.implant.ru
# Warning: API URL IPs do not match host:
#
#                                IP from ifconfig: 10.12.10.66
#  /var/lib/tomcat7/webapps/demo/bbb_api_conf.jsp: webinar.implant.ru

………………..
# Error: Could not connect to the configured hostname/IP address
#
#    https://webinar.implant.ru/
#
# If your BigBlueButton server is behind a firewall, see FAQ.

# Warning: The API demos are installed and accessible from:
#
#    https://webinar.implant.ru/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

# Error: Unable to reach default URL for presentation
#
#    http://10.12.10.66/default.pdf
#
# Check value for beans.presentationService.defaultUploadedPresentation in
#   /var/lib/tomcat7/webapps/bigbluebutton/WEB-INF/classes/bigbluebutton.properties

How to fix this problem?

Thank you ! Best regards, Dmitriy.

Fred Dixon

unread,

Jun 8, 2018, 11:14:25 PM6/8/18

to BigBlueButton-dev

Hi Dmitriy,

Looking at this output

> # Error: Unable to reach default URL for presentation

> #

> #

> # Check value for beans.presentationService.defaultUploadedPresentation in

> #   /var/lib/tomcat7/webapps/bigbluebutton/WEB-INF/classes/bigbluebutton.properties

It looks like bbb-web is not configured for https.  I would recommend trying to use bbb-install.sh to setup your server — it can handle the creation of SSL certificate (through lets encrypt) and setting up the configuration using internal/external IP addresses.  See

Try the above and let us know if that gets you going.

Regards,… Fred

BigBlueButton Developer

@bigbluebutton

implan…@gmail.com

unread,

Jun 18, 2018, 5:30:09 PM6/18/18

to BigBlueButton-dev

Hi Fred!

I did what you advised. The only difference is that I did the whole installation manually. And in manual configured nginx on, using the Let`s Encrypt certificate.

Bigbluebutton started working correctly on https =)


I think I made a mistake somewhere when installing BBB.

But now i have a new trouble.

I’m installing a new HTML5 interface.
On all computers BBB works correctly. The microphone, speakers and camera are connected to any computer, and users can enjoy all the functions of the BBB.
But
when I connect to the BBB from an Android or OS X mobile phone, the
mobile browser connects correctly to the BBB, but when the microphone or
listening mode is selected.
For example, I choose only listening.
The mobile browser first requests permission to connect to devices and when I give permission. It tries to connect, and then the message «Connection error» appears.


And so on all Android and OS X devices.


I tried to configure nginx with a valid certificate from the certification center.
The situation is exactly the same, everything works on the computers. On phones and tablets «Connection error»

Can you help me please.

Chad Pilkey

unread,

Jun 18, 2018, 9:41:40 PM6/18/18

to BigBlueButton-dev

I just tried to connect on your server and I think the problem is that your server is giving out a local IP for its candidate rather than your public IP. If you connect to audio through Firefox and then go to «about:webrtc» you should see the remote candidate being a different IP than your server’s public IP. I think you should be able to follow these steps to fix your FreeSWITCH config http://docs.bigbluebutton.org/install/install.html#configuring-bigbluebutton-behind-a-firewall. If your server doesn’t have a network interface with your public IP you will also need to do the «dummy NIC» steps so FreeSWITCH can bind to your public IP.

implan…@gmail.com

unread,

Jun 20, 2018, 12:15:17 PM6/20/18

to BigBlueButton-dev

Hello, Chad.
You are absolutely right! When
I set up my BBB for this instruction 
http://docs.bigbluebutton.org/install/install.html#configuring-bigbluebutton-behind-a-firewall
And I configured the Dummi NIC all functions started working correctly.
In our internal network, there is a problem when connecting to the «ru» zone from the internal network. I think that was the reason.Now I have only one problem. When I try to connect a webcam from phones and tablets. I get the error message «Error connecting to webcooler»What could be the reason?And the second question. My colleagues and I decided to just take the server out of the internal network, to make a full-fledged Internet host.
Do I understand correctly that this will solve the problem?

Chad Pilkey

unread,

Jun 20, 2018, 8:16:58 PM6/20/18

to BigBlueButton-dev

Putting your server on an external host might solve your issues. Depending on the host you might need to do the external firewall and dummy NIC steps. You also might want to try the bbb-install script which should do some of the extra configuration for you https://github.com/bigbluebutton/bbb-install. The options for the command are near the bottom of the page.

implan…@gmail.com

unread,

Jun 25, 2018, 4:26:21 PM6/25/18

to BigBlueButton-dev

Hi, Chad!
Please help.
Now I configure my BBB on an external server with an external firewall configuration and a dummy NIC. It solved my problems.
All functions of the BBB is now working correctly.

But I have one problem.
I can’t start broadcasting my webcam on my mobile phone and tablet. When I launch the webcam on my mobile phone, I get the error «webcam connection error».
But when I try to start broadcasting the camera on my computer. The camera works correctly. The webcam starts and broadcasts the video.
Clients running on a PC, you can watch the videos. But if the client connects via mobile phone, he sees a window for broadcasting video that is downloaded endlessly .

How to fix ?

Chad Pilkey

unread,

Jun 25, 2018, 8:16:17 PM6/25/18

to BigBlueButton-dev

mohellebi mounir

unread,

Jun 26, 2018, 1:05:27 AM6/26/18

to bigblueb…@googlegroups.com

hello Chad,

i experienced the same issues, i m running on a kitkat Android 4.4 OS and a chrome browser. i can’t share bith my cam and screen sharing. i tried to connect with 4G and ADSL connexion without success, i tried also with a 6.0 Android phone, same problems.

any help?!

best regards,

Chad Pilkey

unread,

Jun 26, 2018, 2:27:16 AM6/26/18

to BigBlueButton-dev

Is this with our servers? Knowing that it’s with our servers helps to eliminate server configuration errors. The cause of it not working might be in the browser console, but I’m not sure if you can get that from mobile browsers. I don’t work on the WebRTC video stuff so the debugging is mostly out of my knowledge base.

mohellebi mounir

unread,

Jun 26, 2018, 2:37:11 AM6/26/18

to bigblueb…@googlegroups.com

Yes Chad I’m testing on your server https://test.bigbluebutton.org and i have the same issues everytime. still waiting for some help from our dear Fred 😁.

thanks to you Chad.

Best regards,

Fred Dixon

unread,

Jun 26, 2018, 2:46:08 AM6/26/18

to BigBlueButton-dev

Chad can help you as best an anyone else.  

> I tried also with a 6.0 Android phone, same problems any help?!

Are there any others here able to connect to 

and share audio/video with an 6.0 Android phone?

Regards,… Fred

mohellebi mounir

unread,

Jun 26, 2018, 2:52:17 AM6/26/18

to bigblueb…@googlegroups.com

hello Fred,

i have no doubt about Chad or the rest of the team. you guys are doing an amazing job!!!! thanks you all.

best regards,

implan…@gmail.com

unread,

Jun 26, 2018, 10:10:21 AM6/26/18

to BigBlueButton-dev

implan…@gmail.com

unread,

Jun 26, 2018, 1:44:05 PM6/26/18

to BigBlueButton-dev

and this error was also found in firefox.

Screensharing in firefox work correctly

Chad Pilkey

unread,

Jun 26, 2018, 8:20:25 PM6/26/18

to BigBlueButton-dev

I don’t know what the problem might be with the configuration, but it definitely suggests that the problem lies there rather than something with the phone or network.

Paulo R. Lanzarin

unread,

Jun 26, 2018, 9:12:34 PM6/26/18

to bigblueb…@googlegroups.com

implan…@gmail.com

unread,

Jun 27, 2018, 12:21:32 PM6/27/18

to BigBlueButton-dev

Hello Paulo

This is my files.

{
  «public»: {

    «app»: {
      «mobileFont»: 16,
      «desktopFont»: 14,
      «audioChatNotification»: false,
      «autoJoin»: true,
      «listenOnlyMode»: true,
      «forceListenOnly»: false,
      «skipCheck»: false,
      «clientTitle»: «BigBlueButton»,
      «appName»: «BigBlueButton HTML5 Client»,
      «bbbServerVersion»: «2.0-rc»,
      «copyright»: «©2018 BigBlueButton Inc.»,
      «html5ClientBuild»: «350»,
      «lockOnJoin»: true,
      «basename»: «/html5client»,
      «askForFeedbackOnLogout»: false,
      «defaultSettings»: {
        «application»: {
          «chatAudioNotifications»: false,
          «chatPushNotifications»: false,
          «fontSize»: «16px»,
          «fallbackLocale»: «en»
        },
        «audio»: {
          «inputDeviceId»: «undefined»,
          «outputDeviceId»: «undefined»
        },
        «dataSaving»: {
          «viewParticipantsWebcams»: true,
          «viewScreenshare»: true
        },
        «cc»: {
          «backgroundColor»: «#FFFFFF»,
          «fontColor»: «#000000»,
          «enabled»: false,
          «fontFamily»: «Calibri»,
          «fontSize»: «16px»,
          «takeOwnership»: false
        },
        «participants»: {
          «muteAll»: false,
          «lockAll»: false,
          «microphone»: false,
          «publicChat»: false,
          «privateChat»: false,
          «layout»: false
        }
      },
      «shortcuts»: {
        «openOptions»: {«accesskey»: «O», «descId»: «openOptions»},
        «toggleUserList»: {«accesskey»: «U», «descId»: «toggleUserList»},
        «toggleMute»: {«accesskey»: «M», «descId»: «toggleMute»},
        «joinAudio»: {«accesskey»: «J», «descId»: «joinAudio»},
        «leaveAudio»: {«accesskey»: «L», «descId»: «leaveAudio»},
        «togglePublicChat»: {«accesskey»: «P», «descId»: «togglePublicChat»},
        «hidePrivateChat»: {«accesskey»: «H», «descId»: «hidePrivateChat»},
        «closePrivateChat»: {«accesskey»: «G», «descId»: «closePrivateChat»},
        «openActions»: {«accesskey»: «A», «descId»: «openActions»},
        «openStatus»: {«accesskey»: «S», «descId»: «openStatus»}
      },
      «branding»: {
        «displayBrandingArea»: false
      },
      «allowHTML5Moderator»: true,
      «allowModeratorToUnmuteAudio»: true,
      «httpsConnection»: true,
      «connectionTimeout»: 10000
    },

    «kurento»: {
      «wsUrl»: «wss://webinar.implant.ru/bbb-webrtc-sfu»,
      «chromeDefaultExtensionKey»: «akgoaoikmbmhcopjgakkcepdgdgkjfbc»,
      «chromeDefaultExtensionLink»: «https://chrome.google.com/webstore/detail/bigbluebutton-screenshare/akgoaoikmbmhcopjgakkcepdgdgkjfbc»,
      «chromeExtensionKey»: «KEY»,
      «chromeExtensionLink»: «LINK»,
      «enableScreensharing»: true,
      «enableVideo»: true,
      «enableVideoStats»: false
    },

    «acl»: {
      «viewer»: {
        «subscriptions»: [
          «users»,
          «cursor»,
      «screenshare»,
          «meetings»,
          «polls»,
          «chat»,
          «presentations»,
          «annotations»,
          «slides»,
          «captions»,
          «breakouts»,
          «voiceUsers»,
          «whiteboard-multi-user»
        ],
        «methods»: [
          «listenOnlyToggle»,
          «userLogout»,
          «setEmojiStatus»,
          «toggleSelfVoice»,
          «publishVote»,
          «sendChat»
        ]
      },
      «moderator»: {
        «methods»: [
          «assignPresenter»,
          «removeUser»,
          «muteUser»,
          «unmuteUser»,
          «endMeeting»,
          «toggleVoice»,
          «clearPublicChatHistory»,
          «changeRole»,
          «ejectUserFromVoice»,
          «toggleRecording»
        ]
      },
      «presenter»: {
        «methods»: [
          «assignPresenter»,
          «switchSlide»,
          «modifyWhiteboardAccess»,
          «undoAnnotation»,
          «clearWhiteboard»,
          «moveCursor»,
          «sendAnnotation»,
          «removePresentation»,
          «setPresentation»
        ]
      }
    },

    «chat»: {
      «min_message_length»: 1,
      «max_message_length»: 5000,
      «grouping_messages_window»: 60000,
      «type_system»: «SYSTEM_MESSAGE»,
      «type_public»: «PUBLIC_CHAT»,
      «type_private»: «PRIVATE_CHAT»,
      «system_userid»: «SYSTEM_MESSAGE»,
      «system_username»: «SYSTEM_MESSAGE»,
      «public_id»: «public»,
       «public_userid»: «public_chat_userid»,
      «public_username»: «public_chat_username»,
      «storage_key»: «UNREAD_CHATS»,
      «path_route»: «users/chat/»,
      «system_messages_keys»: {
        «chat_clear»: «PUBLIC_CHAT_CLEAR»
      }
    },

    «media»: {
      «WebRTCHangupRetryInterval»: 2000,
      «vertoServerAddress»: «HOST»,
      «freeswitchProfilePassword»: «1234»,
      «vertoPort»: «8082»,
      «useSIPAudio»: true,
      «stunTurnServersFetchAddress»: «/bigbluebutton/api/stuns»,
      «mediaTag»: «#remote-media»,
      «callTransferTimeout»: 5000,
      «callHangupTimeout»: 2000,
      «callHangupMaximumRetries»: 10,
      «echoTestNumber»: «9196»
    },

    «presentation»: {
      «defaultPresentationFile»: «default.pdf»,
      «uploadEndpoint»: «/bigbluebutton/presentation/upload»,
      «uploadSizeMin»: 0,
      «uploadSizeMax»: 50000000,
      «uploadValidMimeTypes»: [
        «application/vnd.ms-excel»,
       «application/vnd.openxmlformats-officedocument.spreadsheetml.sheet»,
        «application/msword»,
        «application/vnd.openxmlformats-officedocument.wordprocessingml.document»,
        «application/vnd.ms-powerpoint»,
        «application/vnd.openxmlformats-officedocument.presentationml.presentation»,
        «application/vnd.oasis.opendocument.text»,
        «application/rtf»,
        «text/plain»,
        «application/vnd.oasis.opendocument.spreadsheet»,
        «application/vnd.oasis.opendocument.presentation»,
        «application/vnd.oasis.opendocument.text»,
        «application/vnd.oasis.opendocument.graphics»,
        «application/vnd.oasis.opendocument.chart»,
        «application/vnd.oasis.opendocument.image»,
        «application/pdf»,
        «image/jpeg»,
        «image/png»
      ]
    },

    «user»: {
      «role_moderator»: «MODERATOR»,
      «role_viewer»: «VIEWER»,
      «role_presenter»: «PRESENTER»
    },

    «whiteboard»: {
      «annotations»: {
        «status»: {
          «start»: «DRAW_START»,
         «update»: «DRAW_UPDATE»,
          «end»: «DRAW_END»
        }
      },
      «toolbar»: {
        «colors»: [
          {
            «label»: «black»,
            «value»: «#000000»
          },
          {
            «label»: «white»,
            «value»: «#ffffff»
          },
          {
            «label»: «red»,
            «value»: «#ff0000»
          },
          {
            «label»: «orange»,
            «value»: «#ff8800»
          },
          {
            «label»: «eletricLime»,
            «value»: «#ccff00»
          },
          {
            «label»: «Lime»,
            «value»: «#00ff00»
          },
           {
            «label»: «Cyan»,
            «value»: «#00ffff»
          },
          {
            «label»: «dodgerBlue»,
            «value»: «#0088ff»
          },
          {
            «label»: «blue»,
            «value»: «#0000ff»
          },
          {
            «label»: «violet»,
            «value»: «#8800ff»
          },
          {
            «label»: «magenta»,
            «value»: «#ff00ff»
          },
          {
            «label»: «silver»,
            «value»: «#c0c0c0»
          }
        ],
        «thickness»: [
          {
            «value»: 14
          },
          {
          «value»: 12
          },
          {
            «value»: 10
          },
          {
            «value»: 8
          },
          {
            «value»: 6
          },
          {
            «value»: 4
          },
          {
            «value»: 2
          }
        ],
        «font_sizes»: [
          {
            «value»: 36
          },
          {
            «value»: 32
          },
          {
            «value»: 28
          },
          {
            «value»: 24
          },
          {
            «value»: 20
          },
          {
            «value»: 16
          }
        ],
        «tools»: [
          {
            «icon»: «text_tool»,
            «value»: «text»
          },
          {
            «icon»: «line_tool»,
            «value»: «line»
          },
          {
            «icon»: «circle_tool»,
            «value»: «ellipse»
          },
          {
            «icon»: «triangle_tool»,
            «value»: «triangle»
          },
          {
            «icon»: «rectangle_tool»,
            «value»: «rectangle»
          },
          {
           «icon»: «pen_tool»,
            «value»: «pencil»
          },
          {
            «icon»: «pointer»,
            «value»: «pointer»
          }
        ]
      }
    }
  },

  «private»: {

    «app»: {
      «captionsChunkLength»: 1000,
      «pencilChunkLength»: 100
    },

    «redis»: {
      «host»: «127.0.0.1»,
      «post»: «6379»,
      «timeout»: 5000,
      «debug»: true,
      «channels»: {
        «toAkkaApps»: «to-akka-apps-redis-channel»
      },
      «subscribeTo»: [
        «to-html5-redis-channel»,
        «from-akka-apps-*»
      ],
      «async»: [
        «from-akka-apps-wb-redis-channel»
      ],
      «ignored»: [
        «CheckAlivePongSysMsg»,
        «DoLatencyTracerMsg»
      ]
    },

    «log»: {
      «level»: «info»
    }
  }
}

And this is/usr/local/bigbluebutton/bbb-webrtc-sfu/config/default.yml

kurentoUrl: ws://webinar.implant.ru:8888/kurento
kurentoIp: 10.10.50.140
localIpAddress: 10.10.50.140
acceptSelfSignedCertificate: false
redisHost : «127.0.0.1»
redisPort : «6379»
clientPort : «3008»
minVideoPort: 30000
maxVideoPort: 33000
mediaFlowTimeoutDuration: 5000
from-screenshare: «from-screenshare-sfu»
to-screenshare: «to-screenshare-sfu»
from-video: «from-video-sfu»
to-video: «to-video-sfu»
from-audio: «from-audio-sfu»
to-audio: «to-audio-sfu»
to-akka: «to-akka-apps-redis-channel»
from-akka: «from-akka-apps-redis-channel»
webcam-force-h264: true
screenshare-force-h264: true
screenshareKeyframeInterval: 2

recordScreenSharing: true
recordWebcams: true
recordingBasePath: «file:///var/kurento»

redisExpireTime: 1209600 # 14 days as per the akka keys

log:
    filename: ‘/var/log/bbb-webrtc-sfu/bbb-webrtc-sfu.log’
    level: ‘verbose’

Best regards! Dmitriy.

implan…@gmail.com

unread,

Jun 27, 2018, 12:29:59 PM6/27/18

to BigBlueButton-dev

and this is WebRTC log /var/log/bbb-webrtc-sfu.log

its last session this error «Web-cam connection error»

.

{«level»:»info»,»message»:»[WebsocketConnectionManager] New connection with id [ 1 ]»,»timestamp»:»2018-06-27T09:24:34.703Z»}
{«level»:»info»,»message»:»[VideoManager] Received message [start] from connection 1w_gtxd02ufrkbb-share»,»timestamp»:»2018-06-27T09:24:35.905Z»}
{«level»:»info»,»message»:» Starting video instance for 1w_gtxd02ufrkbb-share»,»timestamp»:»2018-06-27T09:24:35.905Z»}
{«level»:»info»,»message»:»[mcs-controller] Join room => 7fd2b74e8017425780436f5257d01e4ab14b9cc2-1530091439387 as SFU»,»timestamp»:»2018-06-27T09:24:35.906Z»}
{«level»:»info»,»message»:»[mcs-controller] Creating new room with ID 7fd2b74e8017425780436f5257d01e4ab14b9cc2-1530091439387″,»timestamp»:»2018-06-27T09:24:35.907Z»}
{«level»:»info»,»message»:»[mcs-controller] Creating a new SFU user at room 7fd2b74e8017425780436f5257d01e4ab14b9cc2-1530091439387″,»timestamp»:»2018-06-27T09:24:35.907Z»}
{«level»:»info»,»message»:»[mcs-controller] Resolving user sparkling-resonance-Mk4cGBv»,»timestamp»:»2018-06-27T09:24:35.907Z»}
{«level»:»info»,»message»:» MCS join for 1w_gtxd02ufrkbb-share returned sparkling-resonance-Mk4cGBv»,»timestamp»:»2018-06-27T09:24:35.907Z»}
{«level»:»info»,»message»:»[mcs-controller] Publish from user sparkling-resonance-Mk4cGBv to room 7fd2b74e8017425780436f5257d01e4ab14b9cc2-1530091439387″,»timestamp»:»2018-06-27T09:24:35.908Z»}
{«level»:»info»,»message»:»[mcs-controller] Fetched user sparkling-resonance-Mk4cGBv»,»timestamp»:»2018-06-27T09:24:35.908Z»}
{«descriptor»:»v=0rno=- 7257599792663242168 2 IN IP4 127.0.0.1rns=-rnt=0 0rna=msid-semantic: WMS 2lgf7BnJelBb8GoihEF8qe0Zy3lG7ilgMRsprna=group:BUNDLE videornm=video 9 UDP/TLS/RTP/SAVPF 100rnc=IN IP4 0.0.0.0rna=rtpmap:100$
{«level»:»info»,»message»:»[mcs-sfu-user] Added new SDP session cold-bird-9ySVtiq to user sparkling-resonance-Mk4cGBv»,»timestamp»:»2018-06-27T09:24:35.913Z»}
{«level»:»info»,»message»:»[Video] RecordingStatusReply userId: w_gtxd02ufrkbb recorded: true»,»timestamp»:»2018-06-27T09:24:35.914Z»}
{«level»:»info»,»message»:»[mcs-media] Created [WebRtcEndpoint] media element: c1302ecd-ae2c-460e-9f13-1406c454fae3_kurento.MediaPipeline/ab644a1d-a7f7-4413-b628-430be145375e_kurento.WebRtcEndpoint»,»timestamp»:»2018-06-27T09:24:35.917Z$
{«level»:»info»,»message»:»[mcs-media-session] New media session cold-bird-9ySVtiq in room 7fd2b74e8017425780436f5257d01e4ab14b9cc2-1530091439387 started with media server endpoint c1302ecd-ae2c-460e-9f13-1406c454fae3_kurento.MediaPipel$
{«level»:»info»,»message»:»[mcs-media] Gathering ICE candidates for c1302ecd-ae2c-460e-9f13-1406c454fae3_kurento.MediaPipeline/ab644a1d-a7f7-4413-b628-430be145375e_kurento.WebRtcEndpoint»,»timestamp»:»2018-06-27T09:24:35.962Z»}
{«level»:»info»,»message»:»[mcs-media] Triggered ICE gathering for c1302ecd-ae2c-460e-9f13-1406c454fae3_kurento.MediaPipeline/ab644a1d-a7f7-4413-b628-430be145375e_kurento.WebRtcEndpoint»,»timestamp»:»2018-06-27T09:24:35.977Z»}
{«level»:»info»,»message»:» MCS call for user sparkling-resonance-Mk4cGBv returned cold-bird-9ySVtiq»,»timestamp»:»2018-06-27T09:24:35.979Z»}

implan…@gmail.com

unread,

Jun 27, 2018, 5:46:59 PM6/27/18

to BigBlueButton-dev

Hello Chad.

I think I found the problem.

when I launch BBB and start streaming from the camera, I launch netstat-lnpt

this is the netstat -lptu output

Hmmm?

My real internal ip adress is 10.10.50.140.

Now the camera is connected on all devices in the internal network.

The problem is observed when I connect from the Internet

How to change kurento-media ip adress???

Paulo R. Lanzarin

unread,

Jun 29, 2018, 12:33:24 AM6/29/18

to bigblueb…@googlegroups.com

3 ответа

Одной из причин может быть проблема с контейнерным DNS.

Запустите bash внутри контейнера с помощью «docker exec -it greenlight-v2 bash», а внутри контейнера попробуйте выполнить ping google.com. Если он возвращает ошибку, откройте файл DNS с помощью «vi /etc/resolv.conf» и добавьте дополнительную строку для 4.2.2.4 или любого другого DNS, который вам нравится/


1

Mohammad Abbasi
31 Окт 2020 в 02:33

Та же проблема (предлагаемая проверка DNS проходит успешно).

Раскомментируйте сервер поворота в файле turn-stun-servers.xml:

<bean id="turn1" class="org.bigbluebutton.web.services.turn.TurnServer">
        Secret:
        <constructor-arg index="0" value=" ... same as in turnserevr "/>
        TURN server URL, use turn: or turns:
        <constructor-arg index="1" value="turn:turn.my.domain:443?transport=tcp"/>
        TTL in seconds for shared secret
        <constructor-arg index="2" value="86400"/>
    </bean>

<property name="turnServers">
            <set>
                <ref bean="turn1" />

Приводит к «Недействительной конечной точке и секрету BigBlueButton». Перезапуск bbb дает:

# Potential problems described below
# Not running:  tomcat7 or grails LibreOffice
................................................................................
# Error: Could not connect to the configured hostname/IP address
#
#    https://bbb.my.domain/

Кроме того, сервер TurnServer, запущенный под пользователем TurnServer, не может выполнить привязку.

0: Trying to bind fd 16 to <127.0.0.1:443>: errno=13
0: Cannot bind TLS/TCP listener socket to addr 127.0.0.1:443
0: Fatal final failure: cannot bind TLS/TCP listener socket to addr 127.0.0.1:443


0

Andor
27 Ноя 2020 в 11:44

Сначала вам нужно проверить, дает ли bbb-conf —secret ту же конечную точку и секретный ключ, что и в вашем файле .env. Если все выглядит хорошо, выполните следующие действия, чтобы принудительно обновить сертификат.

  1. apt-получить установку snapd
  2. apt-get remove -y certbot
  3. мгновенно установить certbot —classic
  4. certbot renew —force-renewal —preferred-chain «ISRG Root X1»
  5. bbb-conf —clean
  6. sudo systemctl перезапустить ngnix


0

Emmanuel Mumila
25 Ноя 2021 в 08:36

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.

You have a problem with name resolution on the client you try to connect from (W7).

All connections are made to a destination IP address. If you supply a name, the computer first resolves that name into an IP address. This is where you fail today.

If your gentoo box / home router’s IP address can’t be looked up from either the hosts file, or with an A (or AAAA for IPv6) record in DNS (possibly via a CNAME), your windows machine won’t understand what IP the gentoo box has.

To be able to give a good answer to your question, we need a bit more information from you, describing the network setup a bit, so we don’t make wrong guesses.
For instance:

  • are the windows and gentoo boxes both on the «inside» network?
  • are they both configured as DHCP clients?
  • is the router the only DHCP server on the internal network?

Did you use any DynDNS service when it was working earlier, or has the W7 installation changed somehow? (Different PC, reinstall, virus, etc?) Perhaps you had an entry in the hosts file before, when it was working, and it is now missing.

Why the router can figure out the internal/private IP address of the linux box while the windows box cannot, is because they use different sources for their name information. Maybe the router itself has that information. Is it also a DHCP server? Maybe that’s why the router knows.

EDIT (2012-08-06):
Based on new input,
On the gentoo box, make sure you have an entry in /etc/hosts that looks like this:

192.168.0.3   hostname.domain.tld  hostname

(replace 192.168.0.3 with the real (internal) IP address of the gentoo server, and hostname.domain.tld to be the fully qualified domain name you wish to use, and the last word on the line to be the hostname without the domain (ie, the word before the first .).

Put the same line in the %WINDIR%System32driversetchosts file, but remember that windows name lookups of your gentoo box will be then taken from that file, and not from DNS.

This should make the name lookups work (locally) on both the gentoo server itself, and the windows client, without consulting DNS.

In /etc/apache2/vhosts.d/00_default_vhost.conf (if that’s where your web server is configured), make the ServerName entry match the FQDN (hostname.domain.tld) that you have in the /etc/hosts file.
This should allow apache to start without warnings.

    If you encountered any problems with the installation of BigBlueButton, this section covers how to resolve many of the common issues.

    If you have not already done so, read through the getting help section.

    Introduction

    Start here: run sudo bbb-conf --check

    We’ve built in a BigBlueButton configuration utility, called bbb-conf, to help you configure your BigBlueButton server and troubleshoot your setup if something doesn’t work right.

    If you think something isn’t working correctly, the first step is enter the following command.

    This will check your setup to ensure the correct processes are running, the BigBlueButton components have correctly started, and look for common configuration problems that might prevent BigBlueButton from working properly.

    If you see text after the line ** Potential problems described below **, then it may be warnings (which you can ignore if you’ve change settings) or errors with the setup.

    Recording

    Recording not processing after upgrading

    If after updating from BigBlueButton 2.0 to BigBlueButton 2.2 your recordings are not processing, and if you are seeing Permission denied errors in /var/log/bigbluebutton/bbb-rap-worker.log

    I, [2019-06-07T14:26:09.034878 #14808]  INFO -- : /usr/lib/ruby/2.5.0/logger.rb:754:in `initialize': Permission denied @ rb_sysopen - /var/log/bigbluebutton/presentation/process-02feca80700b3e95b877af85db972904397857a1-1559909318977.log (Errno::EACCES)
    

    You can resolve the errors with the following command

    $ sudo chown -hR bigbluebutton:bigbluebutton /var/log/bigbluebutton/presentation /var/log/bigbluebutton/screenshare
    

    and then rebuild the recordings that had not yet processed. You can see the list of recordings with

    and then to rebuild a recording, use sudo bbb-record --rebuild <internal_meeting_id>, as in

    $ sudo bbb-record --rebuild 298b06603719217df51c5d030b6e9417cc036476-1559314745219
    

    Webcams/screen sharing aren’t working

    Certify that appropriate external addresses have been set for mediasoup. When installed via packages, mediasoup IPs are normally misconfigured. If installed via bbb-install, then IPv4 is generally correct, but IPv6 might be absent.

    Nonetheless, we recommend double-checking the instructions in Updating mediasoup.

    Configure mediasoup to use IPv6

    mediasoup (bbb-webrtc-sfu) does not come with a IPv6 enabled by default when installed either via packages or bbb-install.

    To configure IPv6, bbb-webrtc-sfu’s override configuration file (located in /etc/bigbluebutton/bbb-webrtc-sfu/production.yml) should be used.

    See Updating mediasoup for instructions and examples on how to do so.

    I’m having troubles seeing webcams or screen sharing in Firefox

    That’s usually the symptom of a known Firefox issue where it doesn’t comply with ICE-lite implementations (and mediasoup is one).

    This issue can be worked around by forcing TURN usage in Firefox user agents. To achieve that, set the public.kurento.forceRelayOnFirefox configuration to true in /etc/bigbluebutton/bbb-html5.yml. For example:

    public:
      kurento:
        forceRelayOnFirefox: true
    

    How often does this Firefox issue happens?

    Short (non) answer: that’s difficult to measure.

    Every Firefox installation is prone to the lack of ICE-lite spec compliance. However, the issue doesn’t manifest itself on all Firefox installations as it is dependent on how the end user’s network topology is organized. It’s generally a small subset of Firefox users, but that can vary depending on the user base.

    Where can I track progress on a definitive solution or better workaround?

    This is a Firefox bug, so the best place to get an overview on progress and what the issue is about is Mozilla’s issue.

    You can also track BigBlueButton’s issue for updates on additional workarounds.

    Why isn’t forceRelayOnFirefox enabled by default?

    It’s not on by default because bigbluebutton does not come with a TURN server by default, and that’s what versioned-in-code setting presumes.

    How do I know if mediasoup is being used?

    The most direct and precise way to figure out whether mediasoup is being used is checking about:webrtc (Firefox) or chrome://webrtc-internals. For example: open one of those, share a camera. Look for the remote description (SDP); see if it contains mediasoup-client in the SDP header. If it does, you’re using mediasoup.

    Regardless of that: mediasoup is the default in 2.5 and should always be used unless default settings were explicitly changed.

    mediasoup is the default in 2.5. Why is Kurento still around?

    Because Kurento is still used for stream recording. It should be removed as a dependency as soon as this issue is addressed.

    Is single-core performance still important with mediasoup?

    Yes.

    How can I control the number of mediasoup workers?

    To control the number of mediasoup workers, bbb-webrtc-sfu’s override configuration file (located in /etc/bigbluebutton/bbb-webrtc-sfu/production.yml) should be used.

    There are a couple of configurations of interest here:

    mediasoup.workers

    This configuration controls the number of mediasoup workers intended for general use (media type agnostic, shared pool).

    Accepted values are:

    • "auto" (default): creates ceil((min(nproc,32) * 0.8) + (max(0, nproc - 32) / 2)) workers;
    • "cores": creates workers up to the host’s core count (as provided by os.cpus().length);
    • <Number>: overrides the number of workers with a fixed value;
    • The default and fallback values are auto.

    For example:

    • To set the number of workers to cores: yq w -i /etc/bigbluebutton/bbb-webrtc-sfu/production.yml mediasoup.workers "cores"

    mediasoup.dedicatedMediaTypeWorkers

    This configuration controls the number of mediasoup workers to be used by specific media types.
    If a dedicated pool is set, streams of its media type will always land on it. Otherwise, they will use the shared pool.

    The configuration is an object of the following format:

    mediasoup.dedicatedMediaTypeWorkers:
       audio: "auto"|"cores"|<Number>
       main: "auto"|"cores"|<Number>
       content: "auto"|"cores"|<Number>
    

    The semantics of auto, cores and Number are the same as in the mediasoup.workers configuration. Default values for all media types are 0 (no dedicated workers).

    The media types semantics are:

    • audio: audio (listen only, microphone) streams;
    • main: webcam video streams;
    • content: screen sharing streams (audio and video).

    For example:

    • To set the number of dedicated audio workers to auto: yq w -i /etc/bigbluebutton/bbb-webrtc-sfu/production.yml mediasoup.dedicatedMediaTypeWorkers.audio "auto"

    Can I scale the number of streams up indefinitely with mediasoup?

    No. Scalability improves a lot with mediasoup, but there are still a couple of bottlenecks that can be hit as far as far as the media stack is concerned. Namely:

    • The signaling server (bbb-webrtc-sfu): it does not scale vertically indefinitely. There’s always work ongoing on this area that can be tracked in this issue;
    • The mediasoup worker balancing algorithm implemented by bbb-webrtc-sfu is still focused on multiparty meetings with a restrained number of users. If your goal is thousand-user 1-N (streaming-like) meetings, you may max out CPU usage on certain mediasoup workers even though there are other idle oworkers free.

    Kurento

    WebRTC video not working with Kurento

    Check the value for /proc/sys/net/ipv4/tcp_syncookies that it contains the value 1.

    $ cat /proc/sys/net/ipv4/tcp_syncookies
    1
    

    If not, edit /etc/sysctl.conf and set the value for net.ipv4.tcp_syncookies to 1.

    net.ipv4.tcp_syncookies = 1
    

    Save the file and restart.

    Unit kurento-media-server.service is masked

    If sudo bbb-conf --check returns the warning

    Restarting BigBlueButton 2.0.0-RC9 (and cleaning out all log files) ...
    Stopping BigBlueButton
     ... cleaning log files
    Starting BigBlueButton
    Failed to start kurento-media-server.service: Unit kurento-media-server.service is masked.
    

    You can unmask Kurento using the command

    $ systemctl unmask kurento-media-server.service
    

    The default installation of BigBlueButton should work in most netowrk configurations; however, if your users ae behind a restrictive network that blocks outgoing UDP connections, they may encounter 1020 errors (media unable to reach server).

    If you get reports of these errors, setup TURN server to help their browsers send WebRTC audio and video streams via TCP over port 443 to the TURN server. The TURN server will then relay the media to your BigBlueButton server.

    See Configure TURN.

    FreeSWITCH

    Configure BigBluebutton/FreeSWITCH to support IPV6

    The HTML5 client now enables users on mobile devices to connect to a BigBlueButton server. However, on some cellular networks iOS devices only receive an IPV6 address.

    To enable BigBlueButton (FreeSWITCH) to accept incoming web socket connections on IPV6, the BigBlueButton server must have an IPV6 address. You also need to make the following changes to the server.

    First, create the file /etc/nginx/conf.d/bigbluebutton_sip_addr_map.conf with this content:

    map $remote_addr $freeswitch_addr {
        "~:"    [2001:db8::1];
        default    192.0.2.1;
    }
    

    replacing the ip addresses 192.0.2.1 with the system’s external IPV4 addresses, and replace 2001:db8::1 with the system’s external IPV6 address. Next, edit the file /etc/bigbluebutton/nginx/sip.nginx to have the following:

    proxy_pass https://$freeswitch_addr:7443;
    

    Next, ensure all of the following params are present in freeswitch’s sip_profiles/external-ipv6.xml:

    • ws-binding
    • wss-binding
    • rtcp-audio-interval-msec
    • rtcp-video-interval-msec
    • dtmf-type
    • liberal-dtmf
    • enable-3pcc

    If any are missing, copy them from sip_profiles/external.xml, then restart BigBlueButton (sudo bbb-conf --restart).

    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
    

    Forward calls from an Asterisk server to FreeSWITCH

    Let’s assume the following:

    asterisk server ip:          192.168.1.100
    bigbluebutton/freeswitch ip: 192.168.1.200
    

    Changes to your Asterisk server

    Setup your gateway to BigBlueButton/FreeSWITCH. in /etc/asterisk/sip.conf add

    [fs-gw]
    type=peer
    username=fs-gw
    insecure=very
    contactpermit=192.168.1.200/255.255.255.255
    qualify=no
    nat=yes
    host=192.168.1.200
    canreinvite=no
    disallow=all
    allow=ulaw
    

    Route the calls to the gateway. In /etc/asterisk/extensions.conf context where your calls are being handled, forward the calls to the gateway. Here, when someone dials 85001, the call is sent to the fs-gw defined above.

    exten => 85001,1,Dial(SIP/fs-gw/${EXTEN})
    exten => 85001,2,Hangup
    

    Changes to your BigBlueButton/FreeSWITCH server

    In BigBlueButton/FreeSWITCH, make the following changes:

    Lock down so that only Asterisk can forward calls to FreeSWITCH. In /opt/freeswitch/conf/autoload_configs/acl.conf.xml, add the following ACL. We also need to allow BigBlueButton to call into FreeSWITCH, that’s why we add the IP of BigBlueButton/FreeSWITCH into the ACL.

        <list name="asterisk-gw" default="deny">
           <node type="allow" cidr="192.168.1.200/32"/>
           <node type="allow" cidr="192.168.1.100/32"/>
           <node type="allow" cidr="127.0.0.1/32"/>
        </list>
    

    Then we apply the ACL into the profile that receives the calls from external gateways. In /opt/freeswitch/conf/sip_profiles/external.xml, add the ACL under <settings>

      <settings>
        <!-- Apply ACL from asterisk-gw -->
        <param name="apply-inbound-acl" value="asterisk-gw"/>
    ...
    </settings>
    

    To debug, try connecting to FS CLI and increase logging level. Once connected, make your call and see what the logs say.

    $ /opt/freeswitch/bin/fs_cli -p $(xmlstarlet sel -t -m 'configuration/settings/param[@name="password"]' -v @value /opt/freeswitch/etc/freeswitch/autoload_configs/event_socket.conf.xml)
    
      Once connected:
      help -- shows the available commands
      console loglevel <level> -- change log level
    
      Ctrl-D to exit
    

    FreeSWITCH fails to bind to port 8021

    FreeSWITCH supports both IPV4 and IPV6. However, if your server does not support IPV6, FreeSWITCH will be unable to bind to port 8021. If you run sudo bbb-conf --check and see the following error

    # Error: Found text in freeswitch.log:
    #
    #    Thread ended for mod_event_socket
    #
    # FreeSWITCH may not be responding to requests on port 8021 (event socket layer)
    # and users may have errors joining audio.
    #
    

    it might be that your server has IPV6 disabled (or does not support it). You can check this by running the following command

    $ sudo ip addr | grep inet6
    inet6 ::1/128 scope host
    ...
    

    If you do not see the line inet6 ::1/128 scope host, then your server has IPV6 disabled. In this case, we need to disable FreeSWITCH’s support for IPV6. First, edit /opt/freeswitch/etc/freeswitch/autoload_configs/event_socket.conf.xml and change the line

        <param name="listen-ip" value="::"/>
    

    to

        <param name="listen-ip" value="127.0.0.1"/>
    

    This tells FreeSWITCH that instead of binding port 8021 to the local IPV6 address, bind to the IPV4 address 127.0.0.1. Next, execute the following two commands

    $ sudo mv /opt/freeswitch/etc/freeswitch/sip_profiles/internal-ipv6.xml /opt/freeswitch/etc/freeswitch/sip_profiles/internal-ipv6.xml_
    $ sudo mv /opt/freeswitch/etc/freeswitch/sip_profiles/external-ipv6.xml /opt/freeswitch/etc/freeswitch/sip_profiles/external-ipv6.xml_
    

    and then restart BigBlueButton with the commands

    $ sudo bbb-conf --clean
    $ sudo bbb-conf --check
    

    FreeSWITCH fails to start with a SETSCHEDULER error

    When running in a container (like a chroot, OpenVZ or LXC), it might not be possible for FreeSWITCH to set its CPU priority to real-time round robin. If not, it will result in lower performance compared to a non-virtualized installation.

    If you running BigBlueButton in a container and an error starting FreeSWITCH, try running systemctl status freeswitch.service and see if you see the error related to SETSCHEDULER

    $ systemctl status freeswitch.service
    ● freeswitch.service - freeswitch
       Loaded: loaded (/lib/systemd/system/freeswitch.service; enabled; vendor preset: enabled)
       Active: inactive (dead) (Result: exit-code) since Mon 2017-10-02 16:17:29 UTC; 18s ago
      Process: 10967 ExecStart=/opt/freeswitch/bin/freeswitch -u freeswitch -g daemon -ncwait $DAEMON_OPTS (code=exited, status=214/SETSCHEDULER)
     Main PID: 3327 (code=exited, status=0/SUCCESS)
    
    Oct 02 16:17:29 scw-9e2305 systemd[1]: Failed to start freeswitch.
    Oct 02 16:17:29 scw-9e2305 systemd[1]: freeswitch.service: Unit entered failed state.
    Oct 02 16:17:29 scw-9e2305 systemd[1]: freeswitch.service: Failed with result 'exit-code'.
    Oct 02 16:17:29 scw-9e2305 systemd[1]: freeswitch.service: Service hold-off time over, scheduling restart.
    Oct 02 16:17:29 scw-9e2305 systemd[1]: Stopped freeswitch.
    Oct 02 16:17:29 scw-9e2305 systemd[1]: freeswitch.service: Start request repeated too quickly.
    Oct 02 16:17:29 scw-9e2305 systemd[1]: Failed to start freeswitch.
    

    If you see SETSCHEDULER in the error message, edit /lib/systemd/system/freeswitch.service and comment out the line containing CPUSchedulingPolicy=rr (round robin)

    IOSchedulingPriority=2
    #CPUSchedulingPolicy=rr
    CPUSchedulingPriority=89
    

    Save the file, run systemctl daemon-reload, and then restart BigBlueButton. FreeSWITCH should now startup without error.

    Users not able to join Listen Only mode

    When doing sudo bbb-conf --check, you may see the warning

    voice Application failed to register with sip server
    

    This error occurs when bbb-apps-sip isn’t able to make a SIP call to FreeSWITCH. You’ll see this in BigBlueButton when users click the headset icon and don’t join the voice conference.

    One possible cause for this is you have just installed BigBlueButton, but not restarted it. The packages do not start up the BigBlueButton components in the right order. To restart BigBlueButton, do the following:

    $ sudo bbb-conf --restart
    $ sudo bbb-conf --check
    

    If you don’t want FreeSWITCH to bind to 127.0.0.1, you need to figure out which IP address its using. First, determine the IP address FreeSWITCH is monitoring for incoming SIP calls with the following command:

    $ netstat -ant | grep 5060
    

    You should see an output such as

    tcp        0      0 234.147.116.3:5060    0.0.0.0:*               LISTEN
    

    In this example, FreeSWITCH is listening on IP address 234.147.116.3. The IP address on your server will be different.

    Next, edit /usr/share/red5/webapps/sip/WEB-INF/bigbluebutton-sip.properties and set the value for sip.server.host to the IP address returned from the above command. Save the changes (you’ll need to edit the file as root to save changes).

    Restart BigBlueButton using the commands and run the built-in diagnostics checks.

    $ sudo bbb-conf --clean
    $ sudo bbb-conf --check
    

    Unable to connect using fs_cli

    As of BigBlueButton 2.2.18, the packaging now replaces the default ClueCon password for connecting to the FreeSWITCH command line interface (fs_cli) with a random password.

    (By default, FreeSWITCH only allowed unauthenticated connections from 127.0.0.1, but it’s still good security practice to not use default passwords).

    To connect to fs_cli, use the following command which supplies the password for authenticating.

    /opt/freeswitch/bin/fs_cli -p $(xmlstarlet sel -t -m 'configuration/settings/param[@name="password"]' -v @value /opt/freeswitch/etc/freeswitch/autoload_configs/event_socket.conf.xml)
    

    We also added /usr/local/bin/fs_clibbb with the contents

    #!/bin/bash
    
    /opt/freeswitch/bin/fs_cli -p $(xmlstarlet sel -t -m 'configuration/settings/param[@name="password"]' -v @value /opt/freeswitch/etc/freeswitch/autoload_configs/event_socket.conf.xml)
    

    that will let you type fs_clibbb at the command prompt to get into FreeSWITCH console.

    Echo test hangs upgrading BigBlueButton 2.2

    The install scripts now change the default CLI password for FreeSWITCH and the other parts of BigBlueButton need to use this new password. For a new installation, the install scripts will automatically set this new password.

    If you upgrade using bbb-install.sh, the script will update the FreeSWITCH password using sudo bbb-conf --setip <hostname>.

    If you upgraded using manual steps, be sure to do ao sudo bbb-conf --setip <hostname> to sync all the FreeSWITCH passwords.

    FreeSWITCH using default stun server

    For many years, in BigBlueButton’s FreeSWITCH configuration file /opt/freeswitch/etc/freeswitch/vars.xml, the default value for external_rtp_ip was stun.freeswitch.org

      <X-PRE-PROCESS cmd="set" data="external_rtp_ip=stun:stun.freeswitch.org"/>
    

    However, this is not a reliable choice for stun server. Recommend either changing it to your servers external IP address or setup your own stun/turn server. For example, if your server has an external IP at 234.32.3.3

      <X-PRE-PROCESS cmd="set" data="external_rtp_ip=234.32.3.3"/>
    

    You can add a line in /etc/bigbluebutton/bbb-conf/apply-conf.sh to always apply this value even if the FreeSWITCH package upgrades.

    xmlstarlet edit --inplace --update '//X-PRE-PROCESS[@cmd="set" and starts-with(@data, "external_rtp_ip=")]/@data' --value "external_rtp_ip=234.32.3.3" /opt/freeswitch/conf/vars.xml
    

    Note: If your server has an internal/exteral IP address, such as on AWS EC2 server, be sure to set it to the external IP address configure a dummy network interface card (see Update FreeSWITCH).

    HTML5 Server

    bbb-html5 fails to start with a SETSCHEDULER error

    As of 2.2.31, the systemd unit file for bbb-html5.service now contains the following lines

    CPUSchedulingPolicy=fifo
    Nice=19
    

    You can override this with creating the following directory

    mkdir /etc/systemd/system/bbb-html5.service.d
    

    and creating /etc/systemd/system/bbb-html5.service.d/override.conf with the following contents

    [Service]
    CPUSchedulingPolicy=other
    Nice=-10
    

    Then do systemctl daemon-reload and restart BigBlueButton.

    Installation and packages

    The following packages have unmet dependencies

    When installing the latest build of BigBlueButton, the package bbb-conf now uses yq to manage YAML files.

    You need to add the repository ppa:rmescandon/yq to your server. For steps on how to do this, see Update your server in the BigBlueButton 2.2 install guide.

    Alternatively, if you have not made any customizations to BigBlueButton (outside of using bbb-conf), you can use bbb-install.sh to install/upgrade to the latest version (the bbb-install.sh script will automatically install the repository for yq).

    No Symbolic Link

    If you’ve installed/uninstalled BigBlueButton packages, you may get a No Symbolic Link warning from bbb-conf --check:

    ** Potential Problems **
        nginx (conf): no symbolic link in /etc/nginx/sites-enabled for bigbluebutton
    

    To solve this, add a symbolic link to nginx for the BigBlueButton site:

    $ sudo ln -s /etc/nginx/sites-available/bigbluebutton /etc/nginx/sites-enabled/bigbluebutton
    $ sudo /etc/init.d/nginx restart
    

    Package install fails with sed error

    Some of the BigBlueButton packages use sed scripts to extract contents from configuration files. If the file does not exist at the time of the script’s execution, or the sed script matches multiple entries in a file (such as when a configuration line is commented out), you can see an error such as

    Setting up bbb-client (1:2.0.0-374) ...
    sed: -e expression #1, char 42: unterminated `s' command
    dpkg: error processing package bbb-client (--configure):
     subprocess installed post-installation script returned error exit status 1
    dpkg: dependency problems prevent configuration of bbb-config:
     bbb-config depends on bbb-client; however:
      Package bbb-client is not configured yet.
    
    dpkg: error processing package bbb-config (--configure):
     dependency problems - leaving unconfigured
    Errors were encountered while processing:
     bbb-client
     bbb-config
    E: Sub-process /usr/bin/dpkg returned an error code (1)
    

    In the above example, the /var/lib/dpkg/info/bbb-client.postinst failed to finish. To debug, edit this file and change the first line to read

    and run

    $ sudo apt-get install -f
    

    You should now see each command in bbb-conf.postinst as it executes upto the line in which the error occurs. Post this output to https://groups.google.com/forum/#!forum/bigbluebutton-setup for help in resolving the issue.

    Errors with packages

    Some hosting providers do not provide a complete /etc/apt/source.list. If you are finding your are unable to install a package, try replacing your /etc/apt/sources.list with the following

    deb https://archive.ubuntu.com/ubuntu xenial main restricted universe multiverse
    deb https://archive.ubuntu.com/ubuntu xenial-updates main restricted universe multiverse
    deb https://security.ubuntu.com/ubuntu xenial-security main restricted universe multiverse
    

    then do

    and try installing BigBlueButton again from the beginning.

    WebRTC errors (1001, 1002,…)

    WebRTC offers very high-quality audio. However, the user’s network settings (or firewall) may not allow WebRTC to connect (or keep connected).

    Here are the following lists the possible WebRTC error messages that a user may encounter:

    • 1001: WebSocket disconnected — The WebSocket had connected successfully and has now disconnected. Possible Causes:
      • Loss of internet connection
      • Nginx restarting can cause this
    • 1002: Could not make a WebSocket connection — The initial WebSocket connection was unsuccessful. Possible Causes:
      • Firewall blocking ws protocol
      • Server is down or improperly configured
      • See potential solution here.
    • 1003: Browser version not supported — Browser doesn’t implement the necessary WebRTC API methods. Possible Causes:
      • Out of date browser
    • 1004: Failure on call — The call was attempted, but failed. Possible Causes:
      • For a full list of causes refer here
      • There are 24 different causes so I don’t really want to list all of them
      • Solution for this issue outlined here.
    • 1005: Call ended unexpectedly — The call was successful, but ended without user requesting to end the session. Possible Causes:
      • Unknown
    • 1006: Call timed out — The library took too long to try and connect the call. Possible Causes:
      • Previously caused by Firefox 33-beta on Mac. We’ve been unable to reproduce since release of FireFox 34
    • 1007: ICE negotiation failed — The browser and FreeSWITCH try to negotiate ports to use to stream the media and that negotiation failed. Possible Causes:
      • NAT is blocking the connection
      • Firewall is blocking the UDP connection/ports
    • 1008: Call transfer failed — A timeout while waiting for FreeSWITCH to transfer from the echo test to the real conference. This might be caused by a misconfiguration in FreeSWITCH, or there might be a media error and the DTMF command to transfer didn’t go through (In this case, the voice in the echo test probably didn’t work either.)
    • 1009: Could not fetch STUN/TURN server information — This indicates either a BigBlueButton bug (or you’re using an unsupported new client/old server combination), but could also happen due to a network interruption.
    • 1010: ICE negotiation timeout — After the call is accepted the client’s browser and the server try and negotiate a path for the audio data. In some network setups this negotiation takes an abnormally long time to fail and this timeout is set to avoid the client getting stuck.
    • 1020: Media cloud could not reach the server — See how to solve this here.

    Networking

    Server running behind NAT

    The following issue might be helpful in debugging if you run into errors and your server is behind NAT.

    Could not get your microphone for a WebRTC call

    Chrome requires (As of Chrome 47) that to access the user’s microphone for WebRTC your site must be serving pages via HTTPS (that is, nginx is configured with a SSL certificate).

    If the user attempts to share their microphone and your BigBlueButton sever is not configured for SSL, Chrome will block access and BigBlueButton will report the following error

    WebRTC Audio Failure: Detected the following WebRTC issue: Could not get your microphone for a WebRTC call. Do you want to try flash instead?

    To enable Chrome to access the user’s microphone, see Configure HTTPS on BigBlueButton.

    The browser is not supported

    When you attempt to join a BigBlueButton session, the client looks for supported browsers before fully loading. The client gets its list of supported browsers from /usr/share/meteor/bundle/programs/server/assets/app/config/settings.yml. You can see the list of supported browsers at the bottom. For example,

    - browser: mobileSafari
      version:
        - 11
        - 1
    

    states that Mobile Safari version 11.1 or later is supported (notice the first letter is lower case and concatenated with the remainder of the browser name).

    To add a browser to the list, first find your browser’s useragent. You could use a tool like https://wtools.io/check-my-user-agent as well. For example, with the Vivaldi browser you might see

    Vivaldi 2.8.1664 / Linux 0.0.0
    

    Next, to add this as a supported browser, append to settings.yml

    - browser: vivaldi
      version:
        - 2
        - 8
    

    save the updated settings.yml file, and then restart your BigBlueButton server with sudo bbb-conf --restart. Note any browser you add must support WebRTC libraries (not all do), so be sure to check it first with https://test.webrtc.org/.

    Tomcat shows “Cannot assign requested address on startup”

    If your server has multiple IP addresses, Tomcat might not pick the right address to bind. This could throw an error on installation when tomcat is attempting to install.

    Check /var/log/tomcat7/catalina.out for the following error

    Jan 30, 2018 9:17:37 AM org.apache.catalina.core.StandardServer await
    SEVERE: StandardServer.await: create[localhost:8005]:
    java.net.BindException: Cannot assign requested address (Bind failed)
     at java.net.PlainSocketImpl.socketBind(Native Method)
    

    If you see this, first ensure that there isn’t another copy of tomcat running by doing ps -aef | grep tomcat7. If you do see another copy running, try killing it and then restarting tomcat.

    If you still see the same error in catalina.out, then /etc/tomcat7/server.xml and change

    <Server port="8005" shutdown="SHUTDOWN">
    
    <Server address="0.0.0.0" port="8005" shutdown="SHUTDOWN">
    

    Restart tomcat7 again and it should start normally.

    nginx not running

    The common reasons for nginx not running are inability to bind to port 80 and configuration errors. To check if port 80 is already in use, use

    to see if any process is currently bound to port 80. If so, check to see if another web server is installed. If so, then stop the web server and try to restart nginx. One of the server requirements before you install BigBlueButton is that port 80 is not in use by another application (such as Apache). For details on why this is a requirements, see We recommend running BigBlueButton on port 80.

    If port 80 is free, check if your nginx configuration file has errors. Try a restart of nginx

    $ sudo systemctl restart nginx
    

    and look for the output of

       [ OK ]
    

    If you see [ Fail ], then your nginx configuration files might have a syntax error. Check the syntax of the nginx configuration files using the command

    and see if it reports any errors. You can also check the error.log file for nginx to see what errors it gives on startup

    $ sudo cat /var/log/nginx/error.log
    

    “Welcome to nginx”

    During installation of BigBlueButton the packaging scripts attempt to assign the correct IP address during setup. However, if the IP address changes (such as when rebooting a VM), or the first IP address was not the correct IP address for the server, you may see a “Welcome to nginx” page.

    To reconfigure the BigBlueButton to use the correct IP address or hostname, see BigBlueButton does not load.

    bbb-web

    404 Error when loading the client

    BigBlueButton 2.2 requires Java 8 as the default Java. Recently, some Ubuntu 16.04 distributions have switched the default version of Java to Java 9 (or later).

    Use java -version to check that the default version of 1.8.0.

    ~/dev$ java -version
    openjdk version "1.8.0_242"
    OpenJDK Runtime Environment (build 1.8.0_242-8u242-b08-0ubuntu3~16.04-b08)
    OpenJDK 64-Bit Server VM (build 25.242-b08, mixed mode)
    

    If not, do the following

    sudo apt-get install openjdk-8-jre
    update-alternatives --config java  # Choose java-8 as default
    

    Run java -version and confirm it now shows the default as 1.8.0, and then restart BigBlueButton with sudo bbb-conf --restart

    Blank presentation area on create or upload

    If you join a meeting and the default presentation is not visible or your uploaded presentation doesn’t display, then this is most likely due to a permissions error. To solve this, ensure that /var/bigbluebutton/ is owned by bigbluebutton rather than root or any other account. See this issue for more explanation.

    Unable to create presentation

    If you see the following error in /var/log/bigbluebutton/bbb-web.log

      failed to map segment from shared object: Operation not permitted
    

    use the command mount to check that the /tmp director does not have noexec permissions (which would prevent executables from running in the /tmp directory). If you see noexec for /tmp, you need to remount the directory with permissions that enable processes (such as the slide conversion) to execute in the /tmp directory.

    Too many open files

    On servers with greater than 8 CPU cores, bbb-web log (/var/log/bigbluebutton/bbb-web.log) may throw an error of Too many open files

    Caused by: java.io.IOException: Too many open files
    

    To resolve, create an override file that increases the number of open files for bbb-web

    $  sudo mkdir -p /etc/systemd/system/bbb-web.service.d/
    $  sudo cat > /etc/systemd/system/bbb-web.service.d/override.conf << HERE
    [Service]
    LimitNOFILE=
    LimitNOFILE=8192
    HERE
    $  sudo systemctl daemon-reload
    

    bbb-web takes a long time to startup

    bbb-web relies on the SecureRandom class (which uses available entropy) to provide random values for its session IDs. On a virtualized server, however, the available entropy can run low and cause bbb-web to block for a long period before it finishes it’s startup sequence (see Slow startup of tomcat).

    To provide bbb-web with more entropy, you can install haveged

    $ sudo apt-get install haveged
    

    For more information see How to Setup Additional Entropy for Cloud Servers Using Haveged.

    Error installing bbb-web

    If you get the following error during upgrade to BigBlueButton

    Unpacking bbb-web (1:2.2.0-67) over (1:2.2.0-66) ...
    dpkg: error processing archive /var/cache/apt/archives/bbb-web_1%3a2.2.0-67_amd64.deb (--unpack):
     trying to overwrite '/etc/bigbluebutton/nginx/web', which is also in package bbb-client 1:2.2.0-28
    dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
    Errors were encountered while processing:
     /var/cache/apt/archives/bbb-web_1%3a2.2.0-67_amd64.deb
    E: Sub-process /usr/bin/dpkg returned an error code (1)```
    

    Then first uninstall bbb-client

    $ sudo apt-get purge bbb-client
    

    and try installing BigBlueButton again.

    Other errors

    Root partition too small

    If the root partition on your BigBlueButton server is too small (for disk space requirements see Before you install), we recommend moving the following directories to an external partition with sufficient disk space.

    BigBlueButton processing and storage of recordings:

    Location of all media directories on disk available here.

    To make the move, we’ll first stop BigBlueButton, then move the above directories to a new location on the external partition, create symbolic links from the original locations to the new locations, and restart BigBlueButton.

    In the following example, the external partition is mounted on /mnt.

    $ sudo bbb-conf --stop
    
    $ sudo mv /var/freeswitch/meetings /mnt
    $ sudo ln -s /mnt/recordings /var/freeswitch/meetings
    
    $ sudo mv /usr/share/red5/webapps/video/streams /mnt
    $ sudo ln -s /mnt/streams /usr/share/red5/webapps/video/streams
    
    $ sudo /var/bigbluebutton /mnt
    $ sudo ln -s /mnt/bigbluebutton /var/bigbluebutton
    
    $ sudo bbb-conf --start
    

    BigBlueButton does not load

    If your has changed it’s network connection (such as on reboot), you can clean most of BigBlueButton’s configuration files with the following steps.

    $ sudo bbb-conf --setip <ip_address_or_hostname>
    
    $ sudo bbb-conf --clean
    $ sudo bbb-conf --check
    

    For more information see bbb-conf options.

    Running within an LXD Container

    LXD is a very powerful container system for Ubuntu lets you run full Ubuntu 16.04 servers within a container. Because you can easily clone and snapshot LXD containers, they are ideal for development and testing of BigBlueButton.

    However, if you install BigBlueButton within an LXD container, you will get the following error from sudo bbb-conf --check

    ** Potential problems described below **
    
    #
    # Error: Unable to connect to the FreeSWITCH Event Socket Layer on port 8021
    

    You’ll also get an error from starting FreeSWITCH with bbb-conf --restart. When you try systemctl status freeswitch.service, you’ll see an error with SETSCHEDULER.

    $ sudo systemctl status freeswitch.service
    ● freeswitch.service - freeswitch
       Loaded: loaded (/lib/systemd/system/freeswitch.service; enabled; vendor preset: enabled)
       Active: inactive (dead) (Result: exit-code) since Wed 2017-04-26 16:34:24 UTC; 23h ago
      Process: 7038 ExecStart=/opt/freeswitch/bin/freeswitch -u freeswitch -g daemon -ncwait $DAEMON_OPTS (code=exited, status=214/SETSCHEDULER)
    
    Apr 26 16:34:24 big systemd[1]: Failed to start freeswitch.
    Apr 26 16:34:24 big systemd[1]: freeswitch.service: Unit entered failed state.
    Apr 26 16:34:24 big systemd[1]: freeswitch.service: Failed with result 'exit-code'.
    Apr 26 16:34:24 big systemd[1]: freeswitch.service: Service hold-off time over, scheduling restart.
    Apr 26 16:34:24 big systemd[1]: Stopped freeswitch.
    Apr 26 16:34:24 big systemd[1]: freeswitch.service: Start request repeated too quickly.
    Apr 26 16:34:24 big systemd[1]: Failed to start freeswitch.
    

    This error occurs because the default systemd unit script for FreeSWITCH tries to run with permissions not available to the LXD container. To run FreeSWITCH within an LXD container, edit /lib/systemd/system/freeswitch.service and replace with the following

    [Unit]
    Description=freeswitch
    After=syslog.target network.target local-fs.target
    
    [Service]
    Type=forking
    PIDFile=/opt/freeswitch/var/run/freeswitch/freeswitch.pid
    Environment="DAEMON_OPTS=-nonat"
    EnvironmentFile=-/etc/default/freeswitch
    ExecStart=/opt/freeswitch/bin/freeswitch -u freeswitch -g daemon -ncwait $DAEMON_OPTS
    TimeoutSec=45s
    Restart=always
    WorkingDirectory=/opt/freeswitch
    User=freeswitch
    Group=daemon
    
    [Install]
    WantedBy=multi-user.target
    

    Then enter the following commands to load the new unit file and restart BigBlueButton.

    $ sudo systemctl daemon-reload
    $ sudo bbb-conf --restart
    

    You can run BigBlueButton within a LXD container.

    Unable to connect to redis

    The packages bbb-apps-akka, bbb-fsesl-akka, and bbb-transcode-akka are packaged by sbt, but they need to have redis-server running before they startup. If sudo bbb-conf --debug shows redis connection errors

    Sep 22 15:32:12 sv21 bbb-apps-akka[7804]: Exception in thread "main" io.lettuce.core.RedisConnectionException: Unable to connect to 127.0.0.1:6379
    Sep 22 15:32:12 sv21 bbb-apps-akka[7804]: #011at io.lettuce.core.RedisConnectionException.create(RedisConnectionException.java:78)
    Sep 22 15:32:12 sv21 bbb-apps-akka[7804]: #011at io.lettuce.core.RedisConnectionException.create(RedisConnectionException.java:56)
    Sep 22 15:32:12 sv21 bbb-apps-akka[7804]: Caused by: io.netty.channel.AbstractChannel$AnnotatedConnectException: Connection refused: /127.0.0.1:6379
    Sep 22 15:32:12 sv21 bbb-apps-akka[7804]: Caused by: java.net.ConnectException: Connection refused
    Sep 22 15:32:12 sv21 bbb-fsesl-akka[7893]: Exception in thread "main" io.lettuce.core.RedisConnectionException: Unable to connect to 127.0.0.1:6379
    Sep 22 15:32:12 sv21 bbb-fsesl-akka[7893]: #011at io.lettuce.core.RedisConnectionException.create(RedisConnectionException.java:78)
    Sep 22 15:32:12 sv21 bbb-fsesl-akka[7893]: #011at io.lettuce.core.RedisConnectionException.create(RedisConnectionException.java:56)
    Sep 22 15:32:12 sv21 bbb-fsesl-akka[7893]: Caused by: io.netty.channel.AbstractChannel$AnnotatedConnectException: Connection refused: /127.0.0.1:6379
    Sep 22 15:32:12 sv21 bbb-fsesl-akka[7893]: Caused by: java.net.ConnectException: Connection refused
    Sep 22 15:32:13 sv21 bbb-transcode-akka[8001]: Exception in thread "main" io.lettuce.core.RedisConnectionException: Unable to connect to 127.0.0.1:6379
    Sep 22 15:32:13 sv21 bbb-transcode-akka[8001]: #011at io.lettuce.core.RedisConnectionException.create(RedisConnectionException.java:78)
    Sep 22 15:32:13 sv21 bbb-transcode-akka[8001]: #011at io.lettuce.core.RedisConnectionException.create(RedisConnectionException.java:56)
    Sep 22 15:32:13 sv21 bbb-transcode-akka[8001]: Caused by: io.netty.channel.AbstractChannel$AnnotatedConnectException: Connection refused: /127.0.0.1:6379
    Sep 22 15:32:13 sv21 bbb-transcode-akka[8001]: Caused by: java.net.ConnectException: Connection refused
    

    you can add overrides for these three packages to ensure they start after redis.server. Run the following script.

    #!/bin/bash
    
    mkdir -p /etc/systemd/system/bbb-apps-akka.service.d
    cat > /etc/systemd/system/bbb-apps-akka.service.d/override.conf <<HERE
    [Unit]
    Requires=redis-server.service
    After=redis-server.service
    HERE
    
    mkdir -p /etc/systemd/system/bbb-fsesl-akka.service.d
    cat > /etc/systemd/system/bbb-fsesl-akka.service.d/override.conf <<HERE
    [Unit]
    Requires=redis-server.service
    After=redis-server.service
    HERE
    
    
    mkdir -p /etc/systemd/system/bbb-transcode-akka.service.d
    cat > /etc/systemd/system/bbb-transcode-akka.service.d/override.conf <<HERE
    [Unit]
    Requires=redis-server.service
    After=redis-server.service
    HERE
    

    The script bbb-install now creates these overrides by default.

    500 Internal Server Error

    It is most likely an error on GreenLight. Check the log file according to Troubleshooting Greenlight.

    If this error occurrs on just a small number of PCs accessing a BigBlueButton server within a LAN through a proxy server and you find the description “Error::Unsafe Host Error (x.x.x.x is not a safe host)” (where x.x.x.x is an IP address) in the log file, check if the “Don’t use the proxy server for local (intranet) addresses” (in the Windows proxy setting) is ticked.

    Legacy errors

    Conference not found errors

    The command sudo bbb-conf --debug searches through the red5, tomcat7, and nginx logs looking for errors and exceptions. However, the messages such as

        -- ERRORS found in /usr/share/red5/log/* --
    /usr/share/red5/log/bigbluebutton.log:2015-05-02 13:50:37,681-04:00 [pool-17-thread-1] ERROR o.b.w.v.f.a.PopulateRoomCommand - Not XML: [Conference 78505 not found]
    

    are innocuous and can be ignored.

    Понравилась статья? Поделить с друзьями:
  • Error could not automatically setup msvc
  • Error could not access game process shutdown rockstar games launcher and steam epic games
  • Error corrupted transaction log file
  • Error corrupt demo file перевод
  • Error correction techniques are