I’m having this exact issue. I have verified I could resolve internal and external hostnames from the terminal but I am still getting the following message.
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]
Hi,
I´ve got exact the same error. with version 0.104.3. Hassio.
I initially suspected adguard, but even if it is deactivated, it does not work. Im also not able to add new repositories from github.
My issue was DNS. I am running pfSense and have a static reservation for HA. My DHCP scope was configured to set DNS to HA since I am running ADGuard. With pfSense you are able to specify an alternative DNS server for specific clients. Once I changed the DNS server for my HA reservation my issues went away.
isnt reachable through hassio. you can see it in the systemlog.
to resolve this issue, login into your router and reset the dns ip that points to your pihole instance into the default ip. e.g. 192.168.1.1
restart your router / restart hassio and try again.
Ok I was able to fix the problem for good. Truth is pihole add-on in deed was the culprit.
But uninstalling or not using pihole was not an alternative for me. Two things I did and now updates within hassio work:
go to pihole and enter a second upstream DNS service. I just had one
And I guess that does the trick: make pihole listen on all Interfaces and all origins. Mine was set to only listen to eth0. Because of that it obviously wasn’t resolving any DNS queries from docker containers running on the very same machine, like hassio. With this setting enabled my hassio docker containers like hassio-supervisor, hassio-dns, home-assistant show up as separate hosts in the pihole client table and their DNS requests get properly resolved
I am having the issue of not being able to resolve github host for addons. (hassos running in a VM)
I am using pfsense firewall with the following dns being forwarded to the host: local:
After 2 restarts, also restarted the pfsense machine, home assistant is still not able to add new repositories. What could I do to resolve this? it is starting to get on my nerves…