question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Error: Device Not Connected to Local Push Notifications (after no issues for long time)

See original GitHub issue

Home Assistant Android version: 2022.11.0-full

Android version: 10

Phone model: OnePlus 7T

Home Assistant version: 2022.11.5

Last working Home Assistant release (if known): Issue didn’t happen after update of any kind

Description of problem: Getting error: device not connected to local push notifications. Just started happening 2 days ago, never had seen it before, no updates done on anything related at all or any settings changes. I have researched and tried different things which sometimes temporarily have gotten things going, still narrowing things down, but it seems to be issue with Google Firebase notifications when I am not connected through WebSocket, but after I turned off WiFi but still had direct connection, I still received the error, so it doesn’t necessarily seem to only be issue with Google Firebase, but at least mostly. I did grab the log. I did notice some FIrebase stuff in my adblocker, but even thought for a moment like it may have had something to do with it, it has happened afterwards, then I realized it happened when not using it anyways.

**Home Assistant Android version:** 2022.11.0-full

**Android version:** 10

**Phone model:** OnePlus 7T

**Home Assistant version:** 2022.11.5

**Last working Home Assistant release (if known):** Issue didn't happen after update of any kind

**Description of problem:** Getting error: device not connected to local push notifications. Just started happening 2 days ago, never had seen it before, no updates done on anything related at all or any settings changes. I have researched and tried different things which sometimes temporarily have gotten things going, still narrowing things down, but it seems to be issue with Google Firebase notifications when I am not connected through WebSocket, but after I turned off WiFi but still had direct connection, I still received the error, so it doesn't necessarily seem to only be issue with Google Firebase, but at least mostly. I did grab the log.


Issue Analytics

  • State:closed
  • Created 10 months ago
  • Comments:8 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
Iceman248commented, Dec 5, 2022

Thanks. It’s inability to connect had me think a bit harder and I realized that I didn’t whitelist the cloud DNS filter I’m using, only the local one I have. There was a list that was updated recently that blocked the firebase at both and once I unblocked it at the cloud level, things are working again. signal-2022-12-04-22-18-24-533

0reactions
dshokouhicommented, Dec 5, 2022
12-05 11:25:45.608 27608 27638 E FirebaseMessaging: Failed to get FIS auth token
12-05 11:25:45.608 27608 27638 E FirebaseMessaging: java.util.concurrent.ExecutionException: com.google.firebase.installations.FirebaseInstallationsException: Firebase Installations Service is unavailable. Please try again later.

This would explain some things, the app is unable to even connect to firebase to get an authorization token so it can use it as a fallback.

At this point lets also look at the debug logs from home assistant mobile app integration.

Please extend the logger integration and enable debug logging with homeassistant.components.mobile_app: debug then force stop and open the app again so we can see what registration data is being sent over.

Looking back through the history, it does have my home Internet’s Public IP in there sporadically. As often as I am connected to home WiFi, seems like it should be there more often, but recently it seems to only be my cellular Public IP.

what about VPN or proxy that could be blocking the call?

Read more comments on GitHub >

github_iconTop Results From Across the Web

"device not connected to local push notifications"
Hi, I had this problem yesterday and couldn't find a reason for this since the device was connected. I closed the companion app...
Read more >
Device not connected to local push notifications - Reddit
One answer to this would be to always notify the individual phones and not use notify.notify. That works fine, but it's of course...
Read more >
Android Notifications Not Showing Up? 10 Fixes You Can Try
Not seeing notifications show up on your Android phone? Try these fixes to get Android notifications working again.
Read more >
Push notifications stopped being d… | Apple Developer Forums
Push notifications stopped being delivered to some devices · 1) Checked logs. - payloads are pushed without errors · 2) Developer portal ->...
Read more >
Notifications Not Shown - Mobile Push
If your device is turned off, in airplane mode, has unstable or no internet connection, the push will not show until a proper...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found