Does HomeAssistant have some absurdly short timeout for the update pull?
The last several times I’ve tried to do an update, I get this error:
21-01-17 00:38:55 INFO (MainThread) [supervisor.homeassistant.core] Updating Home Assistant to version 2021.1.4
21-01-17 00:38:55 INFO (SyncWorker_1) [supervisor.docker.interface] Updating image homeassistant/qemux86-64-homeassistant:2020.12.2 to homeassistant/qemux86-64-homeassistant:2021.1.4
21-01-17 00:38:55 INFO (SyncWorker_1) [supervisor.docker.interface] Downloading docker image homeassistant/qemux86-64-homeassistant with tag 2021.1.4.
21-01-17 00:39:07 ERROR (SyncWorker_1) [supervisor.docker.interface] Can't install homeassistant/qemux86-64-homeassistant:2021.1.4 -> 500 Server Error for http+docker://localhost/v1.40/images/create?tag=2021.1.4&fromImage=homeassistant%2Fqemux86-64-homeassistant: Internal Server Error ("Get "https://registry-1.docker.io/v2/": dial tcp: lookup registry-1.docker.io: no such host").
21-01-17 00:39:07 WARNING (MainThread) [supervisor.homeassistant.core] Updating Home Assistant image failed
It looks like maybe it is having issue with DNS, but when I go to SSH into my HomeAssistant instance, I can do a nslookup and after a few seconds it comes back just fine.
nslookup registry-1.docker.io
Server: 127.0.0.11
Address: 127.0.0.11#53
Non-authoritative answer:
Name: registry-1.docker.io
Address: 18.213.137.78
Name: registry-1.docker.io
Address: 52.5.11.128
Name: registry-1.docker.io
Address: 18.232.227.119
Name: registry-1.docker.io
Address: 34.195.246.183
Name: registry-1.docker.io
Address: 3.218.162.19
Name: registry-1.docker.io
Address: 52.20.56.50
Name: registry-1.docker.io
Address: 35.174.73.84
Name: registry-1.docker.io
Address: 54.236.165.68
I’m not sure how exactly it works if there is something else that would cause this – after trying again it usually works but I don’t understand why it seems to fail or time out the first time?