Error updating Home Assistant Operating System 11.5

Hello everyone,

I have a problem since 2 months. I want to update my Home Assistant from 11.2 to 11.5 but I receive every time an error. I thought it will be solve in the next updates but I still have this issue.
Short information about my setup:
I have a mini pc from ThinkPad and run there Proxmox. It is directly connected with my router. I have the problem that my internet provider give me an DS-Lite connection so the access to my Home Assistant from web is over a Reversed Proxy and this is connected with an external rented Server via wireguard VPN. I don’t know if this is a problem. And another thing is that I run Adguard Home on that PC. I hope I don’t forget anything.

Here is the error text:

Logger: homeassistant.components.websocket_api.http.connection
Source: components/websocket_api/commands.py:240
Integration: Home Assistant WebSocket API (documentation, issues)
First occurred: 16. Februar 2024 um 21:42:46 (2 occurrences)
Last logged: 18:19:46

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/components/websocket_api/commands.py", line 240, in handle_call_service
    response = await hass.services.async_call(
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/core.py", line 2279, in async_call
    response_data = await coro
                    ^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/core.py", line 2316, in _execute_service
    return await target(service_call)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 892, in entity_service_call
    single_response = await _handle_entity_call(
                      ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 962, in _handle_entity_call
    result = await task
             ^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/components/update/__init__.py", line 161, in async_install
    await entity.async_install_with_progress(version, backup)
  File "/usr/src/homeassistant/homeassistant/components/update/__init__.py", line 465, in async_install_with_progress
    await self.async_install(version, backup)
  File "/usr/src/homeassistant/homeassistant/components/hassio/update.py", line 214, in async_install
    raise HomeAssistantError(
homeassistant.exceptions.HomeAssistantError: Error updating Home Assistant Operating System: Can't fetch OTA update from https://github.com/home-assistant/operating-system/releases/download/11.5/haos_ova-11.5.raucb: Cannot connect to host github.com:443 ssl:default [None]

I tried many things like new installation but there are some errors too like

s6-rc: info: service s6rc-oneshot-runner: starting
s6-rc: info: service s6rc-oneshot-runner successfully started
s6-rc: info: service fix-attrs: starting
s6-rc: info: service fix-attrs successfully started
s6-rc: info: service legacy-cont-init: starting
cont-init: info: running /etc/cont-init.d/udev.sh
[17:09:30] INFO: Using udev information from host
cont-init: info: /etc/cont-init.d/udev.sh exited 0
s6-rc: info: service legacy-cont-init successfully started
s6-rc: info: service legacy-services: starting
services-up: info: copying legacy longrun supervisor (no readiness notification)
services-up: info: copying legacy longrun watchdog (no readiness notification)
[17:09:30] INFO: Starting local supervisor watchdog...
s6-rc: info: service legacy-services successfully started
24-02-18 17:09:31 INFO (MainThread) [__main__] Initializing Supervisor setup
24-02-18 17:09:31 INFO (MainThread) [supervisor.docker.network] Can't find Supervisor network, creating a new network
24-02-18 17:09:31 INFO (MainThread) [supervisor.bootstrap] Setting up coresys for machine: qemux86-64
24-02-18 17:09:31 INFO (MainThread) [supervisor.docker.supervisor] Attaching to Supervisor ghcr.io/home-assistant/amd64-hassio-supervisor with version 2024.01.1
24-02-18 17:09:31 INFO (MainThread) [supervisor.docker.supervisor] Connecting Supervisor to hassio-network
24-02-18 17:09:31 INFO (MainThread) [supervisor.resolution.evaluate] Starting system evaluation with state initialize
24-02-18 17:09:31 INFO (MainThread) [supervisor.resolution.evaluate] System evaluation complete
24-02-18 17:09:31 INFO (MainThread) [__main__] Setting up Supervisor
24-02-18 17:09:35 INFO (MainThread) [supervisor.api] Starting API on 172.30.32.2
24-02-18 17:09:35 INFO (MainThread) [supervisor.hardware.monitor] Started Supervisor hardware monitor
24-02-18 17:09:35 INFO (MainThread) [supervisor.dbus.manager] Connected to system D-Bus.
24-02-18 17:09:35 INFO (MainThread) [supervisor.dbus.agent] Load dbus interface io.hass.os
24-02-18 17:09:35 INFO (MainThread) [supervisor.dbus.hostname] Load dbus interface org.freedesktop.hostname1
24-02-18 17:09:35 INFO (MainThread) [supervisor.dbus.logind] Load dbus interface org.freedesktop.login1
24-02-18 17:09:35 INFO (MainThread) [supervisor.dbus.network] Load dbus interface org.freedesktop.NetworkManager
24-02-18 17:09:35 INFO (MainThread) [supervisor.dbus.rauc] Load dbus interface de.pengutronix.rauc
24-02-18 17:09:35 INFO (MainThread) [supervisor.dbus.resolved] Load dbus interface org.freedesktop.resolve1
24-02-18 17:09:35 INFO (MainThread) [supervisor.dbus.systemd] Load dbus interface org.freedesktop.systemd1
24-02-18 17:09:35 INFO (MainThread) [supervisor.dbus.timedate] Load dbus interface org.freedesktop.timedate1
24-02-18 17:09:35 INFO (MainThread) [supervisor.host.services] Updating service information
24-02-18 17:09:35 INFO (MainThread) [supervisor.host.sound] Updating PulseAudio information
24-02-18 17:09:35 WARNING (SyncWorker_0) [supervisor.host.sound] Can't update PulseAudio data: Failed to connect to pulseaudio server
24-02-18 17:09:35 INFO (MainThread) [supervisor.host.network] Updating local network information
24-02-18 17:09:35 INFO (MainThread) [supervisor.host.apparmor] Loading AppArmor Profiles: {'hassio-supervisor'}
24-02-18 18:09:39 INFO (MainThread) [supervisor.docker.monitor] Started docker events monitor
24-02-18 18:09:39 INFO (MainThread) [supervisor.updater] Fetching update data from https://version.home-assistant.io/stable.json
24-02-18 18:09:42 INFO (MainThread) [supervisor.docker.interface] Found ghcr.io/home-assistant/amd64-hassio-cli versions: [<AwesomeVersion CalVer '2023.11.0'>]
24-02-18 18:09:42 INFO (MainThread) [supervisor.docker.interface] Attaching to ghcr.io/home-assistant/amd64-hassio-cli with version 2023.11.0
24-02-18 18:09:42 INFO (MainThread) [supervisor.plugins.cli] Starting CLI plugin
24-02-18 18:09:43 INFO (MainThread) [supervisor.docker.cli] Starting CLI ghcr.io/home-assistant/amd64-hassio-cli with version 2023.11.0 - 172.30.32.5
24-02-18 18:09:43 INFO (MainThread) [supervisor.docker.interface] Found ghcr.io/home-assistant/amd64-hassio-dns versions: [<AwesomeVersion CalVer '2023.06.2'>]
24-02-18 18:09:43 INFO (MainThread) [supervisor.docker.interface] Attaching to ghcr.io/home-assistant/amd64-hassio-dns with version 2023.06.2
24-02-18 18:09:43 INFO (MainThread) [supervisor.plugins.dns] Starting CoreDNS plugin
24-02-18 18:09:43 INFO (MainThread) [supervisor.docker.dns] Starting DNS ghcr.io/home-assistant/amd64-hassio-dns with version 2023.06.2 - 172.30.32.3
24-02-18 18:09:43 INFO (MainThread) [supervisor.plugins.dns] Updated /etc/resolv.conf
24-02-18 18:09:43 INFO (MainThread) [supervisor.docker.interface] Found ghcr.io/home-assistant/amd64-hassio-audio versions: [<AwesomeVersion CalVer '2023.12.0'>]
24-02-18 18:09:43 INFO (MainThread) [supervisor.docker.interface] Attaching to ghcr.io/home-assistant/amd64-hassio-audio with version 2023.12.0
24-02-18 18:09:43 INFO (MainThread) [supervisor.plugins.audio] Starting Audio plugin
24-02-18 18:09:43 INFO (MainThread) [supervisor.docker.audio] Starting Audio ghcr.io/home-assistant/amd64-hassio-audio with version 2023.12.0 - 172.30.32.4
24-02-18 18:09:44 INFO (MainThread) [supervisor.docker.interface] Found ghcr.io/home-assistant/amd64-hassio-observer versions: [<AwesomeVersion CalVer '2023.06.0'>]
24-02-18 18:09:44 INFO (MainThread) [supervisor.docker.interface] Attaching to ghcr.io/home-assistant/amd64-hassio-observer with version 2023.06.0
24-02-18 18:09:44 INFO (MainThread) [supervisor.plugins.observer] Starting observer plugin
24-02-18 18:09:44 INFO (MainThread) [supervisor.docker.observer] Starting Observer ghcr.io/home-assistant/amd64-hassio-observer with version 2023.06.0 - 172.30.32.6
24-02-18 18:09:44 INFO (MainThread) [supervisor.docker.interface] Found ghcr.io/home-assistant/amd64-hassio-multicast versions: [<AwesomeVersion CalVer '2023.06.2'>]
24-02-18 18:09:44 INFO (MainThread) [supervisor.docker.interface] Attaching to ghcr.io/home-assistant/amd64-hassio-multicast with version 2023.06.2
24-02-18 18:09:44 INFO (MainThread) [supervisor.plugins.multicast] Starting Multicast plugin
24-02-18 18:09:44 INFO (MainThread) [supervisor.docker.multicast] Starting Multicast ghcr.io/home-assistant/amd64-hassio-multicast with version 2023.06.2 - Host
24-02-18 18:09:44 INFO (MainThread) [supervisor.homeassistant.secrets] Loaded 0 Home Assistant secrets
24-02-18 18:09:44 INFO (MainThread) [supervisor.docker.interface] No version found for ghcr.io/home-assistant/qemux86-64-homeassistant
24-02-18 18:09:44 INFO (MainThread) [supervisor.homeassistant.core] No Home Assistant Docker image ghcr.io/home-assistant/qemux86-64-homeassistant found.
24-02-18 18:09:44 INFO (MainThread) [supervisor.docker.interface] Attaching to ghcr.io/home-assistant/qemux86-64-homeassistant with version landingpage
24-02-18 18:09:44 INFO (MainThread) [supervisor.homeassistant.core] Using preinstalled landingpage
24-02-18 18:09:44 INFO (MainThread) [supervisor.homeassistant.core] Starting HomeAssistant landingpage
24-02-18 18:09:44 INFO (MainThread) [supervisor.homeassistant.module] Update pulse/client.config: /data/tmp/homeassistant_pulse
24-02-18 18:09:45 INFO (MainThread) [supervisor.docker.homeassistant] Starting Home Assistant ghcr.io/home-assistant/qemux86-64-homeassistant with version landingpage
24-02-18 18:09:45 INFO (MainThread) [supervisor.os.manager] Detect Home Assistant Operating System 12.0.rc1 / BootSlot A
24-02-18 18:09:45 INFO (MainThread) [supervisor.store.git] Cloning add-on https://github.com/hassio-addons/repository repository
24-02-18 18:09:45 INFO (MainThread) [supervisor.store.git] Cloning add-on https://github.com/home-assistant/addons repository
24-02-18 18:09:45 INFO (MainThread) [supervisor.store.git] Cloning add-on https://github.com/esphome/home-assistant-addon repository
24-02-18 18:11:56 ERROR (MainThread) [supervisor.store.git] Can't clone https://github.com/esphome/home-assistant-addon repository: Cmd('git') failed due to: exit code(128)
  cmdline: git clone -v --recursive --depth=1 --shallow-submodules -- https://github.com/esphome/home-assistant-addon /data/addons/git/5c53de3b
  stderr: 'Cloning into '/data/addons/git/5c53de3b'...
fatal: unable to access 'https://github.com/esphome/home-assistant-addon/': Recv failure: Connection reset by peer
'.
24-02-18 18:11:56 ERROR (MainThread) [supervisor.store] Can't retrieve data from https://github.com/esphome/home-assistant-addon due to 
24-02-18 18:11:56 INFO (MainThread) [supervisor.resolution.module] Create new suggestion execute_remove - store / 5c53de3b
24-02-18 18:11:56 INFO (MainThread) [supervisor.resolution.module] Create new issue fatal_error - store / 5c53de3b
24-02-18 18:11:56 ERROR (MainThread) [supervisor.store.git] Can't clone https://github.com/hassio-addons/repository repository: Cmd('git') failed due to: exit code(128)
  cmdline: git clone -v --recursive --depth=1 --shallow-submodules -- https://github.com/hassio-addons/repository /data/addons/git/a0d7b954
  stderr: 'Cloning into '/data/addons/git/a0d7b954'...
fatal: unable to access 'https://github.com/hassio-addons/repository/': Recv failure: Connection reset by peer
'.
24-02-18 18:11:56 ERROR (MainThread) [supervisor.store] Can't retrieve data from https://github.com/hassio-addons/repository due to 
24-02-18 18:11:56 INFO (MainThread) [supervisor.resolution.module] Create new suggestion execute_remove - store / a0d7b954
24-02-18 18:11:56 INFO (MainThread) [supervisor.resolution.module] Create new issue fatal_error - store / a0d7b954
24-02-18 18:11:56 ERROR (MainThread) [supervisor.store.git] Can't clone https://github.com/home-assistant/addons repository: Cmd('git') failed due to: exit code(128)
  cmdline: git clone -v --recursive --depth=1 --shallow-submodules -- https://github.com/home-assistant/addons /data/addons/core
  stderr: 'Cloning into '/data/addons/core'...
fatal: unable to access 'https://github.com/home-assistant/addons/': Recv failure: Connection reset by peer
'.
24-02-18 18:11:56 ERROR (MainThread) [supervisor.store] Can't retrieve data from core due to 
24-02-18 18:11:56 INFO (MainThread) [supervisor.resolution.module] Create new suggestion execute_remove - store / core
24-02-18 18:11:56 INFO (MainThread) [supervisor.resolution.module] Create new issue fatal_error - store / core
24-02-18 18:11:56 INFO (MainThread) [supervisor.store] Loading add-ons from store: 0 all - 0 new - 0 remove
24-02-18 18:11:56 INFO (MainThread) [supervisor.addons.manager] Found 0 installed add-ons
24-02-18 18:11:56 INFO (MainThread) [supervisor.backups.manager] Found 0 backup files
24-02-18 18:11:56 INFO (MainThread) [supervisor.discovery] Loaded 0 messages
24-02-18 18:11:56 INFO (MainThread) [supervisor.ingress] Loaded 0 ingress sessions
24-02-18 18:11:56 INFO (MainThread) [supervisor.resolution.check] Starting system checks with state setup
24-02-18 18:11:56 INFO (MainThread) [supervisor.resolution.check] System checks complete
24-02-18 18:11:56 INFO (MainThread) [supervisor.resolution.evaluate] Starting system evaluation with state setup
24-02-18 18:11:56 INFO (MainThread) [supervisor.resolution.evaluate] System evaluation complete
24-02-18 18:11:56 INFO (MainThread) [supervisor.jobs] 'ResolutionFixup.run_autofix' blocked from execution, system is not running - setup
24-02-18 18:11:56 INFO (MainThread) [supervisor.resolution.evaluate] Starting system evaluation with state setup
24-02-18 18:11:56 INFO (MainThread) [supervisor.resolution.evaluate] System evaluation complete
24-02-18 18:11:56 INFO (MainThread) [__main__] Running Supervisor
24-02-18 18:11:56 INFO (MainThread) [supervisor.os.manager] Rauc: A - marked slot kernel.0 as good
24-02-18 18:11:56 INFO (MainThread) [supervisor.addons.manager] Phase 'initialize' starting 0 add-ons
24-02-18 18:11:56 INFO (MainThread) [supervisor.addons.manager] Phase 'system' starting 0 add-ons
24-02-18 18:11:56 INFO (MainThread) [supervisor.addons.manager] Phase 'services' starting 0 add-ons
24-02-18 18:11:56 INFO (MainThread) [supervisor.core] Skipping start of Home Assistant
24-02-18 18:11:56 INFO (MainThread) [supervisor.addons.manager] Phase 'application' starting 0 add-ons
24-02-18 18:11:56 INFO (MainThread) [supervisor.misc.tasks] All core tasks are scheduled
24-02-18 18:11:56 INFO (MainThread) [supervisor.core] Supervisor is up and running
24-02-18 18:11:56 INFO (MainThread) [supervisor.homeassistant.core] Home Assistant setup
24-02-18 18:11:56 INFO (MainThread) [supervisor.docker.interface] Updating image ghcr.io/home-assistant/qemux86-64-homeassistant:landingpage to ghcr.io/home-assistant/qemux86-64-homeassistant:2024.2.2
24-02-18 18:11:56 INFO (MainThread) [supervisor.docker.interface] Downloading docker image ghcr.io/home-assistant/qemux86-64-homeassistant with tag 2024.2.2.
24-02-18 18:11:56 INFO (MainThread) [supervisor.host.info] Updating local host information
24-02-18 18:11:56 INFO (MainThread) [supervisor.updater] Fetching update data from https://version.home-assistant.io/stable.json
24-02-18 18:11:56 INFO (MainThread) [supervisor.resolution.check] Starting system checks with state running
24-02-18 18:11:56 INFO (MainThread) [supervisor.resolution.checks.base] Run check for no_current_backup/system
24-02-18 18:11:56 INFO (MainThread) [supervisor.resolution.module] Create new suggestion create_full_backup - system / None
24-02-18 18:11:56 INFO (MainThread) [supervisor.resolution.module] Create new issue no_current_backup - system / None
24-02-18 18:11:56 INFO (MainThread) [supervisor.resolution.checks.base] Run check for docker_config/system
24-02-18 18:11:56 INFO (MainThread) [supervisor.resolution.checks.base] Run check for security/core
24-02-18 18:11:56 INFO (MainThread) [supervisor.resolution.checks.base] Run check for dns_server_ipv6_error/dns_server
24-02-18 18:11:56 INFO (MainThread) [supervisor.resolution.checks.base] Run check for ipv4_connection_problem/system
24-02-18 18:11:56 INFO (MainThread) [supervisor.resolution.checks.base] Run check for dns_server_failed/dns_server
24-02-18 18:11:56 INFO (MainThread) [supervisor.resolution.checks.base] Run check for trust/supervisor
24-02-18 18:11:56 INFO (MainThread) [supervisor.resolution.checks.base] Run check for free_space/system
24-02-18 18:11:56 INFO (MainThread) [supervisor.resolution.checks.base] Run check for multiple_data_disks/system
24-02-18 18:11:56 INFO (MainThread) [supervisor.resolution.checks.base] Run check for pwned/addon
24-02-18 18:11:56 INFO (MainThread) [supervisor.resolution.check] System checks complete
24-02-18 18:11:56 INFO (MainThread) [supervisor.resolution.evaluate] Starting system evaluation with state running
24-02-18 18:11:56 INFO (MainThread) [supervisor.resolution.evaluate] System evaluation complete
24-02-18 18:11:56 INFO (MainThread) [supervisor.resolution.fixup] Starting system autofix at state running
24-02-18 18:11:56 INFO (MainThread) [supervisor.resolution.fixup] System autofix complete
24-02-18 18:11:56 INFO (MainThread) [supervisor.host.services] Updating service information
24-02-18 18:11:56 INFO (MainThread) [supervisor.host.network] Updating local network information
24-02-18 18:11:57 INFO (MainThread) [supervisor.host.sound] Updating PulseAudio information
24-02-18 18:11:57 INFO (MainThread) [supervisor.host.manager] Host information reload completed
24-02-18 18:12:06 ERROR (MainThread) [supervisor.docker.interface] Can't install ghcr.io/home-assistant/qemux86-64-homeassistant:2024.2.2: 500 Server Error for http+docker://localhost/v1.43/images/create?tag=2024.2.2&fromImage=ghcr.io%2Fhome-assistant%2Fqemux86-64-homeassistant&platform=linux%2Famd64: Internal Server Error ("Get "https://ghcr.io/v2/": net/http: TLS handshake timeout")
24-02-18 18:12:06 WARNING (MainThread) [supervisor.homeassistant.core] Error on Home Assistant installation. Retrying in 30sec
24-02-18 18:12:36 INFO (MainThread) [supervisor.docker.interface] Updating image ghcr.io/home-assistant/qemux86-64-homeassistant:landingpage to ghcr.io/home-assistant/qemux86-64-homeassistant:2024.2.2
24-02-18 18:12:36 INFO (MainThread) [supervisor.docker.interface] Downloading docker image ghcr.io/home-assistant/qemux86-64-homeassistant with tag 2024.2.2.
24-02-18 18:12:46 ERROR (MainThread) [supervisor.docker.interface] Can't install ghcr.io/home-assistant/qemux86-64-homeassistant:2024.2.2: 500 Server Error for http+docker://localhost/v1.43/images/create?tag=2024.2.2&fromImage=ghcr.io%2Fhome-assistant%2Fqemux86-64-homeassistant&platform=linux%2Famd64: Internal Server Error ("Get "https://ghcr.io/v2/": net/http: TLS handshake timeout")
24-02-18 18:12:46 WARNING (MainThread) [supervisor.homeassistant.core] Error on Home Assistant installation. Retrying in 30sec

and now I am out of ideas.
I am thankful for every idea or someone knows maybe the problem.

Thanks for your help :slightly_smiling_face:

2 Likes

Hi, I have the same issue as well. I’m since 11.2 not able to reboot HA after trying to update. I’m as well running it from a Proxmox VM. The console gets stuck during restart looking like this


The logs during startup indicates an issue with qemu-quest agent

I have spent some time looking for anyone that has solved this without success.

Rolling it back with Proxmox backuo to 11.2 and it’s working again

A fresh install of 11.5 on a new VM works, but I don’t know how then to recover all integrations, devices, dashboards etc so that is not a good option

Hope there is somenone here that can help out :slight_smile:

I have a HA Yellow. I was experiencing this issue. I was able to put HA into safe mode and then run the updates. Going from 11.0 to 11.5. Not entirely sure why I was getting a Network timeout. I delved into my DNS ad blocker, reset back to cloudflare dns for my entire network. Also double checked any custom addons (which I only have terminal, file explorer and the matter server) but disabling those didn’t help.

No idea why it worked with safe mode on.

Same error here updating OS from 11.5 to 12.0 on a Pi 4
The file mentioned in the log

https://github.com/home-assistant/operating-system/releases/download/12.0/haos_rpi4-64-12.0.rauc

can be regularly download
No solution found yet

I’m back, this error is prevalent everywhere. I have been able to upgrade from time to time, but I think it’s just by chance. I have a suspicion that it’s something to do with TLS Handshake error. Read a ton of stuff on this and tried looking for ways to extend the timeout. Long story short there is a file that is most recommended to update (/etc/docker/daemon.json). For the home assistant yellow that file is read only. But a lot of people saw some success with adjusting the MTU setting.

As I’ve said previously tweaking dns settings, or tweaking timezone settings, reformatting, flashing the M.2 with the OS directly over USB, restoring from backups, checking to make sure your device is getting enough power to swapping ports on the switch, to swapping cables, even upgrading my hardware, making sure I’m well above any minimums. I was able to consistently reproduce it using the direct onboard debugger and try to pull the images directly.

I saw some minor improvements to the overall performance of the device itself however the error remained persistent between any docker related downloads.

I have exhausted my options on figuring out what’s causing this.

I have the solution!!!
I wanted to setup my server with faster data transfer and I setup the MTU value in the network settings und set it to 1420. After I delete it everything works fine. The updates are working all fine and my problem with the Add-ons store are gone.
I hope that helps someone with the same issues