Skip to content

Conversation

@cppcoffee
Copy link
Contributor

@cppcoffee cppcoffee commented Jun 7, 2025

Fix the issue where cargo test revealed that the response from stun1.l.google.com:19302 failed:

test client::client_test::test_client_with_stun_send_binding_request ... FAILED
test client::client_test::test_client_with_stun_send_binding_request_to_parallel ... FAILED

failures:

---- client::client_test::test_client_with_stun_send_binding_request stdout ----
Error: Stun(ErrAttributeNotFound)

---- client::client_test::test_client_with_stun_send_binding_request_to_parallel stdout ----
Error: Stun(ErrAttributeNotFound)


failures:
    client::client_test::test_client_with_stun_send_binding_request
    client::client_test::test_client_with_stun_send_binding_request_to_parallel

test result: FAILED. 62 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out; finished in 15.64s

error: test failed, to rerun pass `-p turn --lib`

instead, use Cloudflare's STUN service:

https://developers.cloudflare.com/realtime/turn/#service-address-and-ports

@cppcoffee cppcoffee closed this Jun 7, 2025
@cppcoffee cppcoffee deleted the stun branch June 7, 2025 03:17
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

Successfully merging this pull request may close these issues.

1 participant