I am running HA 2026.8.3 on Raspberry Pi 5 using Docker with network_mode : host, my phone is SamsungS25+ running latest HA companion app. My router is Ubiquiti Edgerouter 6p and it has been configured to use Google DNS on router level many years ago. Now, on HA automation, I noticed that the notification was missed randomly when I am not home using 5G/LTE. There was error in the log “Error sending notification to SamsungS25” with no other details. This meant HA wasn’t able to reach my phone yet. So I went deeper and enabled debug mode and found that “aiohttp” lib:
\File "/usr/local/lib/python3.14/site-packages/aiohttp/connector.py", line 1577, in _create_direct_connection
raise ClientConnectorDNSError(req.connection_key, exc) from exc
aiohttp.client_exceptions.ClientConnectorDNSError: Cannot connect to host mobile-apps.home-assistant.io:443 ssl:default \[Timeout while contacting DNS servers\]
2026-09-12 13:02:51.473 ERROR (MainThread) \[homeassistant.components.mobile_app.notify] Error sending notification to SamsungS25
This only happens randomly, sometimes notification worked. Then found that this timeout looks like it has something to do with IPV6. My router has never configured to use IPV6 and Raspberry Pi has IPV6 enabled by default. When HA does the DNS lookup to send message via FCM, DNS servers returns both IPV6 and IPV4 and I guess the code uses IPV6 over IPV4 and failed.
It seems like if I disable IPV6 on Pi5 (network adapter level), the problem went away:
sudo nmcli connection modify “Wired connection 1” ipv6.method “disabled”
The other workaround is to use persistent connection on the companion app (using Cloudflare Tunnel with mTLS) so it forces HA to use web socket for notification.
If my theory is correct, why HA not falls back to IPV4 when IPV6 fails and try again? Missed notification is pretty horrible. Anyone experienced the same issue?