'AddonManager.update' blocked from execution, no host internet connection

See original GitHub issue

Describe the issue you are experiencing

On Supervisor reload internet connection is good enough - no errosrs:

21-07-15 17:21:28 INFO (MainThread) [supervisor.updater] Fetching update data from https://version.home-assistant.io/stable.json
HA manage to get list of updates (show available new versions), but fails to proceed with actual add-on update:
21-07-15 17:21:49 WARNING (MainThread) [supervisor.jobs] 'AddonManager.update' blocked from execution, no host internet connection

Supervisor getting list of new versions and show available updates in UI. But fails to proceed with actual update.

After full HOST restart - Supervisor managed to update one add-on. Next day message

'AddonManager.update' blocked from execution, no host internet connection

appears again !!!

What is the used version of the Supervisor?

supervisor-2021.06.8

What type of installation are you running?

Home Assistant OS

Which operating system are you running on?

Home Assistant Operating System

What is the version of your installed operating system?

6.1

What version of Home Assistant Core is installed?

core-2021.6.6

Steps to reproduce the issue

Just trying to update add-on.

Supervisor restart not helping. HOST restarts - help, for some time.

Anything in the Supervisor logs that might be useful for us?

21-07-15 17:21:28 INFO (MainThread) [supervisor.updater] Fetching update data from https://version.home-assistant.io/stable.json
21-07-15 17:21:28 INFO (MainThread) [supervisor.resolution.evaluate] System evaluation complete
21-07-15 17:21:49 INFO (MainThread) [supervisor.snapshots] Creating new partial-snapshot with slug c63238c1
21-07-15 17:21:49 INFO (MainThread) [supervisor.snapshots] Snapshotting c63238c1 store Add-ons
21-07-15 17:21:49 INFO (MainThread) [supervisor.addons.addon] Building snapshot for add-on a0d7b954_phpmyadmin
21-07-15 17:21:49 INFO (MainThread) [supervisor.addons.addon] Finish snapshot for addon a0d7b954_phpmyadmin
21-07-15 17:21:49 INFO (MainThread) [supervisor.snapshots] Creating partial-snapshot with slug c63238c1 completed
21-07-15 17:21:49 WARNING (MainThread) [supervisor.jobs] 'AddonManager.update' blocked from execution, no host internet connection




21-07-16 17:29:26 INFO (MainThread) [supervisor.misc.scheduler] Shutting down scheduled tasks
21-07-16 17:29:26 INFO (MainThread) [supervisor.api] Stopping API on 172.30.32.2
21-07-16 17:29:26 INFO (MainThread) [supervisor.hardware.monitor] Stopped Supervisor hardware monitor
21-07-16 17:29:26 INFO (MainThread) [supervisor.core] Supervisor is down - 100
21-07-16 17:29:26 INFO (MainThread) [__main__] Closing Supervisor
21-07-16 14:29:30 INFO (MainThread) [__main__] Initializing Supervisor setup
21-07-16 14:29:30 INFO (MainThread) [supervisor.bootstrap] Initializing Supervisor Sentry
21-07-16 17:29:30 INFO (MainThread) [supervisor.bootstrap] Seting up coresys for machine: raspberrypi4-64
21-07-16 17:29:30 INFO (SyncWorker_0) [supervisor.docker.supervisor] Attaching to Supervisor homeassistant/aarch64-hassio-supervisor with version 2021.06.8
21-07-16 17:29:30 INFO (MainThread) [supervisor.homeassistant.api] Updated Home Assistant API token
21-07-16 17:29:30 INFO (MainThread) [supervisor.resolution.evaluate] Starting system evaluation with state CoreState.INITIALIZE
21-07-16 17:29:30 INFO (MainThread) [supervisor.resolution.evaluate] System evaluation complete
21-07-16 17:29:30 INFO (MainThread) [__main__] Setting up Supervisor
21-07-16 17:29:31 INFO (MainThread) [supervisor.api] Starting API on 172.30.32.2
21-07-16 17:29:31 INFO (MainThread) [supervisor.hardware.monitor] Started Supervisor hardware monitor
21-07-16 17:29:32 INFO (MainThread) [supervisor.host.info] Updating local host information
21-07-16 17:29:32 INFO (MainThread) [supervisor.host.services] Updating service information
21-07-16 17:29:32 INFO (MainThread) [supervisor.host.network] Updating local network information
21-07-16 17:29:45 WARNING (MainThread) [supervisor.host.network] Can't update connectivity information: Error: Timeout was reached
21-07-16 17:29:45 INFO (MainThread) [supervisor.host.sound] Updating PulseAudio information
21-07-16 17:29:45 INFO (MainThread) [supervisor.host] Host information reload completed
21-07-16 17:29:45 INFO (MainThread) [supervisor.host.apparmor] Loading AppArmor Profiles: {'hassio-supervisor'}
21-07-16 17:29:45 INFO (MainThread) [supervisor.host.services] Reloading local service hassos-apparmor.service
21-07-16 17:29:46 INFO (SyncWorker_0) [supervisor.docker.interface] Attaching to ghcr.io/home-assistant/aarch64-hassio-dns with version 2021.06.0
21-07-16 17:29:46 INFO (MainThread) [supervisor.plugins.dns] Updated /etc/resolv.conf
21-07-16 17:29:46 INFO (SyncWorker_0) [supervisor.docker.interface] Attaching to homeassistant/aarch64-hassio-audio with version 2021.04.0
21-07-16 17:29:46 INFO (SyncWorker_0) [supervisor.docker.interface] Attaching to homeassistant/aarch64-hassio-cli with version 2021.05.1
21-07-16 17:29:46 INFO (SyncWorker_0) [supervisor.docker.interface] Attaching to ghcr.io/home-assistant/aarch64-hassio-observer with version 2021.06.0
21-07-16 17:29:46 INFO (SyncWorker_0) [supervisor.docker.interface] Attaching to homeassistant/aarch64-hassio-multicast with version 2021.04.0
21-07-16 17:29:46 INFO (MainThread) [supervisor.updater] Fetching update data from https://version.home-assistant.io/stable.json
21-07-16 17:29:52 INFO (SyncWorker_0) [supervisor.docker.interface] Attaching to ghcr.io/home-assistant/raspberrypi4-64-homeassistant with version 2021.6.6
21-07-16 17:29:52 INFO (MainThread) [supervisor.homeassistant.secrets] Loaded 5 Home Assistant secrets
21-07-16 17:29:52 INFO (MainThread) [supervisor.hassos] Detect Home Assistant Operating System 6.1 / BootSlot A
21-07-16 17:29:53 INFO (MainThread) [supervisor.store.git] Loading add-on /data/addons/core repository
21-07-16 17:29:53 INFO (MainThread) [supervisor.store.git] Loading add-on /data/addons/git/a0d7b954 repository
21-07-16 17:29:53 INFO (MainThread) [supervisor.store.git] Loading add-on /data/addons/git/cebe7a76 repository
21-07-16 17:29:53 INFO (MainThread) [supervisor.store.git] Loading add-on /data/addons/git/15d21743 repository
21-07-16 17:29:53 INFO (MainThread) [supervisor.store.git] Loading add-on /data/addons/git/45df7312 repository
21-07-16 17:29:54 INFO (MainThread) [supervisor.store] Loading add-ons from store: 66 all - 66 new - 0 remove
21-07-16 17:29:54 INFO (MainThread) [supervisor.addons] Found 9 installed add-ons
21-07-16 17:29:54 INFO (SyncWorker_3) [supervisor.docker.interface] Attaching to homeassistant/aarch64-addon-mariadb with version 2.4.0
21-07-16 17:29:54 INFO (SyncWorker_4) [supervisor.docker.interface] Attaching to homeassistant/aarch64-addon-mosquitto with version 5.1.1
21-07-16 17:29:54 INFO (SyncWorker_2) [supervisor.docker.interface] Attaching to thomasmauerer/samba-backup-aarch64 with version 4.5.0
21-07-16 17:29:54 INFO (SyncWorker_1) [supervisor.docker.interface] Attaching to ghcr.io/hassio-addons/phpmyadmin/aarch64 with version 0.4.3
21-07-16 17:29:54 INFO (SyncWorker_6) [supervisor.docker.interface] Attaching to ghcr.io/hassio-addons/zwavejs2mqtt/aarch64 with version 0.19.0
21-07-16 17:29:54 INFO (SyncWorker_7) [supervisor.docker.interface] Attaching to ghcr.io/hassio-addons/ssh/aarch64 with version 8.2.3
21-07-16 17:29:54 INFO (SyncWorker_5) [supervisor.docker.interface] Attaching to homeassistant/aarch64-addon-samba with version 9.5.0
21-07-16 17:29:54 INFO (SyncWorker_0) [supervisor.docker.interface] Attaching to homeassistant/aarch64-addon-configurator with version 5.3.1
21-07-16 17:29:54 INFO (SyncWorker_3) [supervisor.docker.interface] Attaching to zigbee2mqtt/zigbee2mqtt-aarch64 with version 1.18.2-1
21-07-16 17:29:54 INFO (MainThread) [supervisor.snapshots] Found 14 snapshot files
21-07-16 17:29:55 INFO (MainThread) [supervisor.discovery] Loaded 2 messages
21-07-16 17:29:55 INFO (MainThread) [supervisor.ingress] Loaded 5 ingress sessions
21-07-16 17:29:55 INFO (MainThread) [supervisor.resolution.check] Starting system checks with state CoreState.SETUP
21-07-16 17:29:55 INFO (MainThread) [supervisor.resolution.check] System checks complete
21-07-16 17:29:55 INFO (MainThread) [supervisor.resolution.evaluate] Starting system evaluation with state CoreState.SETUP
21-07-16 17:29:55 INFO (MainThread) [supervisor.resolution.evaluate] System evaluation complete
21-07-16 17:29:55 INFO (MainThread) [supervisor.jobs] 'ResolutionFixup.run_autofix' blocked from execution, system is not running - CoreState.SETUP
21-07-16 17:29:55 INFO (MainThread) [supervisor.resolution.evaluate] Starting system evaluation with state CoreState.SETUP
21-07-16 17:29:55 INFO (MainThread) [supervisor.resolution.evaluate] System evaluation complete
21-07-16 17:29:55 INFO (MainThread) [__main__] Running Supervisor
21-07-16 17:29:55 INFO (MainThread) [supervisor.hassos] Rauc: A - marked slot kernel.0 as good
21-07-16 17:29:55 INFO (MainThread) [supervisor.addons] Phase 'AddonStartup.INITIALIZE' starting 0 add-ons
21-07-16 17:29:55 INFO (MainThread) [supervisor.core] Supervisor reboot detected
21-07-16 17:29:55 INFO (MainThread) [supervisor.misc.tasks] All core tasks are scheduled
21-07-16 17:29:55 INFO (MainThread) [supervisor.core] Supervisor is up and running
21-07-16 17:29:55 INFO (MainThread) [supervisor.host.info] Updating local host information
21-07-16 17:29:55 INFO (MainThread) [supervisor.resolution.check] Starting system checks with state CoreState.RUNNING
21-07-16 17:29:55 INFO (MainThread) [supervisor.resolution.checks.base] Run check for IssueType.PWNED/ContextType.ADDON
21-07-16 17:29:55 INFO (MainThread) [supervisor.host.services] Updating service information
21-07-16 17:29:56 INFO (MainThread) [supervisor.host.network] Updating local network information
21-07-16 17:29:56 WARNING (MainThread) [supervisor.addons.options] Option 'interface' does not exist in the schema for Samba share (core_samba)
21-07-16 17:29:56 INFO (MainThread) [supervisor.resolution.checks.base] Run check for IssueType.FREE_SPACE/ContextType.SYSTEM
21-07-16 17:29:56 INFO (MainThread) [supervisor.resolution.checks.base] Run check for IssueType.SECURITY/ContextType.CORE
21-07-16 17:29:56 INFO (MainThread) [supervisor.resolution.check] System checks complete
21-07-16 17:29:56 INFO (MainThread) [supervisor.resolution.evaluate] Starting system evaluation with state CoreState.RUNNING
21-07-16 17:30:02 INFO (MainThread) [supervisor.resolution.evaluate] System evaluation complete
21-07-16 17:30:02 INFO (MainThread) [supervisor.resolution.fixup] Starting system autofix at state CoreState.RUNNING
21-07-16 17:30:02 INFO (MainThread) [supervisor.resolution.fixup] System autofix complete
21-07-16 17:30:09 WARNING (MainThread) [supervisor.host.network] Can't update connectivity information: Error: Timeout was reached
21-07-16 17:30:09 INFO (MainThread) [supervisor.host.sound] Updating PulseAudio information
21-07-16 17:30:09 INFO (MainThread) [supervisor.host] Host information reload completed
21-07-16 17:30:35 WARNING (MainThread) [supervisor.host.network] Can't update connectivity information: Error: Timeout was reached
21-07-16 17:30:45 INFO (MainThread) [supervisor.snapshots] Creating new partial-snapshot with slug d5b556cc
21-07-16 17:30:45 INFO (MainThread) [supervisor.snapshots] Snapshotting d5b556cc store Add-ons
21-07-16 17:30:45 INFO (MainThread) [supervisor.addons.addon] Building snapshot for add-on core_configurator
21-07-16 17:30:45 INFO (MainThread) [supervisor.addons.addon] Finish snapshot for addon core_configurator
21-07-16 17:30:45 INFO (MainThread) [supervisor.snapshots] Creating partial-snapshot with slug d5b556cc completed
21-07-16 17:30:45 WARNING (MainThread) [supervisor.jobs] 'AddonManager.update' blocked from execution, no host internet connection

Additional information

No such a problem occured till supervisor-6.8, starting from Year 2021 ~January.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:39 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
Masterz69commented, Oct 23, 2021

So far looks good. 24hours after wlan0/eth0 have no more the same IP address - host internet connectivity still full.

As well on phpMyAdmin add-on restart - looks no default interface flapping anymore happens.

Oct 23 17:52:48 ha hassos-supervisor[969]: 21-10-23 20:52:48 INFO (SyncWorker_1) [supervisor.docker.addon] Starting Docker add-on ghcr.io/hassio-addons/phpmyadmin/aarch64 with version 0.5.0

, but las flap happened yesterday:

Oct 22 18:46:36 ha NetworkManager[362]: <info>  [1634928396.4549] policy: set 'Supervisor eth0' (eth0) as default for IPv4 routing and DNS
Oct 22 18:46:44 ha NetworkManager[362]: <info>  [1634928404.8360] policy: set 'Supervisor wlan0' (wlan0) as default for IPv4 routing and DNS

======= ======= ======= ======= ======= ======= =======

During this small investigation managed to found a source of following log entries for almost all IP in my LAN:

. . .
Oct 23 17:52:18 ha db021ea784ec[472]: [INFO] 172.30.32.1:33091 - 43541 "PTR IN 27.1.168.192.in-addr.arpa. udp 43 false 512" NXDOMAIN qr,rd,ra 43 0.034694301s
Oct 23 17:52:18 ha db021ea784ec[472]: [INFO] 127.0.0.1:49165 - 21069 "PTR IN 239.1.168.192.in-addr.arpa. udp 55 true 2048" NXDOMAIN qr,rd,ra 44 0.030182847s
Oct 23 17:52:18 ha db021ea784ec[472]: [INFO] 172.30.32.1:44768 - 21069 "PTR IN 239.1.168.192.in-addr.arpa. udp 44 false 512" NXDOMAIN qr,rd,ra 44 0.031783879s
. . .
Oct 23 17:54:22 ha db021ea784ec[472]: [INFO] 127.0.0.1:57382 - 8489 "PTR IN 27.1.168.192.in-addr.arpa. udp 54 true 2048" NXDOMAIN qr,rd,ra 43 0.585325217s
Oct 23 17:54:22 ha db021ea784ec[472]: [INFO] 172.30.32.1:42381 - 8489 "PTR IN 27.1.168.192.in-addr.arpa. udp 43 false 512" NXDOMAIN qr,rd,ra 43 0.587059322s
Oct 23 17:54:22 ha db021ea784ec[472]: [INFO] 127.0.0.1:57382 - 60202 "PTR IN 239.1.168.192.in-addr.arpa. udp 55 true 2048" NXDOMAIN qr,rd,ra 44 0.036719124s
Oct 23 17:54:22 ha db021ea784ec[472]: [INFO] 172.30.32.1:50011 - 60202 "PTR IN 239.1.168.192.in-addr.arpa. udp 44 false 512" NXDOMAIN qr,rd,ra 44 0.038761577s

Root cause is a command line sensor:

    - platform: command_line
      name: ARP Count Total
      command: "arp | grep eth0 | wc -l"
      scan_interval: 120

To get rid of NXDOMAIN logging - will use arp -n from now.

Thank You very much, @agners.

1reaction
DexterityGermcommented, Jul 28, 2021

In my case, this message appears due to the fact that when contacting https://version.home-assistant.io/online.txt , it issues hCAPTCHA, so HAOS does not receive the desired response “NetworkManager is online”.

This is my problem. Having connected via VPN, everything works correctly.

Question: how to convince hCAPTCHA that I am not a bot and remove my IP from blocking?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Cannot install/update addons - Home Assistant Community
'AddonManager.update' blocked from execution, no host internet connection”. In my case, this message appears due to the fact that when ...
Read more >
'AddonManager.install' blocked from execution, no ... - Reddit
'AddonManager.install' blocked from execution, no host internet connection. I apparently broke something when configuring Adguard.
Read more >
Addon Manager- No internet connection - FSDreamTeam
I have an internet connection. Then inside the sim, when I try and update the coutal I get a prompt saying Im missing...
Read more >
supervisor.jobs 'homeassistantcore.update' blocked ... - 掘金
supervisor.jobs 'homeassistantcore.update' blocked from execution no host internet connection技术、学习、经验文章掘金开发者社区搜索结果。
Read more >
'AddonManager.install' blocked from execution, no host ...
'AddonManager.install' blocked from execution, no host internet connection. I apparently broke something when configuring Adguard.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found