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

3,415 views
Skip to first unread message

implan...@gmail.com

unread,
Jun 8, 2018, 9:29:11 AM6/8/18
to BigBlueButton-dev
Hello Fred Sir!

When i configure BigBlueButton  to load session via http. All BigBlueButton functions works correctly.
But!
When i configure BigBlueButton to load session via HTTPS according to the instructions http://docs.bigbluebutton.org/install/install.html#configuring-ssl-on-your-bigbluebutton-server,
 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

https://www.mysite.ru?errors=[{"message":"We could not find a config for this request.","key":"noConfigFound"}]



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;
        }
}

Here we see a proxy on 127.0.0.1:81
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, 4: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



--
You received this message because you are subscribed to the Google Groups "BigBlueButton-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bigbluebutton-...@googlegroups.com.
To post to this group, send email to bigblueb...@googlegroups.com.
Visit this group at https://groups.google.com/group/bigbluebutton-dev.
For more options, visit https://groups.google.com/d/optout.


--
BigBlueButton Developer
@bigbluebutton

implan...@gmail.com

unread,
Jun 18, 2018, 10:30:09 AM6/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.


Best regards, Dmitriy

Chad Pilkey

unread,
Jun 18, 2018, 2: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, 5:15:17 AM6/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, 1: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, 9:26:21 AM6/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, 1:16:17 PM6/25/18
to BigBlueButton-dev
Can you try connecting to our test server and see if you can share your camera from your phone. https://test.bigbluebutton.org/demo/demoHTML5.jsp. Also what are the phone OS, browser, and versions for both?

mohellebi mounir

unread,
Jun 25, 2018, 6:05:27 PM6/25/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 25, 2018, 7:27:16 PM6/25/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 25, 2018, 7:37:11 PM6/25/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 25, 2018, 7:46:08 PM6/25/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 25, 2018, 7:52:17 PM6/25/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, 3:10:21 AM6/26/18
to BigBlueButton-dev
Hello, Chad. When I connect to  https://test.bigbluebutton.org/demo/demoHTML5.jsp my mobile webcam connects successfully.
What is the reason? How do I configure this on my server?
I'm testing on Android 6.0.1

implan...@gmail.com

unread,
Jun 26, 2018, 6:44:05 AM6/26/18
to BigBlueButton-dev
and this error was also found in firefox.
Screensharing in firefox work correctly

Chad Pilkey

unread,
Jun 26, 2018, 1: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, 2:12:34 PM6/26/18
to bigblueb...@googlegroups.com
Hey guys, let's try to figure this out.
@mohellebi: Can you paste the output of bbb-conf --status? Also, pastebin the browser console logs when trying to share a webcam in your server.
@implatiumweb: To share your screen in Chrome in your own server, you'll have to deploy your own extension that whitelists your server's domain.
This is required by chrome by default. You can follow the steps listed in https://github.com/bigbluebutton/screenshare-chrome-extension.

And if both of you could pastebin the configuration files located in /usr/share/meteor/bundle/programs/server/assets/app/config/settings-production.json
and /usr/local/bigbluebutton/bbb-webrtc-sfu/config/default.yml, it'd be great. Let's try to find if it's a misconfiguration issue (it seems to be the case) and
how we can fix it.



--

implan...@gmail.com

unread,
Jun 27, 2018, 5:21:32 AM6/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, 5:29:59 AM6/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":"[video] 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":"[video] 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=0\r\no=- 7257599792663242168 2 IN IP4 127.0.0.1\r\ns=-\r\nt=0 0\r\na=msid-semantic: WMS 2lgf7BnJelBb8GoihEF8qe0Zy3lG7ilgMRsp\r\na=group:BUNDLE video\r\nm=video 9 UDP/TLS/RTP/SAVPF 100\r\nc=IN IP4 0.0.0.0\r\na=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":"[video] 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, 10:46:59 AM6/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

tcp        0      0 10.10.50.141:26337      *:*                     LISTEN      23016/kurento-media

udp        0      0 10.10.50.141:30490      *:*                                 23016/kurento-media
udp        0      0 10.10.50.141:30961      *:*                                 23016/kurento-media

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 28, 2018, 5:33:24 PM6/28/18
to bigblueb...@googlegroups.com
Hey,

Have you set up a STUN server? Taking into account that your server is behind NAT, you need to configure
one on Kurento so it's able to fetch a valid IP address. 
If you've not done this yet, you might wanna take a look at http://docs.bigbluebutton.org/html/html5-install.html#2-install-html5-client 
and then retry your tests.

s,

Paulo.

Reply all
Reply to author
Forward
0 new messages