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

Ignore failure on binding to listener address #1434

Open
chrisguen opened this issue Feb 16, 2024 · 1 comment
Open

Ignore failure on binding to listener address #1434

chrisguen opened this issue Feb 16, 2024 · 1 comment

Comments

@chrisguen
Copy link

chrisguen commented Feb 16, 2024

Coturn is trying to bind to some local docker IPv6 adress but cant bind to it and is stuck in some kind of restart loop, repeating
2024-02-16T00:57:59.522158647Z 24: (9): WARNING: Trying to bind fd 93 to <[fd00:dead:beef:c0::1]:3478>: errno=99 2024-02-16T00:57:59.522162063Z 24: (8): WARNING: Trying to bind fd 91 to <[fd00:dead:beef:c0::1]:3478>: errno=99 2024-02-16T00:57:59.522164979Z 24: (8): WARNING: Cannot bind TLS/TCP listener socket to addr [fd00:dead:beef:c0::1]:3478 2024-02-16T00:57:59.522167944Z 24: (8): INFO: Trying to bind TLS/TCP listener socket to addr [fd00:dead:beef:c0::1]:3478, again... 2024-02-16T00:57:59.522163836Z bind: Cannot assign requested address 2024-02-16T00:57:59.522186059Z bind: Cannot assign requested address 2024-02-16T00:57:59.522189626Z Cannot bind local socket to addr: Invalid argument 2024-02-16T00:57:59.522244330Z bind: Cannot assign requested address 2024-02-16T00:57:59.522255852Z Cannot bind local socket to addr: Invalid argument

When I just declare a single IP in the listener config like my public IP it works but I dont want to do that, as I want coturn to listen on all interfaces. Is there a way to either ignore bind errors and continue the start of coturn or have some kind of ignorelist for listenting ips?

@eakraly
Copy link
Collaborator

eakraly commented Feb 19, 2024

@chrisguen you can specify multiple listening-ip while excluding the interface you do not want to listen to. There is no option to exclude listening-ip (or interface), only to include.

coturn would try 60 times to bind and the fail and exit. What you see is (probably as you did not share full log) is its attempts to bind....

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