zmNinja - Android push notifications not working

Discussion topics related to mobile applications for ZoneMinder
ultimategrandson
Posts: 4
Joined: Thu Feb 13, 2020 11:13 am

Re: zmNinja - Android push notifications not working

Post by ultimategrandson » Mon Feb 24, 2020 10:49 pm

Attached is the full zmNinjaLog.

I can see the "Initializing FCM push" but nothing after that...

Code: Select all

Feb 25, 2020 09:13:26 AM DEBUG CACHE: cached value for key:cached_api_version is good as 94 <86400
Feb 25, 2020 09:13:26 AM DEBUG snapshot  supported in image.php
Feb 25, 2020 09:13:26 AM DEBUG obfuscate: original:8955 obfuscated:2351 scheme:lzs
Feb 25, 2020 09:13:26 AM DEBUG Setting server version to:1.34.3
Feb 25, 2020 09:13:26 AM DEBUG getAPI version succeeded with 1.34.3
Feb 25, 2020 09:13:26 AM INFO Got API version: 1.34.3
Feb 25, 2020 09:13:26 AM INFO First invocation of TimeZone, asking server
Feb 25, 2020 09:13:26 AM DEBUG returning promise
Feb 25, 2020 09:13:26 AM INFO EventSever: Initializing Websocket with URL ws://spy.lan:9000
Feb 25, 2020 09:13:26 AM DEBUG EventSever: Using native websockets...
Feb 25, 2020 09:13:26 AM DEBUG Transitioning state to: app.log with param {}
Feb 25, 2020 09:13:26 AM DEBUG EventSever: WebSocket open called with:{"webSocketId":"f9e11d89-7776-4c89-a9a6-5f4b2f9bda1a","code":101}
Feb 25, 2020 09:13:26 AM INFO EventSever: openHandshake: Websocket open, sending Auth
Feb 25, 2020 09:13:26 AM DEBUG EventSever: sendMessage: received->{"event":"auth","data":{"user":"douglas",<password removed>,"monlist":"1,2,3,4","intlist":"0,0,0,0"}}
Feb 25, 2020 09:13:26 AM DEBUG EventServer: ok to send message
Feb 25, 2020 09:13:26 AM DEBUG EventSever: Initializing FCM push
Feb 25, 2020 09:13:26 AM INFO EventSever: Setting up push registration
Attachments
zmNinjaLog.txt
(6.88 KiB) Downloaded 69 times

gravyflex
Posts: 4
Joined: Sun Jan 12, 2020 7:45 pm

Re: zmNinja - Android push notifications not working

Post by gravyflex » Tue Feb 25, 2020 1:15 am

I'm having the exact same issue as well.

I thought I was going crazy :mrgreen: . I've been troubleshooting this for two days.

Code: Select all

Feb 24, 2020 07:18:53 PM DEBUG obfuscate: original:5826 obfuscated:1651 scheme:lzs
Feb 24, 2020 07:18:53 PM DEBUG Setting server version to:1.34.2
Feb 24, 2020 07:18:53 PM DEBUG getAPI version succeeded with 1.34.2
Feb 24, 2020 07:18:53 PM INFO Got API version: 1.34.2
Feb 24, 2020 07:18:53 PM INFO First invocation of TimeZone, asking server
Feb 24, 2020 07:18:53 PM DEBUG returning promise
Feb 24, 2020 07:18:53 PM INFO EventSever: Initializing Websocket with URL wss://mylan:9000
Feb 24, 2020 07:18:53 PM DEBUG EventSever: Using native websockets...
Feb 24, 2020 07:18:53 PM DEBUG Transitioning state to: app.log with param {}
Feb 24, 2020 07:18:53 PM DEBUG EventSever: WebSocket open called with:{"webSocketId":"65b89fae-15d7-4652-a5b5-d8cec24b1656","code":101}
Feb 24, 2020 07:18:53 PM INFO EventSever: openHandshake: Websocket open, sending Auth
Feb 24, 2020 07:18:53 PM DEBUG EventSever: sendMessage: received->{"event":"auth","data":{"user":"sgreaves",<password removed>,"monlist":"1,2,3","intlist":"0,0,0"}}
Feb 24, 2020 07:18:53 PM DEBUG EventServer: ok to send message
Feb 24, 2020 07:18:53 PM DEBUG EventSever: Initializing FCM push
Feb 24, 2020 07:18:53 PM INFO EventSever: Setting up push registration
Feb 24, 2020 07:18:53 PM DEBUG Real value of PRIVACY is:0
Attachments
es.txt
(84.39 KiB) Downloaded 84 times
zmNinjaLog.txt
(11.02 KiB) Downloaded 61 times
Last edited by gravyflex on Tue Feb 25, 2020 1:35 am, edited 2 times in total.

User avatar
asker
Posts: 1300
Joined: Sun Mar 01, 2015 12:12 pm

Re: zmNinja - Android push notifications not working

Post by asker » Tue Feb 25, 2020 1:27 am

In both logs I am not seeing any response back from the ES. Please don’t truncate logs if there is more later
Plus I need to see ES DEBUG logs for the same time.

Finally try with 1.3.089
--
My collection of ZoneMinder learnings:
https://wiki.zoneminder.com/Various_ZM_thoughts

gravyflex
Posts: 4
Joined: Sun Jan 12, 2020 7:45 pm

Re: zmNinja - Android push notifications not working

Post by gravyflex » Tue Feb 25, 2020 1:32 am

asker wrote:
Tue Feb 25, 2020 1:27 am
In both logs I am not seeing any response back from the ES. Please don’t truncate logs if there is more later
Plus I need to see ES DEBUG logs for the same time.

Finally try with 1.3.089
I've attached the entire log to my initial post. It took me a min to figure out how to attach the logs.

Is there a link to the 1.3.089 apk some where? It i not available in the Google Play store as yet in my neck of the woods.

gravyflex
Posts: 4
Joined: Sun Jan 12, 2020 7:45 pm

Re: zmNinja - Android push notifications not working

Post by gravyflex » Tue Feb 25, 2020 1:49 am

After installing 1.3.089 I am now seeing an entry in the token.txt file. :D

ultimategrandson
Posts: 4
Joined: Thu Feb 13, 2020 11:13 am

Re: zmNinja - Android push notifications not working

Post by ultimategrandson » Tue Feb 25, 2020 2:56 am

Yep that latest version fixed it. :)

warcanoid
Posts: 20
Joined: Mon Feb 17, 2020 3:22 pm

Re: zmNinja - Android push notifications not working

Post by warcanoid » Tue Feb 25, 2020 6:53 am

asker wrote:
Tue Feb 25, 2020 1:27 am
In both logs I am not seeing any response back from the ES. Please don’t truncate logs if there is more later
Plus I need to see ES DEBUG logs for the same time.

Finally try with 1.3.089
THANK YOU! After app update, all working!

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests