I have problem with dicker container hassio_dns
keep constantly restarting and in logs there is lot of CoreDNS fails. I think this can cause my other problems like unknow weather in default widget.
I’m using Raspberry Pi 4 4Gb with fresh installed Rasbian 64bit. I installed Home Assistant using this script curl -sL "https://raw.githubusercontent.com/home-assistant/hassio-installer/master/hassio_install.sh" | bash -s -- -m raspberrypi4-64
Docker hassio_dns container keeps restarting docker ps -a
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
02a4ee0de78b homeassistant/aarch64-hassio-dns:1 "coredns -conf /conf…" 10 seconds ago Exited (159) 7 seconds ago hassio_dns
Logs from Home Assistant > Supervisor > System
20-02-11 17:53:47 WARNING (MainThread) [hassio.tasks] Watchdog found a problem with CoreDNS plugin!
20-02-11 17:53:47 WARNING (MainThread) [hassio.tasks] CoreDNS plugin is in fails state / Reset config
20-02-11 17:53:47 INFO (MainThread) [hassio.dns] Start CoreDNS plugin
20-02-11 17:53:47 INFO (SyncWorker_7) [hassio.docker.interface] Clean hassio_dns application
20-02-11 17:53:48 INFO (SyncWorker_7) [hassio.docker.dns] Start DNS homeassistant/aarch64-hassio-dns with version 1 - 172.30.32.3
Logs from Log viewer
2020-02-11 22:06:02 ERROR (MainThread) [metno] https://aa015h6buqvih86i1.api.met.no/weatherapi/locationforecast/1.9/ returned Cannot connect to host aa015h6buqvih86i1.api.met.no:443 ssl:None [Try again]
2020-02-11 22:06:02 ERROR (MainThread) [homeassistant.components.met.weather] Retrying in 17 minutes
2020-02-11 22:22:02 ERROR (MainThread) [homeassistant.components.yr.sensor] Retrying in 16 minutes: Cannot connect to host aa015h6buqvih86i1.api.met.no:443 ssl:None [Try again]
2020-02-11 22:23:08 ERROR (MainThread) [metno] https://aa015h6buqvih86i1.api.met.no/weatherapi/locationforecast/1.9/ returned Cannot connect to host aa015h6buqvih86i1.api.met.no:443 ssl:None [Try again]
2020-02-11 22:23:08 ERROR (MainThread) [homeassistant.components.met.weather] Retrying in 16 minutes
2020-02-11 22:38:08 ERROR (MainThread) [homeassistant.components.yr.sensor] Retrying in 18 minutes: Cannot connect to host aa015h6buqvih86i1.api.met.no:443 ssl:None [Try again]
2020-02-11 22:39:14 ERROR (MainThread) [metno] https://aa015h6buqvih86i1.api.met.no/weatherapi/locationforecast/1.9/ returned Cannot connect to host aa015h6buqvih86i1.api.met.no:443 ssl:None [Try again]
2020-02-11 22:39:14 ERROR (MainThread) [homeassistant.components.met.weather] Retrying in 15 minutes
2020-02-11 22:06:02 ERROR (MainThread) [metno] https://aa015h6buqvih86i1.api.met.no/weatherapi/locationforecast/1.9/ returned Cannot connect to host aa015h6buqvih86i1.api.met.no:443 ssl:None [Try again]
2020-02-11 22:06:02 ERROR (MainThread) [homeassistant.components.met.weather] Retrying in 17 minutes
2020-02-11 22:22:02 ERROR (MainThread) [homeassistant.components.yr.sensor] Retrying in 16 minutes: Cannot connect to host aa015h6buqvih86i1.api.met.no:443 ssl:None [Try again]
2020-02-11 22:23:08 ERROR (MainThread) [metno] https://aa015h6buqvih86i1.api.met.no/weatherapi/locationforecast/1.9/ returned Cannot connect to host aa015h6buqvih86i1.api.met.no:443 ssl:None [Try again]
2020-02-11 22:23:08 ERROR (MainThread) [homeassistant.components.met.weather] Retrying in 16 minutes
2020-02-11 22:38:08 ERROR (MainThread) [homeassistant.components.yr.sensor] Retrying in 18 minutes: Cannot connect to host aa015h6buqvih86i1.api.met.no:443 ssl:None [Try again]
2020-02-11 22:39:14 ERROR (MainThread) [metno] https://aa015h6buqvih86i1.api.met.no/weatherapi/locationforecast/1.9/ returned Cannot connect to host aa015h6buqvih86i1.api.met.no:443 ssl:None [Try again]
2020-02-11 22:39:14 ERROR (MainThread) [homeassistant.components.met.weather] Retrying in 15 minutes
I can’t reach google from homeassistant container
pi@raspberrypi:~ $ docker exec -it homeassistant /bin/bash
bash-5.0# ping google.com
ping: bad address 'google.com'
bash-5.0# dig google.com
; <<>> DiG 9.14.8 <<>> google.com
;; global options: +cmd
;; connection timed out; no servers could be reached
But without any problem i can reach it from hassio_supervisor container
pi@raspberrypi:~ $ docker exec -it hassio_supervisor /bin/bash
bash-5.0# ping google.com
PING google.com (172.217.20.206): 56 data bytes
64 bytes from 172.217.20.206: seq=0 ttl=55 time=43.374 ms
Output from hassio dns info
host: 172.30.32.3
latest_version: "1"
locals:
- dns://192.168.1.1
servers: []
version: "1"
I tried to change dns by hassio dns options --servers dns://1.1.1.1
but it didn’t help and after short time new DNS server disapear from servers list.
I have read other similar threads on the forum but I have not found any working solution.