COTURN server returns error 701 (and "not reachable?") on Trickle ICE

1.8k views Asked by At

I have installed COTURN server on my Ubuntu 18.04 using this instruction https://ourcodeworld.com/articles/read/1175/how-to-create-and-configure-your-own-stun-turn-server-with-coturn-in-ubuntu-18-04. I did everything as it said there. Opened ports 3478 and 5349 on Ubuntu and checked them with telnet. However when I try to test server here https://webrtc.github.io/samples/src/content/peerconnection/trickle-ice/ it says: The server turn:simyz.com:3478?transport=udp returned an error with code=701: TURN host lookup received error. few times.

When I try to test it from firefox it says:

0.007 1 host 0 udp 4ba8f2a9-6745-4c5f-ab52-2c464f9f6e81.local 56153 126 | 32512 | 255 0.007 1 host 3 tcp 4ba8f2a9-6745-4c5f-ab52-2c464f9f6e81.local 9 125 | 32704 | 255 0.008 2 host 0 udp 4ba8f2a9-6745-4c5f-ab52-2c464f9f6e81.local 56154 126 | 32512 | 254 0.008 2 host 3 tcp 4ba8f2a9-6745-4c5f-ab52-2c464f9f6e81.local 9 125 | 32704 | 254 0.128 Not reachable?

When I try to use it in my webrtc app the browser console says that TURN server doesn't work. I use this configuration in my javascript:

var configuration = {  "iceServers" : [ { url : 'turn:simyz.com:3478', credential : 'siemens81', username : 'superyegorius' }, { "url" : "stun:stun.1.google.com:19302" } ] };

Can anyone point me where the error is and why my turn server doesn't work.

Any help appriciated!

Thanks!

0

There are 0 answers