Home Assistant Cannot Reach Any Network Services (Internal & External)

After updating Home Assistant Core, the system cannot reach any network services, both external (internet-based) and internal (localhost-based). The web interface is accessible, but most integrations and add-ons fail to connect.

Error Messages & Examples

External Services Failing:

  • CloudFlare:
    Error Parsing page 1: REST request failed: REST request failed: Get “https://api.cloudflare.com/client/v4/accounts …”": net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)
  • Met.no:
    [metno] Access to https://aa015h6buqvih86i1.api.met.no/weatherapi/locationforecast/2.0/complete returned error 'TimeoutError'
    [metno] Access to https://aa015h6buqvih86i1.api.met.no/weatherapi/locationforecast/2.0/complete returned error 'ClientConnectorDNSError'

Internal Services Failing (Localhost Issues):

  • Frigate (localhost access failing):
    [error] 190#190: *1 connect() failed (111: Connection refused) while connecting to upstream, client: 127.0.0.1, server: , request: "GET /api/version HTTP/1.1", subrequest: "/auth", upstream: "http://127.0.0.1:5001/auth", host: "127.0.0.1:5000"
    [error] 190#190: *1 auth request unexpected status: 502 while sending to client, client: 127.0.0.1, server: , request: "GET /api/version HTTP/1.1", host: "127.0.0.1:5000"

Troubleshooting Attempts So Far

  • Pinged Google’s DNS server (8.8.8.8) from the Ping integrationSuccessful (Internet is reachable)
  • Disabled almost all integrations, then started CloudFlare separatelyNo improvement
  • Restarted the entire Raspberry Pi 5No change

System Information

  • Core: 2025.1.4
  • Supervisor: 2024.12.3
  • Operating System: 14.2
  • Dashboard: 20250109.2

Would you have any suggestions on what else I could check or try to fix this issue?

Update: The issue is most likely caused by DNS. I found the following in the logs:

INFO (MainThread) [supervisor.plugins.dns] Starting CoreDNS plugin  
INFO (MainThread) [supervisor.docker.dns] Starting DNS ghcr.io/home-assistant/aarch64-hassio-dns with version 2024.12.0 - 172.30.32.3  
WARNING (MainThread) [supervisor.plugins.base] Watchdog found dns plugin failed, restarting...  
INFO (SyncWorker_6) [supervisor.docker.manager] Cleaning hassio_dns application  
INFO (MainThread) [supervisor.plugins.dns] Starting CoreDNS plugin  
...