Getting following error on Raspberry Pi4 B. Please help
[supervisor.docker.interface] Can’t install ghcr.io/home-assistant/aarch64-hassio-supervisor:2024.06.2: 500 Server Error for http+docker://localhost/v1.45/images/create?tag=2024.06.2&fromImage=ghcr.io%2Fhome-assistant%2Faarch64-hassio-supervisor&platform=linux%2Farm64: Internal Server Error (“Get “https://ghcr.io/v2/”: net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)”)
[supervisor.homeassistant.core] Error on Home Assistant installation. Retrying in 30sec
[supervisor.docker.interface] Can’t install ghcr.io/home-assistant/aarch64-hassio-supervisor:2024.06.2: 500 Server Error for http+docker://localhost/v1.45/images/create?tag=2024.06.2&fromImage=ghcr.io%2Fhome-assistant%2Faarch64-hassio-supervisor&platform=linux%2Farm64: Internal Server Error (“Get “https://ghcr.io/v2/”: net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)”)
[supervisor.supervisor] Update of Supervisor failed: Can’t install ghcr.io/home-assistant/aarch64-hassio-supervisor:2024.06.2: 500 Server Error for http+docker://localhost/v1.45/images/create?tag=2024.06.2&fromImage=ghcr.io%2Fhome-assistant%2Faarch64-hassio-supervisor&platform=linux%2Farm64: Internal Server Error (“Get “https://ghcr.io/v2/”: net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)”)
Trying to install Home assistant on Raspberry Pi 4 as well and I got the same error.
Any idea on how to solve it yet?
Im also using LAN ethernet cable to router.
2024-07-27 17:47:58.000 ERROR (MainThread) [supervisor.supervisor] Update of Supervisor failed: Can’t install ghcr.io/home-
assistant
/aarch64-hassio-supervisor:2024.06.2: 500 Server Error for … : Internal Server Error (“Get “https:// ghcr.io/v2/”: context deadline exceeded (Client.Timeout exceeded while awaiting headers)”)
2024-07-27 17:47:58.000 CRITICAL (MainThread) [supervisor.core] Can’t update Supervisor! This will break some Add-ons or affect future versions of Home Assistant!)
Most likely your DNS server is not correctly resolving gchr.io. probably your ISPs fault. Set it to one of the week known ones like 8.8.8.8 or 9.9.9.9.
It doesnt appear to be dns error as the versin 11.0 of Home assistant got installed without any problem. but the version 10.x and 12.x having problem in installation.
Hey nickrout, I tried changing my DNS to 8.8.8.8 and also later to 1.1.1.1 and it did not fixed the issue.
would you have any other insights on this to help me out?
Yes,Without changing anything I installed version 11.0 after downloading with the similar method which I was using for other versions. And it worked.
One more thing.
One more thing is that. this is the 2nd time that I installed 11.0 in 2 days. as when I tried to update it . It again hanged. So I have to restart the entire process and now loaded 11.0. and not updating it
Hi Vijay_Naru.
Where did you find the installation file for H.A 11.0.
Im using raspberry imager to dowload H.A to the sd card, and there I can only find version 12.4.
Hi Tamsy, Thanks for te reply again.
I tried searching on the web browsr of my laptop (connected to the wifi) the link above.
the following apeared:
{“errors”:[{“code”:“UNAUTHORIZED”,“message”:“authentication required”}]}
Thank you for your help,
I still dont have a solution for installing home assistant
Weird indeed. Considering that accessing “https://ghcr.io/v2/ ” through a webbrowser from a PC/Laptop connected to the very same LAN (192.168.1.x) as your RPI is in seems to work.
Did you configure your router to use DNS servers of your choice like nickrout has suggested above?
You can also configure HA to bypass your router’s DNS and directly use another DNS server. For this to work make sure your Router allows outbound traffic LAN → WAN on port 53 with protocol UDP.
From the CLI:
ha dns options --servers dns://8.8.8.8
ha dns restart
Also make sure your ISP is not doing ‘Transparent proxying’ in the background by rerouting all DNS traffic to their DNS servers without the users knowledge. Unfortunately this is a common technique in many countries.
Do a DNS Leak Test and make sure the output only shows the DNS servers you have configured on the router’s side.