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

example/turn_client/udp failed to get attribute NONES #228

Open
tubzby opened this issue Aug 12, 2021 · 2 comments
Open

example/turn_client/udp failed to get attribute NONES #228

tubzby opened this issue Aug 12, 2021 · 2 comments

Comments

@tubzby
Copy link

tubzby commented Aug 12, 2021

Not sure if this a coturn issue or not.

Your environment.

  • Version: 72ffd59
  • Browser: Not related
  • Other Information - Using coturn with docker image: coturn/coturn.

What did you do?

go run main.go -host {COTURN SERVER} -ping -port 3478 -user USER=PASSWORD

panic: attribute not found

goroutine 1 [running]:
main.main()
	/Users/AAAA/src/turn/examples/turn-client/udp/main.go:73 +0x674
exit status 2

What did you expect?

turn_client example runs.

What happened?

turn_client example failed to run with panic

@tubzby
Copy link
Author

tubzby commented Aug 12, 2021

It seems that my server is not enabling authentication, succeed after authentication is enabled.

but it's still a compatible problem in my opinion.

@Sean-Der
Copy link
Member

Nice catch!

I think a better error message here would be fantastic. I am unsure if it is a good idea to support no authentication. I don't want to suggest anything to users that could cause harm.

TURN has some great features like Long-Term Credential Mechanism with a seed that make it really easy.

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

2 participants