Companion app - not receiving notifications

Good afternoon

Upfront I’ll say I’m very much a beginner here. I can fumble my way through things, but anything more complicated (like… say writing good requests for help) gets out of my hands pretty quickly.

I have a problem with getting my Android phones (both of which have Companion app installed) to receive notifications from the notify.mobile_app service. I have tested this within automations (that have worked in the past) and via developer tools.

This is the error message in the log:

Logger: homeassistant.components.mobile_app.notify
Source: components/mobile_app/notify.py:139
Integration: Mobile App ([documentation](https://www.home-assistant.io/integrations/mobile_app), [issues](https://github.com/home-assistant/home-assistant/issues?q=is%3Aissue+is%3Aopen+label%3A%22integration%3A+mobile_app%22))
First occurred: October 23, 2022 at 9:49:23 PM (13 occurrences)
Last logged: 2:27:26 PM

Error sending notification to https://mobile-apps.home-assistant.io/api/sendPush/android/v1: ClientConnectorError(ConnectionKey(host='mobile-apps.home-assistant.io', port=443, is_ssl=True, ssl=None, proxy=None, proxy_auth=None, proxy_headers_hash=-XXXX), gaierror(-2, 'Name does not resolve'). 

I’ve removed what looks like potentially sensitive information.

I’m having this problem across two mobile phones (one Pixel 7 Pro, one Galaxy S22). I have already tried the troubleshooting here: Troubleshooting | Home Assistant Companion Docs (including the "Starting fresh with the Android App steps). I’ve also manually deleted everything through the Home Assistant Integrations UI, and readded the Pixel 7 Pro with a new name.

I’ve tried Googling and searching already, but not had any luck. Can anyone give me a steer on what to try next?

Cheers

1 Like

I am having the exact same problem. The notifications worked fine for years. If I turn on the websocket notifications it works. So it seems to be related to google firebase. Do you have an ad-blocker in your network? Here PiHole seems to block some firebase domains (seems like it got added on some blocklist). If I disable PiHole it works fine.

force stop the app and open it again then check Settings > Companion App > Show and share logs and look for the firebase error to see teh cause.