Can't Install HomeAssistant on Generic x86-64: Internal Server Error ("Get "https://ghcr.io/v2/": net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)")

Hello, I followed the guide on Home Assistant for installing HAOS on an old x64 laptop I had laying around. I imaged it with a live Ubuntu USB, and it successfulyl installed. It is also wired up to my home network with an Ethernet cable.
I am able to access http://homeassistant.local:8123/ and http://homeassistant.local:4357/ from my computer. The 4357 port (supervisor) shows Connected, Supported, and Healthy for all options.
The 8123 port shows the installation screen, with a red banner on the top saying “An error occured while installing Home Assistant, check the logs below for more information.” What I gather to be the most important part is as follows:

[supervisor.docker.interface] Updating image ghcr.io/home-assistant/generic-x86-64-homeassistant:landingpage to ghcr.io/home-assistant/generic-x86-64-homeassistant:2024.4.3
[supervisor.docker.interface] Downloading docker image ghcr.io/home-assistant/generic-x86-64-homeassistant with tag 2024.4.3.
[supervisor.docker.interface] Can't install ghcr.io/home-assistant/generic-x86-64-homeassistant:2024.4.3: 500 Server Error for http+docker://localhost/v1.44/images/create?tag=2024.4.3&fromImage=ghcr.io%2Fhome-assistant%2Fgeneric-x86-64-homeassistant&platform=linux%2Famd64: Internal Server Error ("Get "https://ghcr.io/v2/": context deadline exceeded")
[supervisor.homeassistant.core] Error on Home Assistant installation. Retrying in 30sec

It tries to update the Docker image from ghcr.io, takes a while, fails, and then tries again in a seemingly infinite loop.
After researching this problem, I found that it could be related to DNS. So, I used the CLI to change HA’s DNS servers to dns://8.8.8.8 and dns://8.8.4.4 and rebooted, but this didn’t fix the problem.
I’ve tried to find others with the same issue, but it seems that most people don’t choose Generic x86-64 for HomeAssistant.
Any ideas?

Have this same issue, did you ever get it resolved and if so mind sharing how?

1 Like

I have the same issue :frowning:

Same. Haven’t found a solution that has worked yet.

I am getting similar errors.
(Client.Timeout exceeded while awaiting headers)
I could not install HA in my home network but I took my Pi to work and there the installation was completed successfully.
I have had a similar problem installing multiple add-ons.
I had the same problem installing HAOS on a Beelink mini.

I think I can blame my network or my ISP.
I have tried specifying different DNS servers in my router (8.8.8.8 and 1.1.1.1)
I really have a very vanilla router setup.

I have considered setting up a hotspot with my phone, disconnecting my router, and doing my updates over LTE. :smiley:

Nobody in this forum seems to have landed on a solution.

Any solution to this yet? Similar issue here and I can’t get any support.

My workaround is taking my pc to another network where this does not happen.

I watched a video about PFSense, and firewall software like this could definitely be the problem. I’m not running anything like that in my network. It would have to be upstream.

My question to devs:
Does HA use any unusual protocols or ports? Maybe this information would help my ISP figure this out.