-
Notifications
You must be signed in to change notification settings - Fork 5.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Trickle ICE cannot work on chrome 77 under window 10 #1227
Comments
I have the same issue |
Same error happens with TURN servers. |
I have the same issue on android |
Same error with Chrome 78.0.3904.108 |
With Chrome Canary
This happens in both Google Chrome 78 and Canary 81. I already restarted browser configurations to default ones. Hope this helps a bit. Best regards, |
I can confirm that IN MY CASE this only happens with domain names in the example test. Probably there is something wrong in the JS for the test. Using IP address works perfectly after cleaning up all my browser configurations. I couldn't make it work with IP address before cleaning up. Maybe something got corrupted somewhere or there was a conflict with an addon, such AddBlocks or whatever I had installed. In addition, I'm using my TURN server with domain name in url for ICE servers configurations in the JS of my project and is working perfectly. Hope this helps. Best regards, |
happening on Version 79.0.3945.88 - is there a fix? |
Same problem... |
fyi.. Still working on my firefox in linux . |
I'm having the same problem with IP's in google chrome. It works on Firefox. Maybe @DaGLiMiOuX is right and the problem is related with JS or some extensions in Chrome. I'll try with a clean chrome and expose my results here. |
Is there any fix for this? Still happening for me on Chrome 80.0.3987.87. Working fine in Firefox. |
Unfortunately, the same error with |
how has there been no official response to this yet... this seems pretty devastating.. |
Contact them on bugs.chromium.org and/or https://groups.google.com/forum/#!forum/discuss-webrtc |
Same problem here, using chrome Same result, 701 error code on chrome but works on firefox. |
Same problem |
Same on Chrome (version 81.0.4044.122, Official Build, 64-bit) on MacOS. |
Yeah I have the same problem with Chrome 83.0.4103.61 (Official Build) (64-bit), but not Firefox on Windows 10 |
some update ? |
Any update? I have the same issue. |
I just gave up using this, every info I try to find on the matter is either outdated or not working. This API is garbage, worst I've ever seen. |
Any update on this ? |
It's hilarious every once in a while this shows up in my email and it's always someone asking if there's been any update on this. it's even more hilarious there's no solution yet... i mean people are using webrtc in their applications still and all during this time.. I haven't worked on the part of my project that uses webrtc in months but I really assumed by the time I was going to rezoom there'd be more information about this fix. If the time comes i need to figure it out myself i promise i'll post it here. but till then for real... ANYONE? ANYTHING? any volunteers to go post it on the google webrtc group? https://groups.google.com/g/discuss-webrtc?pli=1 |
Unfortunately, this samples project seems to be not well maintained and since I'm not a maintainer I can't lock or close the issue as invalid. The issues you're mentioning concern WebRTC but not the WebRTC examples, hence there is little to no reaction. What you should do is:
|
Maybe you wouldn't receive those messages if it was fixed once and for all 🤨 |
In my case, it appears that it is not working with twilio NAT services in "chrome" |
It seems like we need https in chrome for it to be fully functional. |
Did anyone get a breaktrhough? |
I have a very strange question to ask the people facing this issue. "Do you by any chance have Docker installed on your machine?" 🙂 I was beating my head around this and shutting down Docker seemed to solve this issue, as the ICE Candidate gathering seems to be using Docker bridge IP address to evaluate connections. This was adding a huge 30 sec delay to the connection. Hope this helps. One important question to ask is why it only effects Chrome and not Safari? 🤔 |
I was running into this today and figured out it was due to the domain of our TURN Server ending in Since these Our fix was as simple as to change to a domain without We have a pretty specific use case so I doubt this will be the issue for most folks, but maybe it saves one person countless hours of debugging and monitoring network traffic! |
Still happening in Chrome 88.0.4324.150 (Build oficial) (64 bits). Does has someone created an issue in Chrome bugtracker that I can follow? If not, I can create it myself. |
In my case hosting it over a valid HTTPS enabled domain fixed the issue. |
As noted in the latest version of the samples, DNS errors can be caused by a lookup on an interface that is not connected to the internet (e.g., the Docker bridge noted above), but these errors are not fatal. The reason this started in Chrome 77 was that previously the onicecandidateerror event was not implemented. |
https://groups.google.com/g/discuss-webrtc/c/kNKTllZcxOc/m/3ILy_Dt8CQAJ
|
Firefox works for me, not Chrome :( ... |
Seeing the same issue on Chrome.. Works great in Firefox |
Error code 701 is likely a network configuration error, and is unlikely to be a bug in the samples. |
It works for me in Chrome when I check the " Acquire microphone/camera permissions" option and allow Trickle ICE to use Microphone/Camera. Without this option it returns 701 error. |
@mghadam this is typical of errors where IP connectivity works but MDNS name resolution does not. |
Turn needs realm for its authentication process. I got the issue after fiddling with wireshark for a day. For some reason firefox appends an empty realm if it can't find one but chrome and edge don't append any default realm. Since chrome and edge are not appending any realm your TURN server will not be able to authenticate. If you capture packets using wireshark you'll see that its flooded with "Authentication failed" for stun protocol. The fix is to provide a realm in your TURN server configuration. Otherwise you'll see no relay candidates in chrome and edge as they failed to authenticate the TURN server as their is no realm to generate the nonce for authentication process. If you are using coturn or any other TURN server then open its config and add a realm
|
Suppresses the ice candidate error callback when the STUN/TURN server address family is not compatible with the local candidate address family. This is similar to not pairing between candidates that have different incompatible address families as described in https://datatracker.ietf.org/doc/html/rfc5245#section-5.7.1 The spec actually says to emit the 701 error if *no* host candidate is able to reach the server: https://w3c.github.io/webrtc-pc/#dom-rtcpeerconnectioniceerrorevent-errorcode Also use the same (spec) error code for STUN and TURN, see webrtc/samples#1215 (error 600 for TURN) webrtc/samples#1227 (error 701 with AF mismatch) Drive-by: misc logging fixes BUG=webrtc:359404135 Change-Id: I99574b7b2b79986a52ab38a7fa58ea1bebab954c Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/358961 Commit-Queue: Philipp Hancke <phancke@meta.com> Reviewed-by: Jonas Oreland <jonaso@webrtc.org> Reviewed-by: Harald Alvestrand <hta@webrtc.org> Cr-Commit-Position: refs/heads/main@{#42830}
Upstream commit: https://webrtc.googlesource.com/src/+/b31ade36ffb6d70c8f85966dc6b7f33c9ed97866 stun/turn: suppress icecandidateerror for incompatible address family Suppresses the ice candidate error callback when the STUN/TURN server address family is not compatible with the local candidate address family. This is similar to not pairing between candidates that have different incompatible address families as described in https://datatracker.ietf.org/doc/html/rfc5245#section-5.7.1 The spec actually says to emit the 701 error if *no* host candidate is able to reach the server: https://w3c.github.io/webrtc-pc/#dom-rtcpeerconnectioniceerrorevent-errorcode Also use the same (spec) error code for STUN and TURN, see webrtc/samples#1215 (error 600 for TURN) webrtc/samples#1227 (error 701 with AF mismatch) Drive-by: misc logging fixes BUG=webrtc:359404135 Change-Id: I99574b7b2b79986a52ab38a7fa58ea1bebab954c Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/358961 Commit-Queue: Philipp Hancke <phancke@meta.com> Reviewed-by: Jonas Oreland <jonaso@webrtc.org> Reviewed-by: Harald Alvestrand <hta@webrtc.org> Cr-Commit-Position: refs/heads/main@{#42830}
Upstream commit: https://webrtc.googlesource.com/src/+/b31ade36ffb6d70c8f85966dc6b7f33c9ed97866 stun/turn: suppress icecandidateerror for incompatible address family Suppresses the ice candidate error callback when the STUN/TURN server address family is not compatible with the local candidate address family. This is similar to not pairing between candidates that have different incompatible address families as described in https://datatracker.ietf.org/doc/html/rfc5245#section-5.7.1 The spec actually says to emit the 701 error if *no* host candidate is able to reach the server: https://w3c.github.io/webrtc-pc/#dom-rtcpeerconnectioniceerrorevent-errorcode Also use the same (spec) error code for STUN and TURN, see webrtc/samples#1215 (error 600 for TURN) webrtc/samples#1227 (error 701 with AF mismatch) Drive-by: misc logging fixes BUG=webrtc:359404135 Change-Id: I99574b7b2b79986a52ab38a7fa58ea1bebab954c Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/358961 Commit-Queue: Philipp Hancke <phancke@meta.com> Reviewed-by: Jonas Oreland <jonaso@webrtc.org> Reviewed-by: Harald Alvestrand <hta@webrtc.org> Cr-Commit-Position: refs/heads/main@{#42830}
Upstream commit: https://webrtc.googlesource.com/src/+/b31ade36ffb6d70c8f85966dc6b7f33c9ed97866 stun/turn: suppress icecandidateerror for incompatible address family Suppresses the ice candidate error callback when the STUN/TURN server address family is not compatible with the local candidate address family. This is similar to not pairing between candidates that have different incompatible address families as described in https://datatracker.ietf.org/doc/html/rfc5245#section-5.7.1 The spec actually says to emit the 701 error if *no* host candidate is able to reach the server: https://w3c.github.io/webrtc-pc/#dom-rtcpeerconnectioniceerrorevent-errorcode Also use the same (spec) error code for STUN and TURN, see webrtc/samples#1215 (error 600 for TURN) webrtc/samples#1227 (error 701 with AF mismatch) Drive-by: misc logging fixes BUG=webrtc:359404135 Change-Id: I99574b7b2b79986a52ab38a7fa58ea1bebab954c Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/358961 Commit-Queue: Philipp Hancke <phanckemeta.com> Reviewed-by: Jonas Oreland <jonasowebrtc.org> Reviewed-by: Harald Alvestrand <htawebrtc.org> Cr-Commit-Position: refs/heads/main{#42830} UltraBlame original commit: bdb067b7f1def5bfa013389916df621bd0d67b96
Upstream commit: https://webrtc.googlesource.com/src/+/b31ade36ffb6d70c8f85966dc6b7f33c9ed97866 stun/turn: suppress icecandidateerror for incompatible address family Suppresses the ice candidate error callback when the STUN/TURN server address family is not compatible with the local candidate address family. This is similar to not pairing between candidates that have different incompatible address families as described in https://datatracker.ietf.org/doc/html/rfc5245#section-5.7.1 The spec actually says to emit the 701 error if *no* host candidate is able to reach the server: https://w3c.github.io/webrtc-pc/#dom-rtcpeerconnectioniceerrorevent-errorcode Also use the same (spec) error code for STUN and TURN, see webrtc/samples#1215 (error 600 for TURN) webrtc/samples#1227 (error 701 with AF mismatch) Drive-by: misc logging fixes BUG=webrtc:359404135 Change-Id: I99574b7b2b79986a52ab38a7fa58ea1bebab954c Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/358961 Commit-Queue: Philipp Hancke <phanckemeta.com> Reviewed-by: Jonas Oreland <jonasowebrtc.org> Reviewed-by: Harald Alvestrand <htawebrtc.org> Cr-Commit-Position: refs/heads/main{#42830} UltraBlame original commit: bdb067b7f1def5bfa013389916df621bd0d67b96
Upstream commit: https://webrtc.googlesource.com/src/+/b31ade36ffb6d70c8f85966dc6b7f33c9ed97866 stun/turn: suppress icecandidateerror for incompatible address family Suppresses the ice candidate error callback when the STUN/TURN server address family is not compatible with the local candidate address family. This is similar to not pairing between candidates that have different incompatible address families as described in https://datatracker.ietf.org/doc/html/rfc5245#section-5.7.1 The spec actually says to emit the 701 error if *no* host candidate is able to reach the server: https://w3c.github.io/webrtc-pc/#dom-rtcpeerconnectioniceerrorevent-errorcode Also use the same (spec) error code for STUN and TURN, see webrtc/samples#1215 (error 600 for TURN) webrtc/samples#1227 (error 701 with AF mismatch) Drive-by: misc logging fixes BUG=webrtc:359404135 Change-Id: I99574b7b2b79986a52ab38a7fa58ea1bebab954c Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/358961 Commit-Queue: Philipp Hancke <phanckemeta.com> Reviewed-by: Jonas Oreland <jonasowebrtc.org> Reviewed-by: Harald Alvestrand <htawebrtc.org> Cr-Commit-Position: refs/heads/main{#42830} UltraBlame original commit: bdb067b7f1def5bfa013389916df621bd0d67b96
Upstream commit: https://webrtc.googlesource.com/src/+/b31ade36ffb6d70c8f85966dc6b7f33c9ed97866 stun/turn: suppress icecandidateerror for incompatible address family Suppresses the ice candidate error callback when the STUN/TURN server address family is not compatible with the local candidate address family. This is similar to not pairing between candidates that have different incompatible address families as described in https://datatracker.ietf.org/doc/html/rfc5245#section-5.7.1 The spec actually says to emit the 701 error if *no* host candidate is able to reach the server: https://w3c.github.io/webrtc-pc/#dom-rtcpeerconnectioniceerrorevent-errorcode Also use the same (spec) error code for STUN and TURN, see webrtc/samples#1215 (error 600 for TURN) webrtc/samples#1227 (error 701 with AF mismatch) Drive-by: misc logging fixes BUG=webrtc:359404135 Change-Id: I99574b7b2b79986a52ab38a7fa58ea1bebab954c Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/358961 Commit-Queue: Philipp Hancke <phancke@meta.com> Reviewed-by: Jonas Oreland <jonaso@webrtc.org> Reviewed-by: Harald Alvestrand <hta@webrtc.org> Cr-Commit-Position: refs/heads/main@{#42830}
When i upgraded chrome to 77.0.3865.90, pull newest code of webrtc/samples with gh-pages branches. when i run the Trickle ICE online demo, it occurs erorr:
The server stun:stun.l.google.com:19302 returned an error with code=701:
STUN host lookup received error.
if i use chrome version of 76, it works well. i don't konw what webrtc changes on newest chrome version of 77 ?
The text was updated successfully, but these errors were encountered: