Home Assistant Supervisor update to 2024.02.0 fail

Hello, first time poster, seeking assistance.

Ive been running HA for a year or two with no issues, exoloring and adding to my system. Initially on a Docker image on a synology, then for the last year as a virtual machine within the synology. Works well.

However, I’m having difficulty now for the last few days with an update to Supervisor that just wont take. Logs look to point to a DNS lookup fail on a git hub site; however I can browse to there on home network. I’ve pihole and some geo blocks in place on the unifi SE but again i can get to the site fine on other machines. Can anyone tell me what I’m doing wrong?

Log reads

Log Details (ERROR)
Logger: homeassistant.components.websocket_api.http.connection
Source: components/websocket_api/commands.py:240
Integration: Home Assistant WebSocket API (documentation, issues)
First occurred: 12:54:30 (1 occurrences)
Last logged: 12:54:30

[140317449765696] Error updating Home Assistant Supervisor: Update of Supervisor failed: Can't install ghcr.io/home-assistant/amd64-hassio-supervisor:2024.02.0: 500 Server Error for http+docker://localhost/v1.43/images/create?tag=2024.02.0&fromImage=ghcr.io%2Fhome-assistant%2Famd64-hassio-supervisor&platform=linux%2Famd64: Internal Server Error ("Get "https://ghcr.io/v2/": net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)")
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/components/hassio/update.py", line 258, in async_install
    await async_update_supervisor(self.hass)
  File "/usr/src/homeassistant/homeassistant/components/hassio/handler.py", line 55, in _wrapper
    raise HassioAPIError(data["message"])
homeassistant.components.hassio.handler.HassioAPIError: Update of Supervisor failed: Can't install ghcr.io/home-assistant/amd64-hassio-supervisor:2024.02.0: 500 Server Error for http+docker://localhost/v1.43/images/create?tag=2024.02.0&fromImage=ghcr.io%2Fhome-assistant%2Famd64-hassio-supervisor&platform=linux%2Famd64: Internal Server Error ("Get "https://ghcr.io/v2/": net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)")

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 260, in async_install
    raise HomeAssistantError(
homeassistant.exceptions.HomeAssistantError: Error updating Home Assistant Supervisor: Update of Supervisor failed: Can't install ghcr.io/home-assistant/amd64-hassio-supervisor:2024.02.0: 500 Server Error for http+docker://localhost/v1.43/images/create?tag=2024.02.0&fromImage=ghcr.io%2Fhome-assistant%2Famd64-hassio-supervisor&platform=linux%2Famd64: Internal Server Error ("Get "https://ghcr.io/v2/": net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)")

Also encountering problems:

Log details (ERROR)
Logger: homeassistant.components.websocket_api.http.connection
Source: components/websocket_api/commands.py:238
Integration: Home Assistant WebSocket API (documentation, issues)
First occurred: 12:03:18 AM (1 occurrences)
Last logged: 12:03:18 AM

[281473141923776] Error updating Home Assistant Supervisor: Update of Supervisor failed: Can't install ghcr.io/home-assistant/aarch64-hassio-supervisor:2024.02.0: 500 Server Error for http+docker://localhost/v1.43/images/create?tag=2024.02.0&fromImage=ghcr.io%2Fhome-assistant%2Faarch64-hassio-supervisor&platform=linux%2Farm64: Internal Server Error ("Get "https://ghcr.io/v2/": net/http: TLS handshake timeout")
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/components/hassio/update.py", line 258, in async_install
    await async_update_supervisor(self.hass)
  File "/usr/src/homeassistant/homeassistant/components/hassio/handler.py", line 53, in _wrapper
    raise HassioAPIError(data["message"])
homeassistant.components.hassio.handler.HassioAPIError: Update of Supervisor failed: Can't install ghcr.io/home-assistant/aarch64-hassio-supervisor:2024.02.0: 500 Server Error for http+docker://localhost/v1.43/images/create?tag=2024.02.0&fromImage=ghcr.io%2Fhome-assistant%2Faarch64-hassio-supervisor&platform=linux%2Farm64: Internal Server Error ("Get "https://ghcr.io/v2/": net/http: TLS handshake timeout")

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 238, in handle_call_service
    response = await hass.services.async_call(
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/core.py", line 2149, in async_call
    response_data = await coro
                    ^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/core.py", line 2186, in _execute_service
    return await target(service_call)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/helpers/entity_component.py", line 272, in handle_service
    return await service.entity_service_call(
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 882, in entity_service_call
    single_response = await _handle_entity_call(
                      ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 952, 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 260, in async_install
    raise HomeAssistantError(
homeassistant.exceptions.HomeAssistantError: Error updating Home Assistant Supervisor: Update of Supervisor failed: Can't install ghcr.io/home-assistant/aarch64-hassio-supervisor:2024.02.0: 500 Server Error for http+docker://localhost/v1.43/images/create?tag=2024.02.0&fromImage=ghcr.io%2Fhome-assistant%2Faarch64-hassio-supervisor&platform=linux%2Farm64: Internal Server Error ("Get "https://ghcr.io/v2/": net/http: TLS handshake timeout")

Ok so I still cannot figure out what’s wrong here. I have tried the following:

  • Verified DNS resolution is working. (IPv6 is disabled.)
  • Clock is accurate.
  • There are no registries configured in the addon store.
# ha resolution info
checks:
- enabled: true
  slug: backups
- enabled: true
  slug: addon_pwned
- enabled: true
  slug: dns_server
- enabled: true
  slug: dns_server_ipv6
- enabled: true
  slug: supervisor_trust
- enabled: true
  slug: network_interface_ipv4
- enabled: true
  slug: docker_config
- enabled: true
  slug: multiple_data_disks
- enabled: true
  slug: free_space
- enabled: true
  slug: core_security
issues:
- context: store
  reference: a0d7b954
  type: fatal_error
  uuid: a82a36e92dcf427492899918a6ba2527
- context: supervisor
  reference: null
  type: update_failed
  uuid: 78b5b7d8c9144ce7acd93af0bec14d9f
- context: system
  reference: null
  type: no_current_backup
  uuid: 8c755e132b224b0a80b24a8ce79c8a7b
suggestions:
- auto: false
  context: store
  reference: a0d7b954
  type: execute_remove
  uuid: 6a39aa29ff1f4318b479bd4518787d88
- auto: false
  context: system
  reference: null
  type: create_full_backup
  uuid: c20ee447a5d54f2e9442b9ba627ede33
unhealthy:
- supervisor
unsupported: []

Error encountered:

24-03-03 17:20:39 ERROR (MainThread) [supervisor.supervisor] Update of Supervisor failed: Can't install ghcr.io/home-assistant/aarch64-hassio-supervisor:2024.02.1: 500 Server Error for http+docker://localhost/v1.43/images/create?tag=2024.02.1&fromImage=ghcr.io%2Fhome-assistant%2Faarch64-hassio-supervisor&platform=linux%2Farm64: Internal Server Error ("Get "https://ghcr.io/v2/": net/http: TLS handshake timeout")

How do I fix this?

Ok for the next poor soul that lands on this post, this means something is wrong with your network. In my case, my ethernet cable got crushed in a door and was dropping packets. It could be DNS, could be your router needs a reboot… But there’s a problem somewhere.

1 Like

Tnx for info. I changed to another ISP. And then could not reach the DNS i configured in Homa assistant. After changing DNS in HA it works.