Error: Ice connection failed. Running my own STUN/TURN server
See original GitHub issueI am running my own stun and turn server and I am getting the ERROR: Ice connection failed
but I am getting it in a different spot than other issues…
I started with the examples and incrementally modded them along the way to fit into my react app.
- offer is generated, copied into external chat app and sent to peer
- peer copies offer and answer signal is generated.
- a few seconds later the peer connection fails with the error…
Error: Ice connection failed.
at r._onIceStateChange (index.js:492)
at RTCPeerConnection.t._pc.oniceconnectionstatechange (index.js:91)
this happens before the answer is sent back to the origin…If I look at the webrtc-internals in chrome I can see that iceconncectionstatechange
has failed, but I don’t know how to go about getting a more detailed error. In my coturn logs I can see both users are sending requests and being authenticated, so IDK…
any ideas?
Issue Analytics
- State:
- Created 6 years ago
- Comments:10
Top Results From Across the Web
"ICE failed, add a TURN server and see about:webrtc for more ...
A console.error appears WebRTC: ICE failed, add a TURN server and see about:webrtc for more details. I'm using a public google STUN server, ......
Read more >Ice connection failed message on Firefox but works on Chrome
It works in your local machine because they're in same network. But it won't work in production(AWS) because they're in different networks and ......
Read more >1288995 - ICE failed, see about:webrtc for more details
Create another webrtc peer connection using firefox 49 on another system. try to establish connection getting error ICE failed, see about:webrtc for more ......
Read more >[SOLVED] Troubleshooting "There was a problem connecting ...
Opening a new thread to help troubleshoot “There was a problem connecting the video call.” errors with the new preview of video and...
Read more >Troubleshooting WebRTC Connection Issues - Deconstruct
Failed WebRTC connections can be caused by restrictive networks behind ... Each WebRTC endpoint will ask the STUN/TURN server for it's own ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
ok, yeah I wasn’t suggesting it would be documented here, but I was just saying that I couldn’t find it googling on any front. The only reason I knew about it was a low ranked answer on stack overflow that passingly mentioned it.
For anyone that finds this, I’ve opened a chrome bug
and here is the stack overflow post that mentions the timeout
I’ve hit it in the past. The problem with documenting that in simple-peer is that it’s Chrome specific and is actually a recent change. I believe it used to be that if signalling objects were stale the connection would fail naturally rather than some arbitrary timeout.