Error 1002: Could not make a WebSocket connection

4,123 views
Skip to first unread message

Mark Lin

unread,
Mar 7, 2016, 7:44:57 AM3/7/16
to BigBlueButton-Setup
Hello,
i installed the default BBB without https
no fire wall
getting in chrome & firefox the same error -
Detected the following WebRTC issue: Error 1002: Could not make a WebSocket connection.
what should i look fore?
Thank you

HostBBB.com

unread,
Mar 7, 2016, 7:54:02 AM3/7/16
to BigBlueButton-Setup
Mark,

Do  ifconfig, does your server show the external ip, or an internal ip?

You didn't give us much details, is this .91 or 1.0beta?

If ifs showing internal ip, you need to config per this http://docs.bigbluebutton.org/1.0/10install.html#audio-not-working

Also,  a simple  telnet yourserver.com 5066 will verify whether you can connect to websockets server.
It wont work until this port can be accessed, and freeswitch answers.

regards,
Stephen

mlin40613

unread,
Mar 7, 2016, 9:19:53 AM3/7/16
to bigbluebu...@googlegroups.com
Sorry about "much details"
BBB 1.0 BETA
Dedicated server
bbb-conf --check

BigBlueButton Server 1.0.0-beta (1028)
                    Kernel version: 3.19.0-28-generic
                      Distribution: Ubuntu 14.04.4 LTS (64-bit)
                            Memory: 3952 MB

/var/www/bigbluebutton/client/conf/config.xml (bbb-client)
                Port test (tunnel): Mydomain.com
                              Red5: Mydomain.com
              useWebrtcIfAvailable: true

/opt/freeswitch/conf/sip_profiles/external.xml (FreeSWITCH)
                    websocket port: 5066
                    WebRTC enabled: true

/etc/nginx/sites-available/bigbluebutton (nginx)
                       server name: Mydomain.com
                              port: 80
                    bbb-client dir: /var/www/bigbluebutton

/var/lib/tomcat7/webapps/bigbluebutton/WEB-INF/classes/bigbluebutton.properties (bbb-web)
                      bbb-web host: Mydomain.com

/var/lib/tomcat7/webapps/demo/bbb_api_conf.jsp (API demos)
                               url: Mydomain.com

/var/www/bigbluebutton/check/conf/config.xml (client check)
                      client check: Mydomain.com

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

/usr/local/bigbluebutton/core/scripts/bigbluebutton.yml (record and playback)
                     playback host: Mydomain.com


** Potential problems described below **
# IP does not match:
#                           IP from ifconfig: 104.xxx.39.xx
#   /etc/nginx/sites-available/bigbluebutton: Mydomain.com
# Warning: API URL IPs do not match host:
#
#                                IP from ifconfig: 104.xxx.39.xx
#  /var/lib/tomcat7/webapps/demo/bbb_api_conf.jsp: Mydomain.com

# Warning: The API demos are installed and accessible from:
#
#
# 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

# Warning: The client self check is installed and accessible from:
#

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

mlin40613

unread,
Mar 8, 2016, 11:13:42 AM3/8/16
to bigbluebu...@googlegroups.com
Someone Please?

Chad Pilkey

unread,
Mar 8, 2016, 2:11:06 PM3/8/16
to BigBlueButton-Setup
Can you try running "bbb-conf --enablewebrtc" and see if that clears it up.

If that command doesn't fix it, do you see both an internal IP and an external IP in "ifconfig"? If so the additional instructions that Stephen pointed out might help you get going (http://docs.bigbluebutton.org/1.0/10install.html#audio-not-working)
Someone Please?

To unsubscribe from this group and stop receiving emails from it, send an email to bigbluebutton-setup+unsub...@googlegroups.com.

mlin40613

unread,
Mar 8, 2016, 5:04:15 PM3/8/16
to bigbluebu...@googlegroups.com
Although it is non EC2 , i configured the server according to - http://docs.bigbluebutton.org/1.0/10install.html#audio-not-working
 
but getting the same result.

i do not no if it is related but when running: sudo bbb-conf --debug
   -- Exceptions found in /var/lib/tomcat7/logs/ --
/var/lib/tomcat7/logs/catalina.out:java.net.ConnectException: Connection refused
/var/lib/tomcat7/logs/catalina.out:java.lang.NullPointerException
Thank you


Someone Please?

To unsubscribe from this group and stop receiving emails from it, send an email to bigbluebutton-s...@googlegroups.com.
To post to this group, send email to bigbluebu...@googlegroups.com.
Visit this group at https://groups.google.com/group/bigbluebutton-setup.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "BigBlueButton-Setup" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bigbluebutton-s...@googlegroups.com.

Chad Pilkey

unread,
Mar 8, 2016, 5:31:12 PM3/8/16
to BigBlueButton-Setup
The websocket connection doesn't go through tomcat so those logs won't matter.

What is the output of "cat /etc/bigbluebutton/nginx/sip.nginx"?

What is the output of "ifconfig"?
Someone Please?

To unsubscribe from this group and stop receiving emails from it, send an email to bigbluebutton-setup+unsub...@googlegroups.com.
To post to this group, send email to bigbluebu...@googlegroups.com.
Visit this group at https://groups.google.com/group/bigbluebutton-setup.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "BigBlueButton-Setup" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bigbluebutton-setup+unsub...@googlegroups.com.

mlin40613

unread,
Mar 9, 2016, 5:45:55 AM3/9/16
to bigbluebu...@googlegroups.com
 cat /etc/bigbluebutton/nginx/sip.nginx
location /ws {
        proxy_pass http://104.xxx.xx.50:5066;
        proxy_http_version 1.1;
        proxy_set_header Upgrade $http_upgrade;
        proxy_set_header Connection "Upgrade";
        proxy_read_timeout 6h;
        proxy_send_timeout 6h;
        client_body_timeout 6h;
        send_timeout 6h;

ifconfig
eth0      Link encap:Ethernet  HWaddr 00:00:68:f5:27:32
          inet addr:104.xxx.xx.50  Bcast:104.xxx.xx.255  Mask:255.255.254.0
          inet6 addr: fe80::200:68ff:fef5:2732/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:7287 errors:0 dropped:0 overruns:0 frame:0
          TX packets:7336 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:1152750 (1.1 MB)  TX bytes:4825900 (4.8 MB)

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:41721 errors:0 dropped:0 overruns:0 frame:0
          TX packets:41721 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:7026678 (7.0 MB)  TX bytes:7026678 (7.0 MB)


Someone Please?

To unsubscribe from this group and stop receiving emails from it, send an email to bigbluebutton-s...@googlegroups.com.
To post to this group, send email to bigbluebu...@googlegroups.com.
Visit this group at https://groups.google.com/group/bigbluebutton-setup.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "BigBlueButton-Setup" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bigbluebutton-s...@googlegroups.com.

To post to this group, send email to bigbluebu...@googlegroups.com.
Visit this group at https://groups.google.com/group/bigbluebutton-setup.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "BigBlueButton-Setup" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bigbluebutton-s...@googlegroups.com.

HostBBB.com

unread,
Mar 9, 2016, 7:29:10 AM3/9/16
to BigBlueButton-Setup
Mark,  back to my question from few days ago,

1) Is this your public ipaddress that your domain is mapped to?
2) Can you telnet from a "remote computer"  yourbbbdomain.com  5066?

regards,
Stephen
Someone Please?

To unsubscribe from this group and stop receiving emails from it, send an email to bigbluebutton-setup+unsub...@googlegroups.com.
To post to this group, send email to bigbluebu...@googlegroups.com.
Visit this group at https://groups.google.com/group/bigbluebutton-setup.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "BigBlueButton-Setup" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bigbluebutton-setup+unsub...@googlegroups.com.

To post to this group, send email to bigbluebu...@googlegroups.com.
Visit this group at https://groups.google.com/group/bigbluebutton-setup.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "BigBlueButton-Setup" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bigbluebutton-setup+unsub...@googlegroups.com.

mlin40613

unread,
Mar 9, 2016, 9:36:12 AM3/9/16
to bigbluebu...@googlegroups.com
1) "Is this your public ipaddress that your domain is mapped to?"
 yes

2 ) "Can you telnet from a "remote computer"  yourbbbdomain.com  5066"

empty page

Someone Please?

To unsubscribe from this group and stop receiving emails from it, send an email to bigbluebutton-s...@googlegroups.com.
To post to this group, send email to bigbluebu...@googlegroups.com.
Visit this group at https://groups.google.com/group/bigbluebutton-setup.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "BigBlueButton-Setup" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bigbluebutton-s...@googlegroups.com.

To post to this group, send email to bigbluebu...@googlegroups.com.
Visit this group at https://groups.google.com/group/bigbluebutton-setup.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "BigBlueButton-Setup" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bigbluebutton-s...@googlegroups.com.

To post to this group, send email to bigbluebu...@googlegroups.com.
Visit this group at https://groups.google.com/group/bigbluebutton-setup.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "BigBlueButton-Setup" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bigbluebutton-s...@googlegroups.com.

Chad Pilkey

unread,
Mar 9, 2016, 10:42:33 AM3/9/16
to BigBlueButton-Setup
Can you connect to the WebRTC audio on http://demo.bigbluebutton.org? I think we've gone through all of the normal server configuration causes. I'm wondering if it's a client side issue.
Someone Please?

To unsubscribe from this group and stop receiving emails from it, send an email to bigbluebutton-setup+unsub...@googlegroups.com.
To post to this group, send email to bigbluebu...@googlegroups.com.
Visit this group at https://groups.google.com/group/bigbluebutton-setup.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "BigBlueButton-Setup" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bigbluebutton-setup+unsub...@googlegroups.com.

To post to this group, send email to bigbluebu...@googlegroups.com.
Visit this group at https://groups.google.com/group/bigbluebutton-setup.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "BigBlueButton-Setup" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bigbluebutton-setup+unsub...@googlegroups.com.

To post to this group, send email to bigbluebu...@googlegroups.com.
Visit this group at https://groups.google.com/group/bigbluebutton-setup.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "BigBlueButton-Setup" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bigbluebutton-setup+unsub...@googlegroups.com.

mlin40613

unread,
Mar 9, 2016, 11:05:23 AM3/9/16
to bigbluebu...@googlegroups.com
No problem at http://demo.bigbluebutton.org, i can see the "[ webRTC audio ]" down right near the language button with no error.

Someone Please?

To unsubscribe from this group and stop receiving emails from it, send an email to bigbluebutton-s...@googlegroups.com.
To post to this group, send email to bigbluebu...@googlegroups.com.
Visit this group at https://groups.google.com/group/bigbluebutton-setup.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "BigBlueButton-Setup" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bigbluebutton-s...@googlegroups.com.

To post to this group, send email to bigbluebu...@googlegroups.com.
Visit this group at https://groups.google.com/group/bigbluebutton-setup.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "BigBlueButton-Setup" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bigbluebutton-s...@googlegroups.com.

To post to this group, send email to bigbluebu...@googlegroups.com.
Visit this group at https://groups.google.com/group/bigbluebutton-setup.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "BigBlueButton-Setup" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bigbluebutton-s...@googlegroups.com.

To post to this group, send email to bigbluebu...@googlegroups.com.
Visit this group at https://groups.google.com/group/bigbluebutton-setup.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "BigBlueButton-Setup" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bigbluebutton-s...@googlegroups.com.

mlin40613

unread,
Mar 10, 2016, 11:44:40 AM3/10/16
to bigbluebu...@googlegroups.com
Tried to go thru the configuration recommended at- 

and


but it is seems that every thing in place.

i want to manchen that i testeb bbb on VPS & Deticated server and i get the same result - 
error1002.

what are my option?


Thank you

mlin40613

unread,
Mar 11, 2016, 5:04:03 AM3/11/16
to bigbluebu...@googlegroups.com
SomeOne Please

Fred Dixon

unread,
Mar 11, 2016, 6:57:04 AM3/11/16
to bigbluebu...@googlegroups.com
Hi Mark,

You've posted twice in the last 24 hours, which suggest you believe there is an implied service level agreement in these forums in which all messages are answered within X hours or Y days.

There is not.

These forums are for members to volunteer their time to help others.  There are over 2000 members in this forum.  Posting twice does *not* increase your chances for a response; rather, it just floods the mailbox of all members.

If you are unable to wait for another member to volunteer their time, you have other support options at


In any event, be patient.


Regards,... Fred
BigBlueButton Developer
@bigbluebutton
Reply all
Reply to author
Forward
0 new messages