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

error startup #573

Open
brunokelo opened this issue Feb 1, 2025 · 2 comments
Open

error startup #573

brunokelo opened this issue Feb 1, 2025 · 2 comments

Comments

@brunokelo
Copy link

Hello, I'm having trouble starting the addon, even after disabling IPv6 in my Home Assistant.

[20:40:34] DEBUG: Filtering response using: .uuid
[20:40:34] INFO: Successfully send discovery information to Home Assistant.
s6-rc: info: service discovery successfully started
s6-rc: info: service legacy-services: starting
s6-rc: info: service legacy-services successfully started
2025/02/01 20:40:35.347259 [info] dnsproxy: starting dns proxy server
2025/02/01 20:40:35.348442 [info] dnsproxy: creating udp server socket addr=192.168.20.94:53
2025/02/01 20:40:35.348871 [info] dnsproxy: listening to udp addr=192.168.20.94:53
2025/02/01 20:40:35.348964 [info] dnsproxy: creating udp server socket addr=[2804:1b3:a240:5097:9425:59ee:e1a8:7272]:53
2025/02/01 20:40:35.349268 [info] dnsproxy: listening to udp addr=[2804:1b3:a240:5097:9425:59ee:e1a8:7272]:53
2025/02/01 20:40:35.349319 [info] dnsproxy: creating udp server socket addr=[fe80::d0c6:dbb7:d5cf:b0c5%eth0]:53
2025/02/01 20:40:35.350886 [info] dnsproxy: listening to udp addr=[fe80::d0c6:dbb7:d5cf:b0c5%eth0]:53
2025/02/01 20:40:35.350962 [info] dnsproxy: creating udp server socket addr=172.30.32.1:53
2025/02/01 20:40:35.351182 [info] dnsproxy: listening to udp addr=172.30.32.1:53
2025/02/01 20:40:35.351226 [info] dnsproxy: creating udp server socket addr=127.0.0.1:53
2025/02/01 20:40:35.351413 [info] dnsproxy: listening to udp addr=127.0.0.1:53
2025/02/01 20:40:35.351458 [info] dnsproxy: creating udp server socket addr=[::1]:53
2025/02/01 20:40:35.442883 [error] closing query log: flushing log buffer: nothing to write to a file
2025/02/01 20:40:35.442952 [fatal] starting dns server: configuring listeners: listening on udp addr [::1]:53: listening to udp socket: listen udp [::1]:53: bind: cannot assign requested address

@brunokelo
Copy link
Author

I assume the problem is here, when binding the local ipv6 interface (which should be disabled).

Bind to localhost ip addresses as well.

hosts+=("127.0.0.1")
hosts+=("::1")

@brunokelo
Copy link
Author

just for the record, I added ipv6 on the loopback interface and the addon started

sudo ip -6 addr add ::1/128 dev lo

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

1 participant