snapdrop icon indicating copy to clipboard operation
snapdrop copied to clipboard

ICE gathering failed; add TURN server

Open jedgard25 opened this issue 4 years ago • 5 comments

Hey unable to send or recieve from Android 11 (Oneplus 6) device to Mac, no browser works. I do get some results looking for UDP bugs in Android 11 so maybe that's what's going on. I don't have a third device but sending to and from my laptop to a different browser works just fine. Error message:

ICE Gathering failed network.js:325:25
    _onIceConnectionStateChange https://snapdrop.net/scripts/network.js:325
    oniceconnectionstatechange https://snapdrop.net/scripts/network.js:253
WebRTC: ICE failed, add a TURN server and see about:webrtc for more details

jedgard25 avatar Oct 20 '21 12:10 jedgard25

Try my website, my website uses a turn server instead of a stun server, thus improves the transfer success rate, but notice that, when it requires a turn server to establish connections, it means your transmission will be relayed by the turn server, so the transfer speed will be slower.

yjmp14 avatar Dec 06 '21 09:12 yjmp14

Wulingate.com does work for me, it does show a warning:

WebRTC: Using more than two STUN/TURN servers slows down discovery

pierstitus avatar May 31 '22 08:05 pierstitus

Wulingate.com does work for me, it does show a warning:

WebRTC: Using more than two STUN/TURN servers slows down discovery

Thanks for reminding, I‘ve reduced the number of turn servers, please try again with a Ctrl+F5 refresh.

yjmp14 avatar May 31 '22 09:05 yjmp14

I use the actual container. And with one Windows/Firefox no data-exchange is possible. all the participants see each other, but only from/to one device nobody can send/receive.

xundeenergie avatar Sep 19 '22 12:09 xundeenergie

How can i add a turn-server to snapdrop?

xundeenergie avatar Sep 19 '22 12:09 xundeenergie