You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After router restart, Supervisor API returns empty network interface address array.
The IPv4 address is static, no DHCP requested, though the router has DHCP server. ha su reload doesn't help ha su restart needed to get valid values back
And it doesn't happen all the time, "just" approx. 50% of the time.
Any add-on that uses these information, will malfunction.
Anything in the Supervisor logs that might be useful for us?
The supervisor log is not so intresting, I've merged the Network Manager's events from one of my add-on, plus the router's events with the Supervisor log.
Note: Router reboot started, router is down
[20:32:59] INFO: Handling Network Manager action enu1u1 down
Note: Supervisor has valid address at this time.
2024-10-18 22:32:59.400 INFO (MainThread) [supervisor.plugins.dns] Restarting CoreDNS plugin
2024-10-18 22:32:59.461 INFO (MainThread) [supervisor.host.network] Updating local network information
2024-10-18 22:33:00.111 INFO (SyncWorker_1) [supervisor.docker.manager] Restarting hassio_dns
2024-10-18 22:33:03.857 INFO (MainThread) [supervisor.api.middleware.security] /network/info access from 5a1729ad_tailscale-beta
2024-10-18 22:33:04.441 INFO (MainThread) [supervisor.api.middleware.security] /network/interface/enu1u1/info access from 5a1729ad_tailscale-beta
2024-10-18 22:33:04.779 INFO (MainThread) [supervisor.api.middleware.security] /network/interface/wlan0/info access from 5a1729ad_tailscale-beta
[20:33:06] INFO: Handling Network Manager action enu1u1 up
Note: Supervisor has valid address at this time.
2024-10-18 22:33:08.081 INFO (MainThread) [supervisor.api.middleware.security] /network/info access from 5a1729ad_tailscale-beta
2024-10-18 22:33:08.302 INFO (MainThread) [supervisor.api.middleware.security] /network/interface/enu1u1/info access from 5a1729ad_tailscale-beta
2024-10-18 22:33:08.589 INFO (MainThread) [supervisor.api.middleware.security] /network/interface/wlan0/info access from 5a1729ad_tailscale-beta
Note: Router rebooted, though not 100% functioning yet
[20:35:38] INFO: Handling Network Manager action enu1u1 down
Note: Addresses are gone now at Supervisor, and never came back...
2024-10-18 22:35:39.356 INFO (MainThread) [supervisor.api.middleware.security] /network/info access from 5a1729ad_tailscale-beta
2024-10-18 22:35:39.582 INFO (MainThread) [supervisor.api.middleware.security] /network/interface/enu1u1/info access from 5a1729ad_tailscale-beta
2024-10-18 22:35:39.865 INFO (MainThread) [supervisor.api.middleware.security] /network/interface/wlan0/info access from 5a1729ad_tailscale-beta
[20:35:41] INFO: Handling Network Manager action enu1u1 up
Note: Addresses are still gone...
2024-10-18 22:35:41.154 INFO (MainThread) [supervisor.plugins.dns] Restarting CoreDNS plugin
2024-10-18 22:35:41.725 INFO (SyncWorker_6) [supervisor.docker.manager] Restarting hassio_dns
2024-10-18 22:35:43.275 INFO (MainThread) [supervisor.api.middleware.security] /network/info access from 5a1729ad_tailscale-beta
2024-10-18 22:35:43.511 INFO (MainThread) [supervisor.api.middleware.security] /network/interface/enu1u1/info access from 5a1729ad_tailscale-beta
2024-10-18 22:35:43.780 INFO (MainThread) [supervisor.api.middleware.security] /network/interface/wlan0/info access from 5a1729ad_tailscale-beta
Note: Router is completely up and functional
[20:36:10] INFO: Handling Network Manager action enu1u1 down
Note: Addresses are still gone...
2024-10-18 22:36:11.967 INFO (MainThread) [supervisor.api.middleware.security] /network/info access from 5a1729ad_tailscale-beta
2024-10-18 22:36:12.212 INFO (MainThread) [supervisor.api.middleware.security] /network/interface/enu1u1/info access from 5a1729ad_tailscale-beta
2024-10-18 22:36:12.503 INFO (MainThread) [supervisor.api.middleware.security] /network/interface/wlan0/info access from 5a1729ad_tailscale-beta
[20:36:15] INFO: Handling Network Manager action enu1u1 up
Note: Addresses are still gone!!!!!!!!!!!!!!!
2024-10-18 22:36:15.218 INFO (MainThread) [supervisor.plugins.dns] Restarting CoreDNS plugin
2024-10-18 22:36:15.735 INFO (SyncWorker_0) [supervisor.docker.manager] Restarting hassio_dns
2024-10-18 22:36:18.401 INFO (MainThread) [supervisor.api.middleware.security] /network/info access from 5a1729ad_tailscale-beta
2024-10-18 22:36:18.706 INFO (MainThread) [supervisor.api.middleware.security] /network/interface/enu1u1/info access from 5a1729ad_tailscale-beta
2024-10-18 22:36:19.196 INFO (MainThread) [supervisor.api.middleware.security] /network/interface/wlan0/info access from 5a1729ad_tailscale-beta
2024-10-18 22:36:49.457 INFO (MainThread) [supervisor.resolution.check] Starting system checks with state running
2024-10-18 22:36:49.465 INFO (MainThread) [supervisor.resolution.checks.base] Run check for trust/supervisor
2024-10-18 22:36:49.872 INFO (MainThread) [supervisor.resolution.checks.base] Run check for dns_server_ipv6_error/dns_server
2024-10-18 22:36:50.826 INFO (MainThread) [supervisor.resolution.checks.base] Run check for multiple_data_disks/system
2024-10-18 22:36:50.827 INFO (MainThread) [supervisor.resolution.checks.base] Run check for dns_server_failed/dns_server
2024-10-18 22:36:50.829 INFO (MainThread) [supervisor.resolution.checks.base] Run check for pwned/addon
2024-10-18 22:36:50.830 INFO (MainThread) [supervisor.resolution.checks.base] Run check for free_space/system
2024-10-18 22:36:50.848 INFO (MainThread) [supervisor.resolution.checks.base] Run check for security/core
2024-10-18 22:36:50.855 INFO (MainThread) [supervisor.resolution.checks.base] Run check for disabled_data_disk/system
2024-10-18 22:36:50.856 INFO (MainThread) [supervisor.resolution.checks.base] Run check for no_current_backup/system
2024-10-18 22:36:50.865 INFO (MainThread) [supervisor.resolution.checks.base] Run check for docker_config/system
2024-10-18 22:36:50.866 INFO (MainThread) [supervisor.resolution.checks.base] Run check for ipv4_connection_problem/system
2024-10-18 22:36:50.868 INFO (MainThread) [supervisor.resolution.check] System checks complete
2024-10-18 22:36:50.869 INFO (MainThread) [supervisor.resolution.evaluate] Starting system evaluation with state running
2024-10-18 22:36:53.343 INFO (MainThread) [supervisor.resolution.evaluate] System evaluation complete
2024-10-18 22:36:53.344 INFO (MainThread) [supervisor.resolution.fixup] Starting system autofix at state running
2024-10-18 22:36:53.345 INFO (MainThread) [supervisor.resolution.fixup] System autofix complete
2024-10-18 22:38:17.074 INFO (MainThread) [supervisor.api.middleware.security] /network/info access from a0d7b954_ssh
2024-10-18 22:38:17.112 INFO (MainThread) [supervisor.api.middleware.security] /network/info access from a0d7b954_ssh
2024-10-18 22:38:17.119 INFO (MainThread) [supervisor.api.middleware.security] /host/info access from a0d7b954_ssh
2024-10-18 22:38:17.145 INFO (MainThread) [supervisor.api.middleware.security] /core/info access from a0d7b954_ssh
2024-10-18 22:38:21.968 INFO (MainThread) [supervisor.api.middleware.security] /network/info access from a0d7b954_ssh
2024-10-18 22:38:37.703 INFO (MainThread) [supervisor.homeassistant.api] Updated Home Assistant API token
...
System Health information
System Information
version
core-2024.10.1
installation_type
Home Assistant OS
dev
false
hassio
true
docker
true
user
root
virtualenv
false
python_version
3.12.4
os_name
Linux
os_version
6.6.31-haos-raspi
arch
aarch64
timezone
Europe/Budapest
config_dir
/config
Home Assistant Community Store
GitHub API
ok
GitHub Content
ok
GitHub Web
ok
HACS Data
ok
GitHub API Calls Remaining
4994
Installed Version
2.0.1
Stage
running
Available Repositories
1520
Downloaded Repositories
7
Home Assistant Supervisor
host_os
Home Assistant OS 13.1
update_channel
stable
supervisor_version
supervisor-2024.10.2
agent_version
1.6.0
docker_version
26.1.4
disk_total
27.7 GB
disk_used
8.6 GB
healthy
true
supported
true
host_connectivity
true
supervisor_connectivity
true
ntp_synchronized
true
virtualization
board
rpi3-64
supervisor_api
ok
version_api
ok
installed_addons
File editor (5.8.0), Advanced SSH & Web Terminal (19.0.0), [BETA] Tailscale with features (0.22.1.2-rc10), Tasmota proxy and update (0.1.16), [BETA] In-memory MariaDB (2.7.1.3-rc01), [BETA] Portainer (2.4.7-rc01), [BETA] Samba share with features (12.3.2.1-rc01), Duck DNS (1.18.0), NGINX Home Assistant SSL proxy (3.11.0), Mosquitto broker (6.4.1)
lmagyar
changed the title
Supervisor forgets the default interface's network addresses after router restart (but not always)
Supervisor forgets the default interface's static network addresses after router restart (but not always)
Oct 19, 2024
There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates.
Please make sure to update to the latest version and check if that solves the issue. Let us know if that works for you by adding a comment 👍
This issue has now been marked as stale and will be closed if no further activity occurs. Thank you for your contributions.
Describe the issue you are experiencing
After router restart, Supervisor API returns empty network interface address array.
The IPv4 address is static, no DHCP requested, though the router has DHCP server.
ha su reload
doesn't helpha su restart
needed to get valid values backAnd it doesn't happen all the time, "just" approx. 50% of the time.
Any add-on that uses these information, will malfunction.
And it has address, I'm accessing these info through a functioning interface...
What type of installation are you running?
Home Assistant OS
Which operating system are you running on?
Home Assistant Operating System
Steps to reproduce the issue
Anything in the Supervisor logs that might be useful for us?
System Health information
System Information
Home Assistant Community Store
Home Assistant Supervisor
Dashboards
Recorder
Supervisor diagnostics
config_entry-hassio-2c83003182a696b1043f39a03bb886ef.json
Additional information
No response
The text was updated successfully, but these errors were encountered: