Unsupported transport tcp! running echotest alongside apache2

242 views
Skip to first unread message

Pete Andrews

unread,
Jan 23, 2015, 3:14:35 PM1/23/15
to meetech...@googlegroups.com
Hello all!

i'm a bit confused as to what i'm seeing here with a janus server running alongside  apache2 on ubuntu 14.04, and i'm wondering if anyone can help. I have followed and performed the build/installation guide for Janus without problems, and after starting the server, i'm attempting to load the echotest.html page hosted on the same machine with Chrome. I'm wondering what the "Unsupported transport tcp!" message is all about. What is that an indication of? Here's the NAT related section of my config file:

[nat]
public_ip = 10.0.0.43
;stun_server = stun.voip.eutelia.it
;stun_port = 3478
nice_debug = false

and here's the output of the server:

msuv@msuv-HP-ProBook-450-G1:/opt/janus/bin$ ./janus
---------------------------------------------------
  Starting Meetecho Janus (WebRTC Gateway) v0.0.7
---------------------------------------------------

Reading configuration from /opt/janus/etc/janus/janus.cfg
Checking command line arguments...
Debug/log level is 4
Adding 'vmnet' to the ICE ignore list...
Using 10.0.0.43 as local IP...
Initializing ICE stuff (IPv6 candidates disabled)
Using 10.0.0.43 as our public IP in SDP
Fingerprint of our certificate: C5:5F:DA:7D:84:47:B1:BF:6B:55:16:62:48:31:3E:D3:F1:7B:25:89:92:4A:4B:4D:4D:D9:D5:AF:EA:D8:15:44
Plugins folder: /opt/janus/lib/janus/plugins
Loading plugin 'libjanus_videocall.so'...
JANUS VideoCall plugin initialized!
Loading plugin 'libjanus_audiobridge.so'...
VideoCall watchdog started
JANUS AudioBridge plugin initialized!
Loading plugin 'libjanus_echotest.so'...
AudioBridge watchdog started
JANUS EchoTest plugin initialized!
Loading plugin 'libjanus_streaming.so'...
Echotest watchdog started
JANUS Streaming plugin initialized!
Loading plugin 'libjanus_voicemail.so'...
Streaming watchdog started
JANUS VoiceMail plugin initialized!
Loading plugin 'libjanus_recordplay.so'...
VoiceMail watchdog started
JANUS Record&Play plugin initialized!
Loading plugin 'libjanus_sip.so'...
Record&Play watchdog started
JANUS SIP plugin initialized!
Loading plugin 'libjanus_videoroom.so'...
SIP watchdog started
JANUS VideoRoom plugin initialized!
VideoRoom watchdog started
HTTP webserver started (port 8088, /janus path listener)...
[WARN] HTTPS webserver disabled
[WARN] WebSockets support not compiled
[WARN] RabbitMQ support not compiled
[WARN] Admin/monitor HTTP webserver disabled
[WARN] Admin/monitor HTTPS webserver disabled
Sessions watchdog started
Creating new session: 753286936
Creating new handle in session 753286936: 793040045
[793040045] There's a message for JANUS EchoTest plugin
[793040045] There's a message for JANUS EchoTest plugin
[793040045] ICE send thread started...
[793040045] Creating ICE agent (controlled mode)
[WARN] [793040045] Queueing trickle candidate, status is not START yet
[793040045] Done! Ready to setup remote candidates and send connectivity checks...
[WARN] [793040045]    Unsupported transport tcp!
No more remote candidates for handle 793040045!
Detaching handle from JANUS EchoTest plugin
Handle detached (0), scheduling destruction
Destroying session 753286936
[793040045] ICE send thread leaving...
[793040045] WebRTC resources freed
[793040045] Handle and related resources freed

any ideas? anything else i can provide to help with clues?
thanks all!

-pete

Pete Andrews

unread,
Jan 23, 2015, 4:02:31 PM1/23/15
to meetech...@googlegroups.com
I'm assuming i've missed something in the configuration of the server ....
i can load the echotest.html demo on this machine from the official meetecho website.. so i know the test will work with the browser.

-pete

Lorenzo Miniero

unread,
Jan 23, 2015, 4:24:36 PM1/23/15
to meetech...@googlegroups.com
That's just a warning. We don't handle TCP ICE candidates and we ignore them, but that's ok as they're not needed.

L.

Pete Andrews

unread,
Jan 26, 2015, 9:26:04 AM1/26/15
to meetech...@googlegroups.com
ok - good to know.
i'll open the trace up more and see if i can't get some indication as to why i get no video/audio - just a black box for the remote stream.

thanks for the info!


pete


On Friday, January 23, 2015 at 3:14:35 PM UTC-5, Pete Andrews wrote:

Pete Andrews

unread,
Jan 26, 2015, 12:01:10 PM1/26/15
to meetech...@googlegroups.com
only thing I see out of the ordinary is the STUN errors around line 1452.
Again... any indication in this log as to why echotest would fail to show the remote stream?

https://drive.google.com/file/d/0B0GD-87frlq5bnN0ZjFoajJTWE0/view?usp=sharing

thanks in advance!!

-pete



On Friday, January 23, 2015 at 3:14:35 PM UTC-5, Pete Andrews wrote:

Lorenzo Miniero

unread,
Jan 26, 2015, 1:15:19 PM1/26/15
to meetech...@googlegroups.com
The server seems to be installed behind a NAT (it has a private 10.x.x.x) address, but you didn't configure a STUN server for Janus to use. As a result, Janus is sending candidates that the browsers can't communicate with (private address), ICE fails, and nothing works. Check the configuration file on how to add a STUN server there.

L.

Pete Andrews

unread,
Jan 26, 2015, 1:39:55 PM1/26/15
to meetech...@googlegroups.com
OK - got it sorted.
the solution was in a post a little while back... this is what i did:

---------------------------------------------------------------------------------------

Open dtls.c and just after line 135, add : SSL_CTX_set_read_ahead(ssl_ctx,1) ;

make, make install and try. It works very well for me. 
related to https://github.com/meetecho/janus-gateway/issues/132 and maybe https://github.com/meetecho/janus-gateway/issues/134

------------------------------------------------------------------------------------------

once i made that change in dtls.c and rebuilt, it worked.

thanks!


-pete



On Friday, January 23, 2015 at 3:14:35 PM UTC-5, Pete Andrews wrote:

Lorenzo Miniero

unread,
Jan 26, 2015, 1:41:39 PM1/26/15
to meetech...@googlegroups.com
You should actually not need to do that manually, if you have the latest code. That line has already been added to the version we have on github. Is your version of the code not up-to-date?

L.
Reply all
Reply to author
Forward
0 new messages