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

Upgrade to 0.12.0 broke TURN #641

Closed
ris-work opened this issue Dec 10, 2024 · 5 comments
Closed

Upgrade to 0.12.0 broke TURN #641

ris-work opened this issue Dec 10, 2024 · 5 comments
Assignees
Labels
bug Something isn't working

Comments

@ris-work
Copy link
Contributor

Hey,
I just saw that an upgrade broke my turn setup. TURN no longer works after upgrading to 0.12.0. The TURN server is coturn. The coturn configuration is below.

bps-capacity=400000000
external-ip=103.97.203.7
fingerprint
listening-port=3478
lt-cred-mech
max-bps=1000000
max-port=65535
min-port=49152
realm=
relay-ip=103.97.203.7
syslog
tls-listening-port=5349
total-quota=0
user=user:password

When turn:[domain] and the credentials user:password is used, the login attempt does not even register with coturn and it fails ErrTurnCredentials. This happens regardless of whether no-stun or fingerprint is enabled or not, or a realm is set.

This has broken connectivity in two servers so far.

Thank you.

Regards,
Rishi

@ris-work
Copy link
Contributor Author

Also, can confirm that the older builds work fine. Their logins register when run with turnserver -v.

@ris-work
Copy link
Contributor Author

BTW additional details: none of the servers/clients have a public IP, so sometimes I need TURN. They are all behind NAT. Sometimes STUN works, sometimes it doesn't, and it is expected. TURN is the only publicly available endpoint they can connect to.

@rainliu rainliu added the bug Something isn't working label Dec 10, 2024
@rainliu
Copy link
Member

rainliu commented Dec 10, 2024

that's weird, TURN crate doesn't have actual code changes, only upgrades dependencies crates utils and stun.

what's the command for TURN client to connect to your coturn server?

@rainliu rainliu self-assigned this Dec 10, 2024
@ris-work
Copy link
Contributor Author

@rainliu: I am sorry, I fixed it. It was that multiple versions of the turn crate were present and the removal of CredentialType along with an older version being used with a newer webrtc crate caused this issue.

Thank you for the immediate response. Wish you success with this project!

Regards,
Rishikeshan S/L

@ris-work
Copy link
Contributor Author

Pull request for removing leftover ErrTurnCredential: #644
Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants