TLS connection aborted in WebRTC

703 views
Skip to first unread message

Xavier Marjou

unread,
Sep 5, 2013, 3:13:11 PM9/5/13
to turn-server-project...@googlegroups.com
Context : a basic WebRTC communication in which one of the 2 browsers can only send/receive WebRTC flows with TLS/TCP. I'm thus trying to use TURN/TLS/TCP to transport WebRTC flows between an rfc5766-turn-server relay and a 30 beta-m Chrome browser. 

Right after the TLS handshake, Chrome closes the connection with a TCP FIN ACK message (no data has been sent yet on the connection), and I can not figure out why. 
Any idea how to solve it?

Thanks,
Xavier

PS: here are the messages that I observe with Wireshark on the browser's side :
chrome      turn-server
--> TCP SYN
<-- TCP SYN, ACK
--> ACK
--> TLSv1.2 Client Hello
<-- TLS v1.2 Server Hello, Certificate, Hello Done
--> TLS v1.2 Client Key Exchange, Change Cipher Spec, Encrypted Handshake Message
<-- TLS v1.2 New Session Ticket, Change Cipher Spec, Encrypted Handshake Message
--> TCP FIN ACK
<-- TCP FIN ACK

Oleg Moskalenko

unread,
Sep 5, 2013, 3:26:59 PM9/5/13
to turn-server-project...@googlegroups.com
I have no immediate idea.

I am somewhat surprised that Chrome wants to use TLS 1.2, but that's fine.

One thing that comes to mind is that Chrome may be awaiting for a certain type of certificate - and the chrome does not like the certificate that you provided. Try to browse through the chrome logs and try to play with the certificate.

Another thing is that you can try to limit TLS connection to TLS 1.1 or 1.0 (by changing the cipher suite in the settings) and see whether it helps.

Oleg
Message has been deleted

Xavier Marjou

unread,
Sep 6, 2013, 8:14:16 AM9/6/13
to turn-server-project...@googlegroups.com
That was indeed a problem of certificate validity in Chrome. I fixed it ;
now I have "my" WebRTC flows being successfully transported with TURN/TLS.

By the way, TLSv1.2 worked fine in this case.

Thanks

Oleg Moskalenko

unread,
Sep 6, 2013, 11:11:38 AM9/6/13
to turn-server-project...@googlegroups.com
Great. Thanks for the feedback and for testing that.

Oleg

gourab biswas

unread,
Jun 10, 2014, 5:03:37 AM6/10/14
to turn-server-project...@googlegroups.com, xavier...@gmail.com
How did u fix it?? currently i am also facing the same prob that u have mentioned..

Basar Daldal

unread,
Dec 2, 2014, 11:24:55 AM12/2/14
to turn-server-project...@googlegroups.com, xavier...@gmail.com
Hi,

How is this fixed? We see the same issue.

Thanks,
Basar

Raghavendra Uppalapati

unread,
Mar 20, 2015, 6:04:21 AM3/20/15
to turn-server-project...@googlegroups.com, xavier...@gmail.com
Hi Xavier,
We are also facing the same problem?  Chrome immediatley closes the connection.
Can you please tell us how to fix this?

--
Thanks
Raghavendra
Reply all
Reply to author
Forward
0 new messages