operating-system: context deadline exceeded (Client.Timeout exceeded while awaiting headers) with HAOS 5.6+

  • [ x] Raspberry Pi [1/2/3/4]
  • ODROID [C2/C4/N2(+)/XU4]
  • ASUS Tinker [S]
  • Intel NUC (or compatible)
  • OVA (Open Virtualization Applicance, on Intel NUC or any other hardware, please add the Hypervisor you are using)

Home Assistant OS release:

  • [ x] Fresh installation of release x.y
  • Updated from version x.y
  • Additional information (if accessible):

Supervisor logs:

[s6-init] making user provided files available at /var/run/s6/etc...exited 0.
[s6-init] ensuring user provided files have correct perms...exited 0.
[fix-attrs.d] applying ownership & permissions fixes...
[fix-attrs.d] done.
[cont-init.d] executing container initialization scripts...
[cont-init.d] udev.sh: executing... 
[12:16:51] INFO: Update udev information
[cont-init.d] udev.sh: exited 0.
[cont-init.d] done.
[services.d] starting services
[services.d] done.
[12:16:51] INFO: Starting local supervisor watchdog...
20-09-12 12:16:55 INFO (MainThread) [__main__] Initializing Supervisor setup
20-09-12 12:16:55 INFO (MainThread) [supervisor.docker.network] Can't find Supervisor network, creating a new network
20-09-12 12:16:56 INFO (MainThread) [supervisor.bootstrap] Initializing Supervisor Sentry
20-09-12 12:16:56 INFO (MainThread) [supervisor.bootstrap] Seting up coresys for machine: raspberrypi4-64
20-09-12 12:16:56 INFO (SyncWorker_0) [supervisor.docker.supervisor] Attaching to Supervisor homeassistant/aarch64-hassio-supervisor with version 2020.12.6
20-09-12 12:16:56 INFO (SyncWorker_0) [supervisor.docker.supervisor] Connecting Supervisor to hassio-network
20-09-12 12:16:56 INFO (MainThread) [supervisor.resolution.evaluate] Starting system evaluation with state CoreState.INITIALIZE
20-09-12 12:16:56 INFO (MainThread) [supervisor.resolution.evaluate] System evaluation complete
20-09-12 12:16:56 INFO (MainThread) [__main__] Setting up Supervisor
20-09-12 12:16:56 INFO (MainThread) [supervisor.api] Starting API on 172.30.32.2
20-09-12 12:16:57 INFO (MainThread) [supervisor.host.info] Updating local host information
20-09-12 12:16:57 INFO (MainThread) [supervisor.host.services] Updating service information
20-09-12 12:16:57 INFO (MainThread) [supervisor.host.network] Updating local network information
20-09-12 12:16:58 INFO (MainThread) [supervisor.host.sound] Updating PulseAudio information
20-09-12 12:16:58 INFO (MainThread) [supervisor.host] Host information reload completed
20-09-12 12:16:58 INFO (MainThread) [supervisor.host.apparmor] Loading AppArmor Profiles: {'hassio-supervisor'}
20-09-12 12:16:58 INFO (MainThread) [supervisor.host.services] Reloading local service hassos-apparmor.service
20-09-12 12:16:58 INFO (SyncWorker_0) [supervisor.docker.interface] Found homeassistant/aarch64-hassio-dns versions: ['2020.11.0']
20-09-12 12:16:58 INFO (SyncWorker_0) [supervisor.docker.interface] Attaching to homeassistant/aarch64-hassio-dns with version 2020.11.0
20-09-12 12:16:58 INFO (MainThread) [supervisor.plugins.dns] Starting CoreDNS plugin
20-09-12 12:17:00 INFO (SyncWorker_0) [supervisor.docker.dns] Starting DNS homeassistant/aarch64-hassio-dns with version 2020.11.0 - 172.30.32.3
20-09-12 12:17:00 INFO (MainThread) [supervisor.plugins.dns] Updated /etc/resolv.conf
20-09-12 12:17:00 INFO (SyncWorker_0) [supervisor.docker.interface] Found homeassistant/aarch64-hassio-audio versions: ['17']
20-09-12 12:17:00 INFO (SyncWorker_0) [supervisor.docker.interface] Attaching to homeassistant/aarch64-hassio-audio with version 17
20-09-12 12:17:00 INFO (MainThread) [supervisor.plugins.audio] Starting Audio plugin
20-09-12 12:17:01 INFO (SyncWorker_1) [supervisor.docker.audio] Starting Audio homeassistant/aarch64-hassio-audio with version 17 - 172.30.32.4
20-09-12 12:17:01 INFO (SyncWorker_0) [supervisor.docker.interface] Found homeassistant/aarch64-hassio-cli versions: ['2020.11.1']
20-09-12 12:17:01 INFO (SyncWorker_0) [supervisor.docker.interface] Attaching to homeassistant/aarch64-hassio-cli with version 2020.11.1
20-09-12 12:17:01 INFO (MainThread) [supervisor.plugins.cli] Starting CLI plugin
20-09-12 12:17:03 INFO (SyncWorker_0) [supervisor.docker.cli] Starting CLI homeassistant/aarch64-hassio-cli with version 2020.11.1 - 172.30.32.5
20-09-12 12:17:03 INFO (SyncWorker_1) [supervisor.docker.interface] Found homeassistant/aarch64-hassio-observer versions: ['2020.10.1']
20-09-12 12:17:03 INFO (SyncWorker_0) [supervisor.docker.interface] Attaching to homeassistant/aarch64-hassio-observer with version 2020.10.1
20-09-12 12:17:03 INFO (MainThread) [supervisor.plugins.observer] Starting observer plugin
20-09-12 12:17:05 INFO (SyncWorker_0) [supervisor.docker.observer] Starting Observer homeassistant/aarch64-hassio-observer with version 2020.10.1 - 172.30.32.6
20-09-12 12:17:05 INFO (SyncWorker_1) [supervisor.docker.interface] Found homeassistant/aarch64-hassio-multicast versions: ['3']
20-09-12 12:17:05 INFO (SyncWorker_0) [supervisor.docker.interface] Attaching to homeassistant/aarch64-hassio-multicast with version 3
20-09-12 12:17:05 INFO (MainThread) [supervisor.plugins.multicast] Starting Multicast plugin
20-09-12 12:17:06 INFO (SyncWorker_0) [supervisor.docker.multicast] Starting Multicast homeassistant/aarch64-hassio-multicast with version 3 - Host
20-09-12 12:17:06 INFO (MainThread) [supervisor.updater] Fetching update data from https://version.home-assistant.io/stable.json
20-09-12 12:17:06 INFO (MainThread) [supervisor.homeassistant.secrets] Loaded 0 Home Assistant secrets
20-09-12 12:17:06 INFO (SyncWorker_0) [supervisor.docker.interface] Found homeassistant/raspberrypi4-64-homeassistant versions: ['landingpage']
20-09-12 12:17:06 INFO (SyncWorker_1) [supervisor.docker.interface] Attaching to homeassistant/raspberrypi4-64-homeassistant with version landingpage
20-09-12 12:17:06 INFO (MainThread) [supervisor.homeassistant.core] Starting HomeAssistant landingpage
20-09-12 12:17:06 INFO (MainThread) [supervisor.homeassistant] Update pulse/client.config: /data/tmp/homeassistant_pulse
20-09-12 12:17:07 INFO (SyncWorker_1) [supervisor.docker.homeassistant] Starting Home Assistant homeassistant/raspberrypi4-64-homeassistant with version landingpage
20-09-12 12:17:07 INFO (MainThread) [supervisor.hassos] Detect HassOS 5.8 / BootSlot A
20-09-12 12:17:07 INFO (MainThread) [supervisor.store.git] Cloning add-on https://github.com/hassio-addons/repository repository
20-09-12 12:17:07 INFO (MainThread) [supervisor.store.git] Cloning add-on https://github.com/home-assistant/addons repository
20-12-19 21:28:50 INFO (MainThread) [supervisor.store] Loading add-ons from store: 66 all - 66 new - 0 remove
20-12-19 21:28:50 INFO (MainThread) [supervisor.addons] Found 0 installed add-ons
20-12-19 21:28:50 INFO (MainThread) [supervisor.snapshots] Found 0 snapshot files
20-12-19 21:28:50 INFO (MainThread) [supervisor.discovery] Loaded 0 messages
20-12-19 21:28:50 INFO (MainThread) [supervisor.ingress] Loaded 0 ingress sessions
20-12-19 21:28:50 INFO (MainThread) [supervisor.resolution.check] Starting system checks with state CoreState.SETUP
20-12-19 21:28:50 INFO (MainThread) [supervisor.resolution.check] System checks complete
20-12-19 21:28:50 INFO (MainThread) [supervisor.resolution.evaluate] Starting system evaluation with state CoreState.SETUP
20-12-19 21:28:50 INFO (MainThread) [supervisor.resolution.evaluate] System evaluation complete
20-12-19 21:28:50 INFO (MainThread) [__main__] Running Supervisor
20-12-19 21:28:50 INFO (MainThread) [supervisor.hassos] Rauc: A - marked slot kernel.0 as good
20-12-19 21:28:50 INFO (MainThread) [supervisor.supervisor] Update Supervisor to version 2020.12.7
20-12-19 21:28:50 INFO (SyncWorker_0) [supervisor.docker.interface] Downloading docker image homeassistant/aarch64-hassio-supervisor with tag 2020.12.7.
20-12-19 21:29:05 ERROR (SyncWorker_0) [supervisor.docker.interface] Can't install homeassistant/aarch64-hassio-supervisor:2020.12.7 -> 500 Server Error for http+docker://localhost/v1.40/images/create?tag=2020.12.7&fromImage=homeassistant%2Faarch64-hassio-supervisor: Internal Server Error ("Get "https://registry-1.docker.io/v2/": context deadline exceeded (Client.Timeout exceeded while awaiting headers)").
20-12-19 21:29:05 ERROR (MainThread) [supervisor.supervisor] Update of Supervisor failed!
20-12-19 21:29:05 CRITICAL (MainThread) [supervisor.core] Can't update Supervisor! This will break some Add-ons or affect future version of Home Assistant!
20-12-19 21:29:05 INFO (MainThread) [supervisor.addons] Phase 'AddonStartup.INITIALIZE' starting 0 add-ons
20-12-19 21:29:05 INFO (MainThread) [supervisor.addons] Phase 'AddonStartup.SYSTEM' starting 0 add-ons
20-12-19 21:29:05 INFO (MainThread) [supervisor.addons] Phase 'AddonStartup.SERVICES' starting 0 add-ons
20-12-19 21:29:05 INFO (MainThread) [supervisor.core] Skiping start of Home Assistant
20-12-19 21:29:05 INFO (MainThread) [supervisor.addons] Phase 'AddonStartup.APPLICATION' starting 0 add-ons
20-12-19 21:29:05 INFO (MainThread) [supervisor.misc.tasks] All core tasks are scheduled
20-12-19 21:29:05 INFO (MainThread) [supervisor.misc.hwmon] Started Supervisor hardware monitor
20-12-19 21:29:05 INFO (MainThread) [supervisor.core] Supervisor is up and running
20-12-19 21:29:05 INFO (MainThread) [supervisor.homeassistant.core] Home Assistant setup
20-12-19 21:29:05 INFO (MainThread) [supervisor.host.info] Updating local host information
20-12-19 21:29:05 INFO (SyncWorker_0) [supervisor.docker.interface] Updating image homeassistant/raspberrypi4-64-homeassistant:landingpage to homeassistant/raspberrypi4-64-homeassistant:2020.12.1
20-12-19 21:29:05 INFO (SyncWorker_0) [supervisor.docker.interface] Downloading docker image homeassistant/raspberrypi4-64-homeassistant with tag 2020.12.1.
20-12-19 21:29:05 INFO (MainThread) [supervisor.updater] Fetching update data from https://version.home-assistant.io/stable.json
20-12-19 21:29:05 INFO (MainThread) [supervisor.resolution.fixup] Starting system autofix at state CoreState.RUNNING
20-12-19 21:29:05 INFO (MainThread) [supervisor.resolution.fixup] System autofix complete
20-12-19 21:29:05 INFO (MainThread) [supervisor.host.services] Updating service information
20-12-19 21:29:05 INFO (MainThread) [supervisor.host.network] Updating local network information
20-12-19 21:29:07 INFO (MainThread) [supervisor.host.sound] Updating PulseAudio information
20-12-19 21:29:07 INFO (MainThread) [supervisor.host] Host information reload completed
20-12-19 21:29:20 ERROR (SyncWorker_0) [supervisor.docker.interface] Can't install homeassistant/raspberrypi4-64-homeassistant:2020.12.1 -> 500 Server Error for http+docker://localhost/v1.40/images/create?tag=2020.12.1&fromImage=homeassistant%2Fraspberrypi4-64-homeassistant: Internal Server Error ("Get "https://registry-1.docker.io/v2/": context deadline exceeded").
20-12-19 21:29:20 WARNING (MainThread) [supervisor.homeassistant.core] Error on Home Assistant installation. Retry in 30sec
20-12-19 21:29:50 INFO (SyncWorker_1) [supervisor.docker.interface] Updating image homeassistant/raspberrypi4-64-homeassistant:landingpage to homeassistant/raspberrypi4-64-homeassistant:2020.12.1
20-12-19 21:29:50 INFO (SyncWorker_1) [supervisor.docker.interface] Downloading docker image homeassistant/raspberrypi4-64-homeassistant with tag 2020.12.1.
20-12-19 21:30:05 ERROR (SyncWorker_1) [supervisor.docker.interface] Can't install homeassistant/raspberrypi4-64-homeassistant:2020.12.1 -> 500 Server Error for http+docker://localhost/v1.40/images/create?tag=2020.12.1&fromImage=homeassistant%2Fraspberrypi4-64-homeassistant: Internal Server Error ("Get "https://registry-1.docker.io/v2/": context deadline exceeded (Client.Timeout exceeded while awaiting headers)").
20-12-19 21:30:05 WARNING (MainThread) [supervisor.homeassistant.core] Error on Home Assistant installation. Retry in 30sec

Journal logs:

Kernel logs:

Description of problem:

I found why — My internet came from cable isp router -> then I have wifi to rg45 ( Iogear GWU637 ) to My router than my 2 pi 4 are connect wire to My router If I connect pi 4 direst to wifi to rg45 ( Iogear ) all problem gone… I thing network timing change after OS 5.5
I prefer last network timing

About this issue

  • Original URL
  • State: closed
  • Created 4 years ago
  • Comments: 35 (7 by maintainers)

Most upvoted comments

I also see Post “http://supervisor/core/check”: context deadline exceeded (Client.Timeout exceeded while awaiting headers) when issuing a ha core check since 2 weeks or so.

Home Assistant is seemingly unphased by this and the UI check is working. Reboots are working.

I have no idea what to do.