Skip to content
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

701 error #1232

Closed
2 of 3 tasks
Archer-Thane opened this issue Oct 28, 2019 · 11 comments
Closed
2 of 3 tasks

701 error #1232

Archer-Thane opened this issue Oct 28, 2019 · 11 comments

Comments

@Archer-Thane
Copy link

  • I have provided steps to reproduce
  • I have provided browser name and version
  • I have provided a link to the sample here or a modified version thereof

The issue is not browser specific. Tested with: Chrome Version 78.0.3904.70 (Official Build) (64-bit)
and Firefox 69.0.1

Description

I've used pion turn server. the instructions are found inside github page
After a simple setup using test as username and password, I see a 701 error code from trickle Ice page.
Worth to mention that the pion program started correctly at port 3478 on UDP. this is verified using fuser 3478/tcp command from server's terminal.
First of all, what means this error and where can I find description about error codes, and second is how to fix this?

Steps to reproduce

1- open https://webrtc.github.io/samples/src/content/peerconnection/trickle-ice/
2- STUN or TURN URI: turn:aalimoshaver.com:3478
3- TURN username: test
4- TURN password: test

Expected results

This should show a success test, which indicates done.

Actual results

I got these as error text:
The server stun:aalimoshaver.com:3478 returned an error with code=701:
STUN allocate request timed out.
The server turn:aalimoshaver.com:3478?transport=udp returned an error with code=701:
TURN allocate request timed out.

@Archer-Thane
Copy link
Author

possible #1215

@ForGuru
Copy link

ForGuru commented Oct 28, 2019

Issue is appearing only on Chrome browser also appearing on

stun:stun1.l.google.com:19302

while testing on Chrome

@Archer-Thane
Copy link
Author

On firefox and my server, I see a 'not reachable' after about ten seconds status.
But for google stun server, I can see both is working fine.

@Archer-Thane
Copy link
Author

The problem was from infrastructure. Since there were close ports (49152–65535) I saw connection timeouts.
I really suggests to add those to documentation, even on first github page (adding a requirements part).
Also I would like to share this page to you. https://docs.pexip.com/rp_turn/rpturn_ports.htm
That's a gem I found explaining all necessary ports for this.

@rah-0
Copy link

rah-0 commented Apr 3, 2020

Seems to be more like a chrome related bug, I opened that port range too but I still get errors in chrome. Firefox did not give any error with either ports open or closed.

Related to #1227

@ghost
Copy link

ghost commented Apr 11, 2020

I have too on Edge and chrome. this must be a bug. any way its work,.. mayby its because its not set for IPv6 ?

@Sigma721
Copy link

Sigma721 commented May 8, 2020

Not sure if you still struggling, but I had my Coturn server setup and it worked with Firefox, but not with Chrome(with and without plugins like AdBlockers). I followed this(https://ourcodeworld.com/articles/read/1175/how-to-create-and-configure-your-own-stun-turn-server-with-coturn-in-ubuntu-18-04) guide, and it's working with Chrome now

@kyteague
Copy link

@nass1988 exactly

Make sure the STUN/TURN servers are binded to both IPv4 and IPv6 addresses otherwise this timeout will occur.

@regnaio
Copy link

regnaio commented Nov 15, 2021

Google Chrome has the error:

The server stun:stun.l.google.com:19302 returned an error with code=701

Firefox works great though

https://webrtc.github.io/samples/src/content/peerconnection/trickle-ice/

@alvestrand
Copy link
Contributor

Stun code 701 is SERVER NOT REACHABLE.
If you have logs from the server showing that a packet reached it and a reply was returned, this is most likely a firewall problem, and needs to be solved on your local network.

This bug is closed because it is not a bug in the samples. Please don't pile on.

@kekkokk
Copy link

kekkokk commented Mar 2, 2023

Seems happening only when I have a VPN connected in my OSX pc.
No matter what or where the VPN is connected but seems that whenever chrome engine "see" another connected link, tries to do thing with it.
If i disable VPN no more 701 occurs. Tried with OpenVPN connect and WireGuard.

Tried different config as suggested and also setting an AAAA record for the ipv6, still the same error.
Only thing make it works is to disable VPN client

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

8 participants