Janus WebRTC No WebRTC media anymore sslv3 alert handshake failure

176 views
Skip to first unread message

Robert Davis

unread,
Jan 6, 2018, 4:50:45 PM1/6/18
to meetecho-janus
Hello WebRTC Master Gurus,

I am experiencing difficulties setting up Janus WebRTC on Lenovo ThinkPad X130e running Ubuntu 14.04 LTS, this is i386 32bit laptop.

For the WebRTC handshake error with SSLV3 alert handshake failure, I've removed the OpenSSL 1.0.1F using sudo apt-get remove openssl.

Then installed openssl-1.0.2d with wget

wget https://www.openssl.org/source/old/1.0.2/openssl-1.0.2d.tar.gz --no-check-certificate

compiled successful and issued symbolic link

sudo ln -sf /usr/local/ssl/bin/openssl

sudo /usr/local/ssl/bin/openssl version -v

shows openssl 1.0.2d

reinstalled Janus dependencies without libssl-dev and libcurl4-openssl-dev, recompiled nodejs, and redo the Janus config, make, make install, etc.

curl -sL https://deb.nodesource.com/setup_9.x | sudo -E bash -

sudo apt-get install -y nodejs

aptitude install libmicrohttpd-dev libjansson-dev libnice-dev libsrtp-dev libsofia-sip-ua-dev libglib2.0-dev libopus-dev libogg-dev pkg-config gengetopt libtool automake

recompiled, make, install usrsctp

recompiled, make, install libsrtp v2.0.0 with --enable-openssl

recompiled, make, install libwebsockets

recompiled, make, install janus

./configure --prefix=/opt/janus --enable-all-js-modules=yes --enable-docs --enable-data-channels

Janus shows

libsrtp version:           2.0.x

SSL/crypto library:        OpenSSL

DTLS set-timeout:          not available

DataChannels support:      yes

Recordings post-processor: no

TURN REST API client:      yes

Start Janus in foreground

sudo /opt/janus/bin/janus

Data Channels still not compiled?

[WARN] Data Channels support not compiled

[WARN] Unix Sockets server disabled (Janus API)

[WARN] Unix Sockets server disabled (Admin API)

[WARN] No Unix Sockets server started, giving up...

HTTP webserver started (port 8088, /janus path listener)...

[WARN] HTTPS webserver disabled

[WARN] Admin/monitor HTTP webserver disabled

[WARN] Admin/monitor HTTPS webserver disabled

JANUS REST (HTTP/HTTPS) transport plugin initialized!

Loading transport plugin 'libjanus_websockets.so'...

[WARN] libwebsockets has been built without IPv6 support, will bind to IPv4 only

WebSockets server started (port 8188)...

[WARN] Secure WebSockets server disabled

[WARN] Admin WebSockets server disabled

[WARN] Secure Admin WebSockets server disabled

JANUS WebSockets transport plugin initialized!

HTTP/Janus sessions watchdog started

WebSockets thread started

When starting my WebRTC cameras (which works fine to different Janus WebRTC laptop #1 but this janus webrtc laptop #1 has broken gui desktop and broken packages and I must resort to cntl-alt-f1 manual command line mode to get it online, therefore I am trying to build new replacement Janus WebRTC laptop #2, get it working, then re-build Janus WebRTC laptop #1).

Back to Janus WebRTC laptop #2, here is the WebRTC camera connection attemps to Janus WebRTC laptop #2.

[ERR] [plugins/janus_videoroom.c:janus_videoroom_handle_message:1664] Room 1004 already exists!

Cleaning up handle 3123363100468369...

[3123363100468369] WebRTC resources freed

[3123363100468369] Handle and related resources freed

[8184138235160926] Creating ICE agent (ICE Full mode, controlled)

No WebRTC media anymore

[ERR] [dtls.c:janus_dtls_srtp_incoming_msg:615] [8184138235160926] Handshake error: error:14102410:SSL routines:DTLS1_READ_BYTES:sslv3 alert handshake failure

[8184138235160926] WebRTC resources freed

Curious why still getting sslv3 alert handshake failure although I've removed OpenSSL 1.0.1f (that has handshake bug as per google group meetecho thread) and it recommended and confirmed installation OpenSSL 1.0.2d will resolve and fix the handshake issue.

Please assist, thank you in advance, much appreciated for your time, work effort, and knowledge transfers.

Thank you,
Bob














Robert Davis

unread,
Jan 6, 2018, 9:11:16 PM1/6/18
to meetecho-janus

All,

Installing BoringSSL and recompiled Janus with --enable-boringsll resolved this issue.

The DataChannels and SSLv3 is working.

The WebRTC videorooms works with firefox browser on Janus laptop #2, however client workstations nor smartphones cannot view videorooms.  This Janus WebRTC is private network, client workstatioins is private lan, not internet.

I am investigating ... appears to be TURNSERVER related.
Reply all
Reply to author
Forward
0 new messages