I managed to fresh install BBB in Ubuntu 16.04 and everything almost works. I can use mic over flash, but i cannot make the WebRTC call. I'm having port 80 and 443 directed to the main server and an nginx proxy_pass for the site domain in the BBB box. In the main server i get this log from nginx
2017/09/01 03:05:58 [error] 5291#0: *223 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 127.0.0.1, server:
bbb.oalm.gub.uy, request: "GET /ws HTTP/1.1", upstream: "
https://192.168.1.153:443/ws", host: "
bbb.oalm.gub.uy"
In BBB box i get everything normal.
sudo bbb-conf --check
BigBlueButton Server 1.1.0 (564)
Kernel version: 4.10.0-33-generic
Distribution: Ubuntu 16.04.3 LTS (64-bit)
Memory: 3738 MB
/var/www/bigbluebutton/client/conf/config.xml (bbb-client)
Port test (tunnel):
bbb.oalm.gub.uy red5:
bbb.oalm.gub.uy useWebrtcIfAvailable: true
/opt/freeswitch/etc/freeswitch/sip_profiles/external.xml (FreeSWITCH)
websocket port: <param name=
WebRTC enabled: true
/etc/nginx/sites-available/bigbluebutton (nginx)
server name:
bbb.oalm.gub.uy port: 80
port: 443 ssl
bbb-client dir: /var/www/bigbluebutton
/var/lib/tomcat7/webapps/bigbluebutton/WEB-INF/classes/bigbluebutton.properties (bbb-web)
bbb-web host:
bbb.oalm.gub.uy/var/lib/tomcat7/webapps/demo/bbb_api_conf.jsp (API demos)
url:
bbb.oalm.gub.uy/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:
bbb.oalm.gub.uy** Potential problems described below **
# IP does not match:
# IP from ifconfig: 192.168.1.153
# /etc/nginx/sites-available/bigbluebutton:
bbb.oalm.gub.uy# Warning: API URL IPs do not match host:
#
# IP from ifconfig: 192.168.1.153
# /var/lib/tomcat7/webapps/demo/bbb_api_conf.jsp:
bbb.oalm.gub.uy# Warning: The voice application may not have registered with the sip server.
# Try running:
#
# sudo bbb-conf --clean
#
# Warning: The setting of 190.64.208.2 for proxy_pass in
#
# /etc/bigbluebutton/nginx/sip.nginx
#
# does not match the local IP address (192.168.1.153).
# (This is OK if you've manually changed the values)
# Warning: You are running BigBlueButton on a server with less than 4G of memory. Your
# performance may suffer.
# Warning: The API demos are installed and accessible from:
#
#
https://bbb.oalm.gub.uy/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
This is the proxy pass on nginx in the main server (wich has port 80 and 443 forwarded to, other specific BBB ports are forwarded directly to the BBB box)
upstream main {
server
bbb.oalm.gub.uy;
}
server {
listen 80;
listen
127.0.0.1:443 ssl;
# listen 7443;
server_name
bbb.oalm.gub.uy;
ssl_certificate /etc/letsencrypt/live/
bbb.oalm.gub.uy/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/
bbb.oalm.gub.uy/privkey.pem;
ssl_ciphers AES256+EECDH:AES256+EDH:!aNULL;
ssl_dhparam /etc/ssl/nginx/dhparam.pem;
add_header Strict-Transport-Security max-age=31536000;
access_log /var/log/nginx/access-nginx-bbb.log;
error_log /var/log/nginx/error-nginx-bbb.log;
location / {
# proxy_pass
https://main;
# proxy_pass
https://192.168.1.153$request_uri?;
proxy_pass
https://192.168.1.153:443;
# proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
# proxy_set_header Host $host;
# proxy_set_header X-Real-IP $remote_addr;
# proxy_set_header X-Forwarded-For $remote_addr;
# proxy_read_timeout 150;
}
}
I also have done the dummy NIC and i got the correct <response>.... so i don't know what else to do.
I have followed this guide:
http://docs.bigbluebutton.org/install/install.html