Skip to content

TURN example failing against coturn #660

Open
@Luminoth

Description

@Luminoth

I'm running the basic TURN example (RUST_LOG=trace cargo run --color=always --package turn --example turn_client_udp -- --host 0.0.0.0 --user user=pass --ping) against a simple run of coturn (turnserver --log-file stdout) and I can't get passed the client reporting this error:

[2025-03-10T22:27:46Z DEBUG turn::client] resolving 0.0.0.0:3478
[2025-03-10T22:27:46Z DEBUG turn::client] stunServ: 0.0.0.0:3478
[2025-03-10T22:27:46Z DEBUG turn::client] resolving 0.0.0.0:3478
[2025-03-10T22:27:46Z DEBUG turn::client] turnServ: 0.0.0.0:3478
[2025-03-10T22:27:46Z DEBUG turn::client] allocate check: read_ch_tx_opt = false
[2025-03-10T22:27:46Z DEBUG turn::client] client.Allocate call PerformTransaction 1
[2025-03-10T22:27:46Z TRACE turn::client] start Allocate request transaction /WCQ0/3LqUmDwhrx to 0.0.0.0:3478
[2025-03-10T22:27:46Z DEBUG turn::client] received 88 bytes of udp from 127.0.0.1:3478
Error: Stun(ErrAttributeNotFound)

Is there any way to get more information out of this? Like what attribute is not found or why it might not be found? Unfortunately coturn also is not logging anything useful about this so the whole failure reason is a bit of a mystery.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions