[GH-ISSUE #1898] Coturn relay HA error: turn is Unavailable, reason: allocate: attribute not found #3467

Open
opened 2026-08-05 00:52:34 -04:00 by saavagebueno · 0 comments
Owner

Originally created by @debin-ge on GitHub (Apr 28, 2024).
Original GitHub issue: https://github.com/netbirdio/netbird/issues/1898

Describe the problem

I want to get HA relay service. after i checked some information and code, i stripped coturn from the container and deployed it separately. At this point, the connection between turn and stun on peers is Available. everything seems to be working fine.
When I added the --alternate-server parameter to the coturn configuration, turn is unavailable.
image
I didn't find any error messages in clinet.log

But I tested the turnserver using the turnutils_uclient tool and it shows that everything is fine
image

To Reproduce

I modified the management.json file to get the configuration information from the environment variable
image

Start the turnserver service in the coturn-master device:

turnserver --syslog -a -L 0.0.0.0 -E xxx.xxx.xxx.xxx --allow-loopback-peers --max-bps=3000000 -f -m 3 --min-port=32355 --max-port=65535 --user=admin:admin@1234 -r xxxx.com --log-file=stdout -v --no-dtls --no-tls --alternate-server=SLAVE-1-IP:3478 --alternate-server=SLAVE-2-IP:3478  --cli-password=secret $@

Start the service in coturn-slave-1 and coturn-slave-2 in the simplest way possible, which is not described in detail here
Finally I started all the netbird services and they all work fine!

Are you using NetBird Cloud?

self-host NetBird

NetBird version

netbird version:0.27.3

Originally created by @debin-ge on GitHub (Apr 28, 2024). Original GitHub issue: https://github.com/netbirdio/netbird/issues/1898 **Describe the problem** I want to get HA relay service. after i checked some information and code, i stripped coturn from the container and deployed it separately. At this point, the connection between turn and stun on peers is Available. everything seems to be working fine. When I added the `--alternate-server` parameter to the coturn configuration, turn is unavailable. ![image](https://github.com/netbirdio/netbird/assets/21329997/74fe3651-508b-4337-9070-4095702bad76) I didn't find any error messages in clinet.log But I tested the turnserver using the turnutils_uclient tool and it shows that everything is fine ![image](https://github.com/netbirdio/netbird/assets/21329997/480b85fe-b951-43d6-8119-cf5389591744) **To Reproduce** I modified the management.json file to get the configuration information from the environment variable ![image](https://github.com/netbirdio/netbird/assets/21329997/10de2b9b-1180-4bc5-b8f6-11f7925698ba) Start the turnserver service in the coturn-master device: ``` turnserver --syslog -a -L 0.0.0.0 -E xxx.xxx.xxx.xxx --allow-loopback-peers --max-bps=3000000 -f -m 3 --min-port=32355 --max-port=65535 --user=admin:admin@1234 -r xxxx.com --log-file=stdout -v --no-dtls --no-tls --alternate-server=SLAVE-1-IP:3478 --alternate-server=SLAVE-2-IP:3478 --cli-password=secret $@ ``` Start the service in coturn-slave-1 and coturn-slave-2 in the simplest way possible, which is not described in detail here Finally I started all the netbird services and they all work fine! **Are you using NetBird Cloud?** self-host NetBird **NetBird version** `netbird version:0.27.3`
saavagebueno added the triage-needed label 2026-08-05 00:52:34 -04:00
Sign in to join this conversation.
No Label triage-needed
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: DYNR/netbird#3467