-
Notifications
You must be signed in to change notification settings - Fork 325
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
Connection using relay fails after successful connection #146
Comments
I am facing the same issue. Any solution for this? |
Same issue here too. |
We're seeing the following
|
The same problem here... Tks |
Sean, can you help us? Thanks |
Hey @jopicornell Sorry for the delay, been dragged away by some other stuff. I am not able to reproduce this. Any idea what I am doing wrong?
I used this Javascript
|
For us the situation triggers when there are a lot of concurrent peerconnections. It doesn't seem (directly) tied to message qps. |
I see 3 allocations being created for a turn session. Same client ip, 3 different port numbers. Server address is always 0.0.0.0:3478. What is odd: all AddPermission() calls seem to go to one allocation only. The many "No Permission or Channel exists" messages occur in relation to the other (empty) allocations. Is this normal? I am using turn v2.0.5 and web browsers as webrtc clients only. |
These "No Permission or Channel exists" messages were caused by an issue in my client software. |
Your environment.
Our logs show this on the browser:
I log every message I receive. What seems to happen from the server is that when a refresh message, there's some kind of error allocating. This is what the server is logging on a TCP connection:
This is a log when UDP connection fails:
Additionally, I've done these other things to discard something with my connection or other unrelated issues:
What did you do?
Simply grab the example, and run it:
Then you do a webRTC connection using this RTCPeerConfiguration:
What did you expect?
The connection to be stable using a relay transport policy.
What happened?
The connection keeps failing consistently, every 20/40 seconds.
pion/turn
doesn't log any error, but in the debug logs for each connection, it shows some allocating errors. The browser only shows the "failed" state, giving no extra information.The text was updated successfully, but these errors were encountered: