Cannot connect to host version.home-assistant.io:443

I currently have the problem that my home assistant cannot reach the home assistant versions page.

I have already read several posts, but with them the problem is that home assistant cannot update. With me the update card is not there at all?

This is my logging when i reload the HassIO supervisor:

20-02-09 19:49:17 INFO (MainThread) [hassio.updater] Fetch update data from https://version.home-assistant.io/stable.json
20-02-09 19:49:22 WARNING (MainThread) [hassio.updater] Can't fetch versions from https://version.home-assistant.io/stable.json: Cannot connect to host version.home-assistant.io:443 ssl:None [Try again]

When i open the link wich is provided in the logging then i see the JSON file.
What i’ve already done is restart home assistant completely. Also shutdown all addons.

I also deleted all backups to free up any space. But according to the system, only 6.4% has been used. I have a 64 GB card in it. So this should not be the problem either.

Maybe 1 of you has an answer for this.

In addition to this, I also saw the following happen this morning.

20-02-10 07:29:54 INFO (MainThread) [hassio.updater] Fetch update data from https://version.home-assistant.io/stable.json
20-02-10 07:29:59 ERROR (MainThread) [hassio.store.git] Can't update https://github.com/hassio-addons/repository repo: Cmd('git') failed due to: exit code(128)
  cmdline: git fetch --depth=1 --update-shallow -v origin
  stderr: 'fatal: unable to access 'https://github.com/hassio-addons/repository/': Could not resolve host: github.com'.
20-02-10 07:29:59 WARNING (MainThread) [hassio.updater] Can't fetch versions from https://version.home-assistant.io/stable.json: Cannot connect to host version.home-assistant.io:443 ssl:None [Try again]
20-02-10 07:29:59 ERROR (MainThread) [hassio.store.git] Can't update https://github.com/danielwelch/hassio-zigbee2mqtt repo: Cmd('git') failed due to: exit code(128)
  cmdline: git fetch --depth=1 --update-shallow -v origin
  stderr: 'fatal: unable to access 'https://github.com/danielwelch/hassio-zigbee2mqtt/': Could not resolve host: github.com'.
20-02-10 07:29:59 ERROR (MainThread) [hassio.store.git] Can't update https://github.com/home-assistant/hassio-addons repo: Cmd('git') failed due to: exit code(128)
  cmdline: git fetch --depth=1 --update-shallow -v origin
  stderr: 'fatal: unable to access 'https://github.com/home-assistant/hassio-addons/': Could not resolve host: github.com'.
20-02-10 07:30:00 INFO (MainThread) [hassio.store] Load add-ons from store: 64 all - 0 new - 0 remove

I have the feeling that something is being blocked / blocked somewhere. I run Pi-hole on home assistant. Could this be the cause?

I have the exact same problem.
It’s interesting, that I can curl https://version.home-assistant.io/stable.json successfully via ssh on my pi.
And I had this problem before. I solved it by manually downloading the latest update via cli.

But apparently I just solved it by enabling “Listen on all interfaces, permit all origins” in the Pi-Hole addon (under Settings -> DNS).

4 Likes

I have no Pi-Hole installed, still I have issue in update.

Any idea ?

So I did the following.
Logged in to my router and set the secondary DNS to 1.1.1.1. This worked for me. Now I’m getting al the updates so apparently Pi-Hole did blocked the updates.

Have you tried this instruction? → https://github.com/home-assistant/operating-system/blob/a592fc986610fac9dbaec96f514ee616c1a44d17/Documentation/network.md#static-ip

I was having an issue with the exact same symptoms and that instruction did help me.

1 Like

Woah! This worked for me! Thanks.

Glad I could help :slight_smile:
Just for the record, it also works with Listen on all interfaces (better if your Pi-Hole is not firewalled).
It did not work for me with Listen only on interface eth0.

any idea how to fix this error within adguard?

1 Like

I have the same issue.
But i have no pihole. I had this as well during installation. Then it went through after 20 retries.
Now its back again

[supervisor.updater] Can't fetch versions from https://version.home-assistant.io/stable.json: Cannot connect to host version.home-assistant.io:443 ssl:None [Try again]

fixed for me with a 2nd static DNS server!

1 Like

I can confirm this fix has worked for me. I’ve used the nmcli instructions to update the ipv4.dns.
Originally I had the Hassio’s own IP address set as the single DNS because I’m using AdGuard, by adding 1.1.1.1 to the ipv4.dns and rebooting the host the issue was resolved!.

Had the same issue when I upgraded Hassio 0.111 to 0.112. The Supervisor RELOAD did not helped, HAService Restart neither. But a complete HASSIO REBOOT did the trick.

Thanks. fixed my install

Thanks for this one :smiley:

Does this make a PiHole vulnerable in any way? Seeing as the traffic flow is coming from a container it’s probably a necessity.

Perhaps a feature request in PiHole to provide an allow list under the Listen on all interfaces, permit all origins would help to keep a secure and minimalist configuration.