ZmNinja recently stopped working

Discussion topics related to mobile applications for ZoneMinder
Post Reply
User avatar
MJN
Posts: 225
Joined: Wed Jan 17, 2007 10:29 am
Location: Wiltshire, UK
Contact:

ZmNinja recently stopped working

Post by MJN » Fri Jun 30, 2017 2:44 pm

Judging by ZmNinja's FAQ I fear this issue may quite rightly be met by the developer with thoughts of 'here we go again!' so I thought I'd post here to share what my situation is in case I am still missing something obvious despite the FAQ pointers.

ZmNinja has worked well for me for a long time however recently (some time in the last few weeks?) whilst I can connect to my server, displayer the list of events etc, I cannot view any video - I am instead greeted with the red-question-mark-in-a-camera image.

The FAQ suggests this is likely an API issue however I am seeing what I am taking to be a positive indication that these are okay from <server>/api/host/getVersion.json:

Code: Select all

{"version":"1.30.4","apiversion":"1.0"}
The FAQ also mentions following the distro's upgrade instructions correctly but I am using Isaac Connor's PPA (ZM version 1.30.4-xenial1 for Ubuntu 16.04) and the original installation was done along these instructions. Neither provides information regarding upgrading as far as I can tell.

Finally the FAQ makes reference to php5-apc however this (well, php-apc) is installed but I don't recall ever doing anything with/to it - do I need to?

Does anyone have any ideas what might be amiss?

rockedge
Posts: 517
Joined: Fri Apr 04, 2014 1:46 pm
Location: Connecticut,USA
Contact:

Re: ZmNinja recently stopped working

Post by rockedge » Sat Jul 01, 2017 3:10 am

I believe your problem with the API is that your Apache server needs to be configured so that the module php-apcu is enabled.
If you think the module is there and enabled then restart Apache and try zmNinja again. This could work for you.

User avatar
MJN
Posts: 225
Joined: Wed Jan 17, 2007 10:29 am
Location: Wiltshire, UK
Contact:

Re: ZmNinja recently stopped working

Post by MJN » Sat Jul 01, 2017 12:04 pm

Do you know how I can enable the php-apcu module?

I tried phpenmod apcu bu to no avail - this could well be the wrong way to do it though. I can also confirm I do have a /etc/php/7.0/apache2/conf.d/20-apcu.ini file (containing extension=apcu.so) which I think means the module would be loaded?

asker
Posts: 813
Joined: Sun Mar 01, 2015 12:12 pm

Re: ZmNinja recently stopped working

Post by asker » Sat Jul 01, 2017 2:02 pm

(I've moved your original post to the mobile app forum, as it had a response, and deleted the second one you posted)

You haven't provided any logs, so its hard to tell.

Questions:
1. Which zmNinja version & for which OS?

There could be several reasons:
1. As rockedge mentioned above, it might be a 1.30.4 upgrade issue, related to `php-ac` - I haven't upgraded to 1.30.4 yet, so can't help you with specifics, but folks in this forum can

2. If you are on Android and your Chrome recently got updated to Chrome 59 or more and you are using basic authentication, image view will break - Chrome added a bug and that broke this function - they are apparently going to fix this in the next release (this was recently discovered by a zmN user)

Logs:
1. Check zmNinja logs in the app when you are trying to access images
2. Check ZM and apache error logs at that time too - this often gives clues
--
My collection of ZoneMinder learnings:
https://wiki.zoneminder.com/Various_ZM_thoughts

User avatar
MJN
Posts: 225
Joined: Wed Jan 17, 2007 10:29 am
Location: Wiltshire, UK
Contact:

Re: ZmNinja recently stopped working

Post by MJN » Sat Jul 01, 2017 5:19 pm

Thanks for your input Asker, and of course cleaning up after me in the forum!

I am using zmNinja v1.2.41 on Android. My logs for the same time period - attempting a montage view on zmNinja - are as follows:

zmNinja log (with debug enabled):

Code: Select all

Jul 1, 2017 05:58 PM DEBUG MontageCtrl: onpause called
Jul 1, 2017 05:58 PM INFO Cancelling zmAutologin timer
Jul 1, 2017 05:58 PM INFO user exited app
Jul 1, 2017 05:58 PM INFO ROOT APP: Stopping network pull...
Jul 1, 2017 05:58 PM INFO ROOT APP:App is going into background
Jul 1, 2017 05:58 PM DEBUG Modal is closed, so toggling or exiting
Jul 1, 2017 05:58 PM DEBUG Modal is closed, so toggling or exiting
Jul 1, 2017 05:58 PM DEBUG doing the jiggle and dance...
Jul 1, 2017 05:58 PM DEBUG All images loaded
Jul 1, 2017 05:58 PM DEBUG ~~loaded image is loaded for file:///android_asset/www/img/novideo.png
Jul 1, 2017 05:58 PM DEBUG ~~loaded image is loaded for file:///android_asset/www/img/novideo.png
Jul 1, 2017 05:58 PM DEBUG ~~loaded image is loaded for file:///android_asset/www/img/novideo.png
Jul 1, 2017 05:58 PM DEBUG ~~loaded image is loaded for file:///android_asset/www/img/novideo.png
Jul 1, 2017 05:58 PM DEBUG ~~loaded image is loaded for file:///android_asset/www/img/novideo.png
Jul 1, 2017 05:58 PM DEBUG ~~loaded image is loaded for file:///android_asset/www/img/novideo.png
Jul 1, 2017 05:58 PM DEBUG ~~loaded image is loaded for file:///android_asset/www/img/novideo.png
Jul 1, 2017 05:58 PM DEBUG ~~loaded image is loaded for file:///android_asset/www/img/novideo.png
Jul 1, 2017 05:58 PM INFO Whoops!! Monitors have changed. I'm resetting layouts, sorry!
Jul 1, 2017 05:58 PM INFO Monitors that are active and not DOM hidden: 8 while grid has 7
Jul 1, 2017 05:58 PM INFO found a packery layout
Jul 1, 2017 05:58 PM INFO Stream authentication construction: &user=admin<password removed>
Jul 1, 2017 05:58 PM INFO DataModel: Found simple stream auth mode (user=)
Jul 1, 2017 05:58 PM INFO DataModel: Did not find a stream auth key, looking for user=
Jul 1, 2017 05:58 PM DEBUG DataModel: Getting auth from https://<server>/index.php?view=watch&mid=2&connkey=499579 with mid=2
Jul 1, 2017 05:58 PM INFO Inside Montage Ctrl:We found 9 monitors
Jul 1, 2017 05:58 PM DEBUG skipping image refresh, packery is still loading
Jul 1, 2017 05:58 PM DEBUG bandwidth: highbw montage refresh set to: 2
Jul 1, 2017 05:58 PM DEBUG Setting image mode to snapshot, will change to image when packery is all done
Jul 1, 2017 05:58 PM DEBUG DataModel: Setting MID:10 to show
Jul 1, 2017 05:58 PM DEBUG DataModel: Setting MID:9 to show
Jul 1, 2017 05:58 PM DEBUG DataModel: Setting MID:6 to show
Jul 1, 2017 05:58 PM DEBUG DataModel: Setting MID:5 to show
Jul 1, 2017 05:58 PM DEBUG DataModel: Setting MID:3 to show
Jul 1, 2017 05:58 PM DEBUG DataModel: Setting MID:1 to show
Jul 1, 2017 05:58 PM DEBUG DataModel: Setting MID:2 to show
Jul 1, 2017 05:58 PM DEBUG Loading hidden/unhidden status for profile:
Jul 1, 2017 05:58 PM DEBUG API 1.30.4: Monitor 12 will use fid for direct image access
Jul 1, 2017 05:58 PM DEBUG API 1.30.4: Monitor 10 will use fid for direct image access
Jul 1, 2017 05:58 PM DEBUG API 1.30.4: Monitor 9 will use fid for direct image access
Jul 1, 2017 05:58 PM DEBUG API 1.30.4: Monitor 6 will use fid for direct image access
Jul 1, 2017 05:58 PM DEBUG API 1.30.4: Monitor 4 will use fid for direct image access
Jul 1, 2017 05:58 PM DEBUG API 1.30.4: Monitor 5 will use fid for direct image access
Jul 1, 2017 05:58 PM DEBUG API 1.30.4: Monitor 3 will use fid for direct image access
Jul 1, 2017 05:58 PM DEBUG API 1.30.4: Monitor 1 will use fid for direct image access
Jul 1, 2017 05:58 PM DEBUG API 1.30.4: Monitor 2 will use fid for direct image access
Jul 1, 2017 05:58 PM INFO multi server list loaded{"servers":[]}
Jul 1, 2017 05:58 PM INFO Monitor load was successful, loaded 9 monitors
Jul 1, 2017 05:58 PM DEBUG Now trying to get multi-server data, if present
Jul 1, 2017 05:58 PM DEBUG DataModel: Setting MID:10 to show
Jul 1, 2017 05:58 PM DEBUG DataModel: Setting MID:9 to show
Jul 1, 2017 05:58 PM DEBUG DataModel: Setting MID:6 to show
Jul 1, 2017 05:58 PM DEBUG DataModel: Setting MID:5 to show
Jul 1, 2017 05:58 PM DEBUG DataModel: Setting MID:3 to show
Jul 1, 2017 05:58 PM DEBUG DataModel: Setting MID:1 to show
Jul 1, 2017 05:58 PM DEBUG DataModel: Setting MID:2 to show
Jul 1, 2017 05:58 PM DEBUG Loading hidden/unhidden status for profile:
Jul 1, 2017 05:58 PM DEBUG Timezone API response is:Europe/London
Jul 1, 2017 05:58 PM INFO ZM_EVENT_IMAGE_DIGITS is 3
Jul 1, 2017 05:58 PM INFO getMonitors:Loading all monitors
Jul 1, 2017 05:58 PM DEBUG Transitioning state to: montage with param undefined
Jul 1, 2017 05:58 PM DEBUG logging state transition
Jul 1, 2017 05:58 PM INFO No Event Server configured, skipping refresh
Jul 1, 2017 05:58 PM INFO First invocation of TimeZone, asking server
Jul 1, 2017 05:58 PM DEBUG Config URL for digits is:https://<server>/api/configs/viewByName/ZM_EVENT_IMAGE_DIGITS.json
Jul 1, 2017 05:58 PM INFO Got API version: 1.30.4
Jul 1, 2017 05:58 PM INFO ZM has recaptcha disabled - good
Jul 1, 2017 05:58 PM DEBUG getAPIversion called
Jul 1, 2017 05:58 PM DEBUG PortalLogin: auth success
Jul 1, 2017 05:58 PM INFO Stream authentication construction:
Jul 1, 2017 05:58 PM DEBUG Storing login time as Sat Jul 01 2017 17:58:29 GMT+0100
Jul 1, 2017 05:58 PM INFO Deferring auth key, as monitorId unknown
Jul 1, 2017 05:58 PM DEBUG auth-success emit:Successful
Jul 1, 2017 05:58 PM INFO zmAutologin successfully logged into Zoneminder
Jul 1, 2017 05:58 PM INFO Checking if reCaptcha is enabled in ZM...
Jul 1, 2017 05:58 PM INFO zmAutologin called
Jul 1, 2017 05:58 PM DEBUG Resetting zmCookie...
Jul 1, 2017 05:58 PM INFO Cancelling zmAutologin timer
Jul 1, 2017 05:58 PM DEBUG PIN code entered is correct, or there is no PIN set
Jul 1, 2017 05:58 PM DEBUG unlock called with check PIN=false
Jul 1, 2017 05:58 PM INFO not checking for touchID
Jul 1, 2017 05:58 PM INFO User credentials are provided
Jul 1, 2017 05:58 PM DEBUG Inside Portal login Enter handler
Jul 1, 2017 05:58 PM DEBUG current version: 1.2.41 & available version 1.2.41
Jul 1, 2017 05:58 PM DEBUG Not changing bandwidth state, as auto change is not on
Jul 1, 2017 05:58 PM DEBUG getBandwidth() normalized it as: highbw
Jul 1, 2017 05:58 PM DEBUG Detected network type as: wifi
Jul 1, 2017 05:58 PM INFO Entering Portal Main
Jul 1, 2017 05:58 PM DEBUG Latest post dated 2017-02-25 13:54:24 but you read 2017-02-25 13:54:24
Jul 1, 2017 05:58 PM INFO >>>>>>>>>>>>>>> All init over, going to portal login
Jul 1, 2017 05:58 PM INFO >>>> Disabling strict SSL checking (turn off in Dev Options if you can't connect)
Jul 1, 2017 05:58 PM INFO DataModel init recovered this loginData as {"serverName":"Rugrat","username":"admin",<password removed>,"url":"https://<server>","apiurl":"https://<server>/api","eventServer":"wss://<server>","maxMontage":"10","streamingurl":"https://<server>/cgi-bin","maxFPS":"3","montageQuality":100,"singleImageQuality":"100","useSSL":true,"keepAwake":true,"isUseAuth":true,"isUseEventServer":false,"disablePush":false,"eventServerMonitors":"2,1,3,5,4,6,9,10,11","eventServerInterval":"0,0,0,0,0,0,0,0,0","refreshSec":"2","enableDebug":true,"usePin":true,"pinCode":"3576","canSwipeMonitors":true,"persistMontageOrder":true,"onTapScreen":"Montage","enableh264":true,"gapless":true,"montageOrder":"","montageHiddenOrder":"","montageArraySize":"0","graphSize":200,"minAlarmCount":"1","montageSize":"3","useNphZms":true,"packMontage":false,"exitOnSleep":true,"forceNetworkStop":false,"defaultPushSound":false,"enableBlog":false,"useNphZmsForEvents":true,"packeryPositions":"[{\"attr\":\"2\",\"size\":\"50\",\"display\":\"show\",\"x\":0},{\"attr\":\"1\",\"size\":\"50\",\"display\":\"show\",\"x\":0.49987760416666666},{\"attr\":\"3\",\"size\":\"50\",\"display\":\"show\",\"x\":0},{\"attr\":\"5\",\"size\":\"50\",\"display\":\"show\",\"x\":0.49987760416666666},{\"attr\":\"6\",\"size\":\"50\",\"display\":\"show\",\"x\":0},{\"attr\":\"9\",\"size\":\"50\",\"display\":\"show\",\"x\":0.49987760416666666},{\"attr\":\"10\",\"size\":\"50\",\"display\":\"show\",\"x\":0}]","packerySizes":"","use24hr":true,"timelineModalGraphType":"all","montageHistoryQuality":"50","enableAlarmCount":false,"forceImageModePath":false,"reachability":true,"enableLogs":true,"packeryPositionsArray":{},"EHpackeryPositions":"","resumeDelay":0,"disableNative":false,"vibrateOnPush":true,"soundOnPush":true,"cycleMonitors":false,"cycleMonitorsInterval":10,"cycleMontage":false,"cycleMontageInterval":10,"enableLowBandwidth":false,"autoSwitchBandwidth":false,"refreshSecLowBW":8,"disableAlarmCheckMontage":false,"useLocalTimeZone":true,"fastLogin":true,"currentMontageProfile":"","followTimeLine":false,"timelineScale":27930,"showMontageSubMenu":false,"monSingleImageQuality":100,"hideArchived":false,"videoPlaybackSpeed":2,"enableGIFMP4":true,"enableSlowLoading":false,"enableStrictSSL":false}
Jul 1, 2017 05:58 PM INFO SlowDelay is: false
Jul 1, 2017 05:58 PM INFO Setting DataModel init bandwidth to: highbw
Jul 1, 2017 05:58 PM DEBUG timeline graph type not set. Setting to all
Jul 1, 2017 05:58 PM INFO user profile encrypted, decoding...
Jul 1, 2017 05:58 PM INFO Setting up pause and resume handler AFTER language is loaded...
Jul 1, 2017 05:58 PM INFO Setting up POST LOGIN timer
Jul 1, 2017 05:58 PM INFO Checking for news updates
Jul 1, 2017 05:58 PM INFO Checking for new version updates...
Jul 1, 2017 05:58 PM INFO No Event Server present. Not initializing
Jul 1, 2017 05:58 PM INFO ZMData init: checking for stored variables & setting up log file
Jul 1, 2017 05:58 PM INFO Language file loaded, continuing with rest
Jul 1, 2017 05:58 PM INFO >>>>Language to be used:en
Jul 1, 2017 05:58 PM INFO Device Language is:en
Jul 1, 2017 05:58 PM INFO Language stored as:en
Jul 1, 2017 05:58 PM INFO App Version: 1.2.41
Jul 1, 2017 05:58 PM INFO Retrieving language before init is called...
Jul 1, 2017 05:58 PM INFO Enabling native transitions...
2017-07-01T16:58:19.289Z INFO Updating statusbar
2017-07-01T16:58:19.282Z INFO >>>>No data to import....
2017-07-01T16:58:19.093Z INFO Reachable: No server name configured, likely first use?
2017-07-01T16:58:19.059Z DEBUG zmAutoLogin: Inside auth-error emit
2017-07-01T16:58:19.058Z INFO zmAutologin Error null and status 0
2017-07-01T16:58:19.051Z INFO ZM has recaptcha disabled - good
2017-07-01T16:58:18.882Z DEBUG text zoom factor is 1
2017-07-01T16:58:18.846Z INFO Checking if reCaptcha is enabled in ZM...
2017-07-01T16:58:18.838Z INFO zmAutologin called
2017-07-01T16:58:18.833Z DEBUG Resetting zmCookie...
2017-07-01T16:58:18.820Z INFO Your network is online, re-authenticating
2017-07-01T16:58:18.746Z INFO localforage driver for storage:asyncStorage
2017-07-01T16:58:18.066Z INFO You are running on android
zm.log:

Code: Select all

Jul  1 16:17:58 rugrat zmc_m1[6675]: INF [Conservatory: 37000 - Capturing at 3.75 fps]
Jul  1 17:58:21 rugrat zmc_m4[28961]: INF [Starting Capture version 1.30.4]
Jul  1 17:58:22 rugrat zmc_m2[6688]: INF [Lounge: 98000 - Capturing at 6.02 fps]
Jul  1 17:58:22 rugrat zma_m2[6694]: INF [Lounge: 98000 - Analysing at 6.06 fps]
Jul  1 17:58:23 rugrat zmc_m9[6766]: INF [CatBowls: 168000 - Capturing at 7.87 fps]
Jul  1 17:58:23 rugrat zma_m9[6774]: INF [CatBowls: 168000 - Analysing at 7.94 fps]
Jul  1 17:58:37 rugrat web_php[28729]: INF [Login successful for user "admin"]
Jul  1 17:58:38 rugrat zma_m9[6774]: INF [CatBowls: 168138 - Gone into alarm state]
Jul  1 17:58:38 rugrat zma_m9[6774]: INF [CatBowls: 168138 - Opening new event 1733638, alarm start]
Jul  1 17:58:40 rugrat zma_m9[6774]: INF [CatBowls: 168154 - Gone into alert state]
Jul  1 17:58:41 rugrat zma_m9[6774]: INF [CatBowls: 168155 - Gone back into alarm state]
Jul  1 17:58:41 rugrat zma_m9[6774]: INF [CatBowls: 168156 - Gone into alert state]
Jul  1 17:58:42 rugrat zma_m9[6774]: INF [CatBowls: 168166 - Gone back into alarm state]
Jul  1 17:58:43 rugrat zma_m9[6774]: INF [CatBowls: 168168 - Gone into alert state]
Jul  1 17:58:43 rugrat zma_m9[6774]: INF [CatBowls: 168170 - Gone back into alarm state]
Jul  1 17:58:44 rugrat zmu[29006]: INF [Authenticated user 'admin']
Jul  1 17:58:44 rugrat zmu[29008]: INF [Authenticated user 'admin']
Jul  1 17:58:44 rugrat zmu[29010]: INF [Authenticated user 'admin']
Jul  1 17:58:44 rugrat zmu[29012]: INF [Authenticated user 'admin']
Jul  1 17:58:44 rugrat zmu[29014]: INF [Authenticated user 'admin']
Jul  1 17:58:44 rugrat zmu[29016]: INF [Authenticated user 'admin']
Jul  1 17:58:47 rugrat zma_m9[6774]: INF [CatBowls: 168204 - Gone into alert state]

Apache access log:

Code: Select all

<clientip> - - [01/Jul/2017:17:58:37 +0100] "GET /zm HTTP/1.1" 401 470
<clientip> - - [01/Jul/2017:17:58:37 +0100] "POST /zm/index.php HTTP/1.1" 401 470
<clientip> - admin [01/Jul/2017:17:58:37 +0100] "GET /zm HTTP/1.1" 301 331
<clientip> - admin [01/Jul/2017:17:58:37 +0100] "POST /zm/index.php HTTP/1.1" 200 3643
<clientip> - admin [01/Jul/2017:17:58:37 +0100] "GET /zm/ HTTP/1.1" 200 3643
<clientip> - - [01/Jul/2017:17:58:38 +0100] "GET /zm/api/host/getVersion.json HTTP/1.1" 401 470
<clientip> - admin [01/Jul/2017:17:58:38 +0100] "GET /zm/api/host/getVersion.json HTTP/1.1" 200 40
<clientip> - - [01/Jul/2017:17:58:38 +0100] "GET /zm/api/configs/viewByName/ZM_EVENT_IMAGE_DIGITS.json HTTP/1.1" 401 470
<clientip> - - [01/Jul/2017:17:58:38 +0100] "GET /zm/api/host/getTimeZone.json HTTP/1.1" 401 470
<clientip> - admin [01/Jul/2017:17:58:38 +0100] "GET /zm/api/configs/viewByName/ZM_EVENT_IMAGE_DIGITS.json HTTP/1.1" 200 24
<clientip> - - [01/Jul/2017:17:58:38 +0100] "GET /zm/api/monitors.json HTTP/1.1" 401 470
<clientip> - admin [01/Jul/2017:17:58:38 +0100] "GET /zm/api/host/getTimeZone.json HTTP/1.1" 200 24
<clientip> - admin [01/Jul/2017:17:58:38 +0100] "GET /zm/api/monitors.json HTTP/1.1" 200 12384
<clientip> - - [01/Jul/2017:17:58:38 +0100] "GET /zm/api/servers.json HTTP/1.1" 401 470
<clientip> - admin [01/Jul/2017:17:58:38 +0100] "GET /zm/api/servers.json HTTP/1.1" 200 14
<clientip> - - [01/Jul/2017:17:58:39 +0100] "GET /zm/index.php?view=watch&mid=2&connkey=499579 HTTP/1.1" 401 470
<clientip> - admin [01/Jul/2017:17:58:39 +0100] "GET /zm/index.php?view=watch&mid=2&connkey=499579 HTTP/1.1" 200 2260
<clientip> - - [01/Jul/2017:17:58:44 +0100] "GET /zm/api/monitors/alarm/id:2/command:status.json HTTP/1.1" 401 470
<clientip> - - [01/Jul/2017:17:58:44 +0100] "GET /zm/api/monitors/alarm/id:1/command:status.json HTTP/1.1" 401 470
<clientip> - - [01/Jul/2017:17:58:44 +0100] "GET /zm/api/monitors/alarm/id:3/command:status.json HTTP/1.1" 401 470
<clientip> - - [01/Jul/2017:17:58:44 +0100] "GET /zm/api/monitors/alarm/id:5/command:status.json HTTP/1.1" 401 470
<clientip> - admin [01/Jul/2017:17:58:44 +0100] "GET /zm/api/monitors/alarm/id:2/command:status.json HTTP/1.1" 200 14
<clientip> - - [01/Jul/2017:17:58:44 +0100] "GET /zm/api/monitors/alarm/id:9/command:status.json HTTP/1.1" 401 470
<clientip> - - [01/Jul/2017:17:58:44 +0100] "GET /zm/api/monitors/alarm/id:6/command:status.json HTTP/1.1" 401 470
<clientip> - admin [01/Jul/2017:17:58:44 +0100] "GET /zm/api/monitors/alarm/id:3/command:status.json HTTP/1.1" 200 14
<clientip> - admin [01/Jul/2017:17:58:44 +0100] "GET /zm/api/monitors/alarm/id:1/command:status.json HTTP/1.1" 200 14
<clientip> - admin [01/Jul/2017:17:58:44 +0100] "GET /zm/api/monitors/alarm/id:5/command:status.json HTTP/1.1" 200 14
<clientip> - admin [01/Jul/2017:17:58:44 +0100] "GET /zm/api/monitors/alarm/id:6/command:status.json HTTP/1.1" 200 14
<clientip> - admin [01/Jul/2017:17:58:44 +0100] "GET /zm/api/monitors/alarm/id:9/command:status.json HTTP/1.1" 200 14
Apache error log:

Code: Select all

[Sat Jul 01 17:58:37.951288 2017] [:error] [pid 28729] [client <clientip>:59102] INF [Login successful for user "admin"]
Does anything jump out as being amiss?

You mention Android and Chrome 59 - it looks like I am using v59 however it only updated yesterday. This is after the issues I've been seeing however, that said, it is actually v59.0.3071.125 that I am currently on so I suppose I may well have had an older version of v59 for some weeks prior?

With regards to authentication type I am using 'remote' and relay method 'none' (I am using HTTP basic authentication in Apache).

User avatar
MJN
Posts: 225
Joined: Wed Jan 17, 2007 10:29 am
Location: Wiltshire, UK
Contact:

Re: ZmNinja recently stopped working

Post by MJN » Sat Jul 01, 2017 5:25 pm

P.S. I have just worked out that you are the author of zmNinja so let me take this opportunity to thank you for such a great app (and to apologise for breaking it!).

asker
Posts: 813
Joined: Sun Mar 01, 2015 12:12 pm

Re: ZmNinja recently stopped working

Post by asker » Sat Jul 01, 2017 5:28 pm

Your logs look normal.
You mention Android and Chrome 59 - it looks like I am using v59 however it only updated yesterday. This is after the issues I've been seeing however, that said, it is actually v59.0.3071.125 that I am currently on so I suppose I may well have had an older version of v59 for some weeks prior?

With regards to authentication type I am using 'remote' and relay method 'none' (I am using HTTP basic authentication in Apache).
I think that's the problem. The person who discovered this problem pointed to this bug in Chrome (that will apparently be fixed in v61). If you have to use basic auth, I don't think there is an option but to downgrade. Alternately, if you can do without basic auth, that is another option. Finally, if neither is an option, the only other solution I have is to give you access to a 'crosswalk build' that essentially bundles its own browser in the app, so you should not be affected (but then you won't be able to update/upgrade via play store)
P.S. I have just worked out that you are the author of zmNinja so let me take this opportunity to thank you for such a great app (and to apologise for breaking it!).
My pleasure - glad you like the app - and you didn't break it - Chrome updates did :)
--
My collection of ZoneMinder learnings:
https://wiki.zoneminder.com/Various_ZM_thoughts

User avatar
MJN
Posts: 225
Joined: Wed Jan 17, 2007 10:29 am
Location: Wiltshire, UK
Contact:

Re: ZmNinja recently stopped working

Post by MJN » Sat Jul 01, 2017 10:32 pm

Thank you Asker. The opportunity to try the 'crosswalk' build if that's okay as, assuming it confirms the Chrome bug as being the cause, it would at least tide me over until it is fixed in 61. I note the lack of updates via Play in the meantime but I can happily live with that.

asker
Posts: 813
Joined: Sun Mar 01, 2015 12:12 pm

Re: ZmNinja recently stopped working

Post by asker » Sun Jul 02, 2017 3:24 am

Okay, please send me an email - pliablepixels/gmail and I'll send you a link
--
My collection of ZoneMinder learnings:
https://wiki.zoneminder.com/Various_ZM_thoughts

User avatar
MJN
Posts: 225
Joined: Wed Jan 17, 2007 10:29 am
Location: Wiltshire, UK
Contact:

Re: ZmNinja recently stopped working

Post by MJN » Sun Jul 02, 2017 6:08 pm

For the benefit of the forum, I rolled back Android System Webview to the as-supplied version on the my phone (Nexus 4) and zmNinja works again. As Asker suggested it is therefore indeed an issue with Chrome v59.

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests