Image push notification not always working on Android.

Post Reply
Kev1979
Posts: 1
Joined: Fri Oct 09, 2020 10:22 pm

Image push notification not always working on Android.

Post by Kev1979 »

I have serous issues with Android and image push notifications on newer versions of 5. I have rolled back to version 5.2.6.5 and it fixed the issue. I get images 100% of the time where as before was maybe 20%. I have tried regular HTTP, HTTPS port forwarding, Stunnel and NGROK. All with the same result. Here is how the problem presents itself. On a fresh reboot of the BI server and the phone app has not been opened and connected yet, I trigger a camera that has a Rich push notification enabled. When I get the alert on my phone It may or may not work 50/50. I then open the app on the phone. It connects. I then go to BI logs on the PC and I can see my phone has logged in. I manually trigger the camera again an it will fire off an alert. This time with an image around 98%- 100% of the time. Now if I put the phone down and not touch then look at the BI logs on the computer, I will see the App user log off after 1 to 3 min. Now If I re-trigger a camera again I get the alert with no image. That will stay like that until I open the app again, then it goes back to what I said last. Now I did just install NGROX an I was watching the logs on that operation. I see a definite issue. When the push notification do not push through with an image it will state "302 Redirection". When it does not say 302 redirection the image will always push through no problem when performing the actions above.

The questions I have are. Does anyone else with Android have this issue and can reproduce it in the same way? Also is there anyone else here that can push this testing further to correct the issue? I am running pfsense for a router. I have played with all the NAT reflection and DNS resolvers and all that fun stuff. Nothing works. With NGROK I think it bypasses the router in regard to handing that stuff anyway.

I have Emailed support about this issue.
Bachperson
Posts: 1
Joined: Fri Sep 06, 2024 2:45 am

Re: Image push notification not always working on Android.

Post by Bachperson »

I'm having the same issue on android as well. I have found that it is when I'm using a reverse proxy. So the app auto configures the lan to connect to the BI server via its lan ip and port. so when connected to the same network as the server it has no problem with notifications. However, when remotely connected via a sub domain (blueiris.example.com) utilizing the reverse proxy (Nginx Proxy Manger in my case) all notifications are missing the pictures as you've described, regardless of using ssl or not. Everything else works with no issues UI3, the App etc. I have tried so many various configurations of custom settings and locations in nginx its crazy.
User avatar
Sardon
Posts: 135
Joined: Sun Nov 19, 2023 10:50 am

Re: Image push notification not always working on Android.

Post by Sardon »

Hi everyone,

I’ve also been having major issues with Android notifications, and I wanted to see if others are facing the same.

Here’s a summary of what’s happened:

- On version 5.9.7.2, I was getting notifications but no thumbnail images were coming through and the alerts appeared to be delayed.
- I reached out to Ken, and he mentioned that the issue with thumbnails should be fixed in version 5.9.7.3, as long as the Google FCM service can reach the WAN address.
- After updating to 5.9.7.3, I’m now not getting any notifications at all. Nothing is coming through.

I’ve contacted Ken again this morning for further assistance but haven’t got a solution yet. Has anyone else experienced this or managed to fix it? If the Google FCM service is a factor, is there something specific I need to check or configure as I literally have no idea?

Any help or suggestions would be much appreciated.

Thanks,
SN
Post Reply