[html5] Camera Share Error (Error during WebSocket handshake)

640 views
Skip to first unread message

a.og...@entouch.co.jp

unread,
Jan 31, 2019, 4:04:51 AM1/31/19
to BigBlueButton-dev
HI after setting up a new RC9 server we received this error in the Chrome developer console:

WebSocket connection to 'wss://<url>.jp/bbb-webrtc-sfu' failed: Error during WebSocket handshake: Unexpected response code: 404

Probably some missed configuration, has anyone seen this before?

sudo bbb-conf --check

BigBlueButton Server 2.0.0-RC9 (1180)
                    Kernel version: 4.15.0-1026-gcp
                      Distribution: Ubuntu 16.04.5 LTS (64-bit)
                            Memory: 7652 MB

/var/www/bigbluebutton/client/conf/config.xml (bbb-client)
  Port test (tunnel): rtmp://<EXT URL>.jp
                              red5: <EXT URL>.jp
              useWebrtcIfAvailable: true

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

/etc/nginx/sites-available/bigbluebutton (nginx)
                       server name: <EXT URL>.jp
                              port: 80, [::]: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: <EXT URL>.jp

/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: biogen.detailing.entouch.jp
                            ffmpeg: 4.1-1~16.04.york0

/usr/local/bigbluebutton/bbb-webrtc-sfu/config/default.yml (Kurento)
                        kurentoUrl: ws://<EXT URL>.jp:8888/kurento
                         kurentoIp: <EXT IP>
                    localIpAddress: <LOCAL IP>
               recordScreenSharing: true
                     recordWebcams: true
                              Node: v8.15.0
                           mongoDB: v3.6.9


** Potential problems described below **
# IP does not match:
#                           IP from ifconfig: <LOCAL IP>
#   /etc/nginx/sites-available/bigbluebutton: <EXT URL>.jp

# Warning: The setting of <EXT IP> for proxy_pass in
#
#    /etc/bigbluebutton/nginx/sip.nginx
#
# does not match the local IP address (<LOCAL IP>).
# (This is OK if you've manually changed the values)



Phill. Whiteside

unread,
Jan 31, 2019, 7:14:03 AM1/31/19
to bigblueb...@googlegroups.com, a.og...@entouch.co.jp
Hi,

in the first instance I'd suggest upgrading to the RC10 instance, details for this are at


Note:  2.0-RC10 makes use of yq, a convenient command line utility to make editing YAML files easier and safer, in some of the BigBlueButton packaging scripts.  The above link shows you how to install a personal package archive (PPA) for yq before updating.
 
Regards,

Phill.

--
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.

a.og...@entouch.co.jp

unread,
Jan 31, 2019, 8:22:00 PM1/31/19
to BigBlueButton-dev
Hi Phil, 

We will soon, but we apply additional changes to the HTML5 client which have to be tested against before we update.
We also have an update process after BBB team releases. Our cycle takes a few weeks after an announcement here. 

- wait for release comments from the core community users and early adopters.
- pre-mod tests
- apply our mods
- apply our tests
- update documentation
- prep customers
- release

We are currently on RC9 release process, but failing pre-modification tests.
Are you acknowledging a critical bug in RC9 for webcams that requires RC10 to fix?



Fred Dixon

unread,
Jan 31, 2019, 11:08:57 PM1/31/19
to BigBlueButton-dev
Hi Ally,

In RC10 we resolved the packaging issue with Kurento that was introduced in RC9.  We are currently resolving a regression we introduced in the playback of recordings RC10, see


We are testing a fix now.  Look for RC11 shortly.  We look forward to hearing the results of RC11 in your testing process.

Regards,... Free



--
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
Message has been deleted

a.og...@entouch.co.jp

unread,
Jan 31, 2019, 11:33:50 PM1/31/19
to BigBlueButton-dev
I don't know if this helps to troubleshoot but I found that for some reason bbb-wertc-sfu.service was not running.

We started the service manually, then ran bbb-conf --restart (which finished without issues). and then retried the share camera and got this error in bbb-wertc-sfu.service  log:

Feb 01 13:27:16 <server> bbb-webrtc-sfu[904]: 2019-02-01T04:27:16.798Z - error: [mcs-api] Reject operation join with type=error, code=undefined, message=Error : Invalid roomId
Feb 01 13:27:16 <server> bbb-webrtc-sfu[904]:     at MCSClient.join (/usr/local/bigbluebutton/bbb-webrtc-sfu/node_modules/mcs-js/lib/MCSClient.js:65:13)
Feb 01 13:27:16 <server> bbb-webrtc-sfu[904]:     at MCSAPIWrapper.join (/usr/local/bigbluebutton/bbb-webrtc-sfu/lib/base/MCSAPIWrapper.js:84:43)
Feb 01 13:27:16 <server> bbb-webrtc-sfu[904]:     at Promise (/usr/local/bigbluebutton/bbb-webrtc-sfu/lib/video/video.js:230:40)
Feb 01 13:27:16 <server> bbb-webrtc-sfu[904]:     at <anonymous>


 Not sure why bbb-webrtc-sfu cannot find the roomId :/

Fred Dixon

unread,
Jan 31, 2019, 11:38:41 PM1/31/19
to BigBlueButton-dev
Hi Ally,

Two quick questions
  - is this test on RC10?
  - is yq installed (try the command `which yq`)?

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.

a.og...@entouch.co.jp

unread,
Jan 31, 2019, 11:44:40 PM1/31/19
to BigBlueButton-dev
This is RC9 according to sudo bbb-conf --check

which yq
/usr/bin/yq


Fred Dixon

unread,
Feb 1, 2019, 6:40:56 AM2/1/19
to BigBlueButton-dev
Hi Ally,

We had a mismatch in the packages for Kurento which caused the error you saw.  If you could try 2.0-RC10 on a test server, you should *not* see that error.

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.
Reply all
Reply to author
Forward
0 new messages