Zimbra Talk V2: How to debug WebRTC/TURN?

Working with Zimbra Talk? This is your Forum, drop here your questions with the Installation, Configuration, etc.
User avatar
msquadrat
Advanced member
Advanced member
Posts: 162
Joined: Mon Oct 14, 2013 10:09 am

Zimbra Talk V2: How to debug WebRTC/TURN?

Postby msquadrat » Wed Apr 04, 2018 3:34 pm

Hi folks,

I put this here since I'm afraid that in the still existing Zimbra Talk forum nobody will see the post.

I finally made Zimbra Talk V2 work on two of our test installations. The video chat works fine with people on the same network but breaks as soon as there's some NAT in between.

The solution should be a TURN/STUN server; I installed and configured one (package coturn on Ubuntu) and added it to the ZTalk config as described here:
https://wiki.zimbra.com/wiki/Talk_V2_Ad ... URN_server

Unfortunately, people are still not able to communicate through a NAT.

It is definitely possible that I made an error somewhere. When I tried my standard ways of debugging issues like these (staring at log files, the browser's network console and wireshark) it looked to me like the TURN server wasn't used by my client at all but I'm not sure if I even looked at the correct things. So my question: Has anybody debugged videochat/WebRTC/TURN before and can point me into the right direction? Is there maybe a hidden debug mode?

Cheers,
Malte


User avatar
msquadrat
Advanced member
Advanced member
Posts: 162
Joined: Mon Oct 14, 2013 10:09 am

Re: Zimbra Talk V2: How to debug WebRTC/TURN?

Postby msquadrat » Wed Apr 04, 2018 7:33 pm

Ok, using the stun command line client and the Trickle ICE testing service I was able to verify that at least my turn server was working as expected.

I use the following turnserver.conf:

Code: Select all

external-ip=192.0.2.42
lt-cred-mech
realm=zimbra.example
cert=/opt/zimbra/ssl/zimbra/commercial/commercial.crt
pkey=/opt/zimbra/ssl/zimbra/commercial/commercial.key
syslog
verbose


And added a user via

Code: Select all

turnadmin -a -u zimbra -r zimbra.example -p password


The lt-cred-mech option was essential to enable.

Now I'd still like to know how to debug the browser/Zimbra Talk part to make sure it actually uses the TURN server.
cuoz
Posts: 8
Joined: Mon Apr 28, 2014 4:01 pm

Re: Zimbra Talk V2: How to debug WebRTC/TURN?

Postby cuoz » Mon Apr 30, 2018 8:21 pm

I'm also trying to get a TURN server working with Talk v2. I also see video working when on the same network. When I test across NAT each party is able to initiate a session, we see our own webcam image, but the connection times out and the window disappears.

I've tried 3 different TURN servers on ubuntu, all the same result. I am currently also using coturn and I believe problem a similar setup to you.

Something on my network which I'm not sure how this affects things... My mailbox server runs in private IP space behind public facing proxy & mta servers. When I initiate a conference, I do see logs in the turn server, which I believe implies the clients are attempting to utilize it.

If you have had any luck since posting, I'd be interested to know what you did to get your environment up & running.

Cheers,
gary
User avatar
msquadrat
Advanced member
Advanced member
Posts: 162
Joined: Mon Oct 14, 2013 10:09 am

Re: Zimbra Talk V2: How to debug WebRTC/TURN?

Postby msquadrat » Mon May 07, 2018 8:11 am

I didn't have any success yet either and still have Case 00712698 on that issue open. I found a few ways of debugging this issue though (which like in your case all point into the direction that everything *should* work but doesn't). I'll update this post when I've got a spare minute.

Return to “Zimbra Talk”

Who is online

Users browsing this forum: No registered users and 1 guest