When using the new feature Fast Switching, I am having issues seeing cameras on switched to server. Exactly what I'm doing:
1) I open zmNinja. It loads my Home ZM camera feeds as this was the last server I was connected to.
2) I touch hamburger menu > People icon.
3) Select my Office ZM camera feed.
4) I can see that all of the home camera feeds shut down behind the dialog box. The dialog is still on my screen with Office Cams selected. I have to hit Ok a second time to get it to go away.
5) I am now back at the Montage screen. I see boxes representing the names of my Home Cameras. They are all "blank".
6) I have to Exit zmNinja and reopen the app to have it login to the Office Cams and load the images in the montage view.
If I switch between servers using the Settings > Select Other Server > Save option, the app works great. I see a few notifications pop up saying that it has authenticated and loaded monitors. The only negative with this approach is the extra touches and the Login Validated: Please explore zmNinja.
In fact, IMO the 'please explore zmNinja' dialog should only come up the first time the app is ever executed on the device.
I am just guessing, but it appears that zmNinja is still trying to communicate with my Home
Cam server versus actually starting a dialog with the Office Cam server. I was able to ssh into both systems and tail the logs. Nothing was added to the Office Cam log until zmNinja was restarted.
I will update this post in a few hours with details on what occurs on an iPhone when I am at my client's office and can test his device.
Thanks for adding the fast user switching option. This is going to make him VERY happy.
ZM Home Server Logs
Nov 29 10:26:15 zm-server zms[26025]: ERR [Unable to authenticate user]
Nov 29 10:26:15 zm-server zms[26029]: ERR [Unable to authenticate user]
Nov 29 10:26:15 zm-server zms[26028]: ERR [Unable to authenticate user]
This shows up repeatedly continuously after hitting the ok button to switch to the Office Cams server until I exit the app.
Debug Logs
Nov 29, 2018 09:55:57 AM INFO Device is ready
Nov 29, 2018 09:55:57 AM INFO You are running on android
Nov 29, 2018 09:55:57 AM DEBUG Inside configureStorageDB
Nov 29, 2018 09:55:57 AM DEBUG configureStorageDB: trying order:["asyncStorage","localStorageWrapper"]
Nov 29, 2018 09:55:57 AM INFO configureStorageDB:localforage driver for storage:asyncStorage
Nov 29, 2018 09:55:57 AM DEBUG configureStorageDB:Making sure this storage driver works...
Nov 29, 2018 09:55:57 AM DEBUG text zoom factor is 1
Nov 29, 2018 09:55:57 AM DEBUG configureStorageDB:test get/set worked, this driver is ok...
Nov 29, 2018 09:55:57 AM INFO localforage driver:asyncStorage
Nov 29, 2018 09:55:57 AM INFO CloudSync: Syncing with cloud if enabled...
Nov 29, 2018 09:55:57 AM INFO user profile encrypted, decoding...
Nov 29, 2018 09:55:57 AM INFO Found valid local configuration, overwriting cloud settings...
Nov 29, 2018 09:55:57 AM INFO Deleting old log file as it exceeds 100000 bytes
Nov 29, 2018 09:55:57 AM INFO local data synced with cloud...
Nov 29, 2018 09:55:57 AM INFO Cloudsync operation complete, continuing...
Nov 29, 2018 09:55:57 AM INFO >>>>No data to import....
Nov 29, 2018 09:55:57 AM INFO Updating statusbar
Nov 29, 2018 09:55:57 AM INFO Retrieving language before init is called...
Nov 29, 2018 09:55:57 AM INFO No language set, switching to en
Nov 29, 2018 09:55:57 AM INFO App Version: 1.3.032
Nov 29, 2018 09:55:57 AM INFO Device Language is:en
Nov 29, 2018 09:55:57 AM INFO >>>>Language to be used:en
Nov 29, 2018 09:55:57 AM DEBUG isFirstUse returned: false
Nov 29, 2018 09:55:57 AM INFO Language file loaded, continuing with rest
Nov 29, 2018 09:55:57 AM INFO ZMData init: checking for stored variables & setting up log file
Nov 29, 2018 09:55:57 AM INFO Checking for new version updates...
Nov 29, 2018 09:55:57 AM INFO Checking for news updates
Nov 29, 2018 09:55:57 AM INFO Setting up POST LOGIN timer
Nov 29, 2018 09:55:57 AM INFO Setting up pause and resume handler AFTER language is loaded...
Nov 29, 2018 09:55:57 AM DEBUG Android detected, using cordova-multiwindow plugin for onStop/onStart instead
Nov 29, 2018 09:55:57 AM INFO user profile encrypted, decoding...
Nov 29, 2018 09:55:57 AM DEBUG timeline graph type not set. Setting to all
Nov 29, 2018 09:55:57 AM INFO Setting DataModel init bandwidth to: highbw
Nov 29, 2018 09:55:57 AM INFO DataModel init retrieved store loginData
Nov 29, 2018 09:55:57 AM INFO >>>> Disabling strict SSL checking (turn off in Dev Options if you can't connect)
Nov 29, 2018 09:55:57 AM INFO >>> Android: enabling inline image view for self signed certs
Nov 29, 2018 09:55:57 AM INFO Inside init-complete in app.js: All init over, going to portal login
Nov 29, 2018 09:55:57 AM DEBUG --> SSL is permissive, will allow any certs. Use at your own risk.
Nov 29, 2018 09:55:57 AM INFO Entering Portal Main
Nov 29, 2018 09:55:58 AM DEBUG Latest post dated 2018-10-11 09:32:22 but you read 2018-10-11 09:32:22
Nov 29, 2018 09:55:58 AM DEBUG current version: 1.3.032 & available version 1.3.032
Nov 29, 2018 09:55:58 AM DEBUG Inside Portal login Enter handler
Nov 29, 2018 09:55:58 AM INFO User credentials are provided
Nov 29, 2018 09:55:58 AM INFO not checking for touchID
Nov 29, 2018 09:55:58 AM DEBUG unlock called with check PIN=true
Nov 29, 2018 09:55:58 AM DEBUG PIN code entered is correct, or there is no PIN set
Nov 29, 2018 09:55:58 AM INFO Cancelling zmAutologin timer
Nov 29, 2018 09:55:58 AM DEBUG Clearing cookies
Nov 29, 2018 09:55:58 AM INFO http://cpbhome.choicepluscrm.com/zm=>Logging out of any existing ZM sessions...
Nov 29, 2018 09:55:58 AM DEBUG Logging out using Web method
Nov 29, 2018 09:55:58 AM DEBUG Resetting zmCookie...
Nov 29, 2018 09:55:58 AM INFO zmAutologin called
Nov 29, 2018 09:55:58 AM DEBUG *** Inside native HTTP error: {"status":401,"url":"http://cpbhome.choicepluscrm.com/zm/api/host/login.json","headers":{"okhttp-response-source":"NETWORK 401","content-type":"application/json; charset=UTF-8","server":"Apache/2.4.18 (Ubuntu)","date":"Thu, 29 Nov 2018 15:55:58 GMT","keep-alive":"timeout=5, max=99","content-length":"198","okhttp-selected-protocol":"http/1.1","connection":"Keep-Alive"},"error":"\n{\"success\":false,\"data\":{\"name\":\"User not found\",\"message\":\"User not found\",\"url\":\"\\/zm\\/api\\/host\\/login.json\",\"exception\":{\"class\":\"UnauthorizedException\",\"code\":401,\"message\":\"User not found\"}}}"}
Nov 29, 2018 09:55:58 AM DEBUG Logging in using old web-scrape method
Nov 29, 2018 09:55:58 AM INFO Checking if reCaptcha is enabled in ZM...
Nov 29, 2018 09:55:58 AM INFO ZM has recaptcha disabled - good
Nov 29, 2018 09:55:59 AM INFO zmAutologin successfully logged into Zoneminder
Nov 29, 2018 09:55:59 AM INFO Deferring auth key, as monitorId unknown
Nov 29, 2018 09:55:59 AM INFO Stream authentication construction: undefined
Nov 29, 2018 09:55:59 AM DEBUG auth-success broadcast:Successful
Nov 29, 2018 09:55:59 AM DEBUG PortalLogin: auth success
Nov 29, 2018 09:55:59 AM DEBUG getAPIversion called with http://cpbhome.choicepluscrm.com/zm/api/host/getVersion.json
Nov 29, 2018 09:55:59 AM DEBUG snapshot NOT supported in image.php
Nov 29, 2018 09:55:59 AM DEBUG Setting server version to:1.30.4
Nov 29, 2018 09:55:59 AM DEBUG getAPI version succeeded with 1.30.4
Nov 29, 2018 09:55:59 AM INFO Got API version: 1.30.4
Nov 29, 2018 09:55:59 AM INFO First invocation of TimeZone, asking server
Nov 29, 2018 09:55:59 AM INFO No Event Server present. Not initializing
Nov 29, 2018 09:55:59 AM DEBUG Transitioning state to: app.montage with param undefined
Nov 29, 2018 09:55:59 AM DEBUG DataModel: Regenerating connkeys...
Nov 29, 2018 09:55:59 AM INFO getMonitors:Loading all monitors
Nov 29, 2018 09:55:59 AM INFO Checking value of ZM_MIN_STREAMING_PORT for the first time
Nov 29, 2018 09:55:59 AM DEBUG It has been 0.7 hours since zmVersion was checked
Nov 29, 2018 09:55:59 AM DEBUG ZM Version nag: Checking 0.7 with 1440
Nov 29, 2018 09:55:59 AM DEBUG Timezone API response is:America/Chicago
Nov 29, 2018 09:55:59 AM INFO ZM_EVENT_IMAGE_DIGITS is 5
Nov 29, 2018 09:55:59 AM DEBUG *** Inside native HTTP error: {"status":404,"url":"http://cpbhome.choicepluscrm.com/zm/api/configs/viewByName/ZM_SHOW_PRIVACY.json","headers":{"okhttp-response-source":"NETWORK 404","content-type":"application/json; charset=UTF-8","server":"Apache/2.4.18 (Ubuntu)","date":"Thu, 29 Nov 2018 15:56:00 GMT","keep-alive":"timeout=5, max=100","content-length":"218","okhttp-selected-protocol":"http/1.1","connection":"Keep-Alive"},"error":"{\"success\":false,\"data\":{\"name\":\"Invalid config\",\"message\":\"Invalid config\",\"url\":\"\\/zm\\/api\\/configs\\/viewByName\\/ZM_SHOW_PRIVACY.json\",\"exception\":{\"class\":\"NotFoundException\",\"code\":404,\"message\":\"Invalid config\"}}}"}
Nov 29, 2018 09:55:59 AM DEBUG ZM_SHOW_PRIVACY returned an error, it likely doesn't exist
Nov 29, 2018 09:55:59 AM DEBUG *** Inside native HTTP error: {"status":404,"url":"http://cpbhome.choicepluscrm.com/zm/api/configs/viewByName/ZM_MIN_STREAMING_PORT.json","headers":{"okhttp-response-source":"NETWORK 404","content-type":"application/json; charset=UTF-8","server":"Apache/2.4.18 (Ubuntu)","date":"Thu, 29 Nov 2018 15:56:00 GMT","keep-alive":"timeout=5, max=100","content-length":"224","okhttp-selected-protocol":"http/1.1","connection":"Keep-Alive"},"error":"{\"success\":false,\"data\":{\"name\":\"Invalid config\",\"message\":\"Invalid config\",\"url\":\"\\/zm\\/api\\/configs\\/viewByName\\/ZM_MIN_STREAMING_PORT.json\",\"exception\":{\"class\":\"NotFoundException\",\"code\":404,\"message\":\"Invalid config\"}}}"}
Nov 29, 2018 09:55:59 AM INFO ZM_MIN_STREAMING_PORT not supported
Nov 29, 2018 09:55:59 AM DEBUG Setting multi-port to:false
Nov 29, 2018 09:55:59 AM DEBUG ZMS Multiport reported: 0
Nov 29, 2018 09:55:59 AM DEBUG Monitor URL to fetch is:http://cpbhome.choicepluscrm.com/zm/api/monitors/index/Type !=:WebSite.json
Nov 29, 2018 09:55:59 AM INFO Now that we have monitors, lets get AuthKey...
Nov 29, 2018 09:55:59 AM DEBUG DataModel: Getting auth from http://cpbhome.choicepluscrm.com/zm/index.php?view=watch&mid=1 with mid=1
Nov 29, 2018 09:55:59 AM DEBUG Loading hidden/unhidden status for profile:
Nov 29, 2018 09:55:59 AM DEBUG Inside getMonitors, will also regen connkeys
Nov 29, 2018 09:55:59 AM DEBUG Now trying to get multi-server data, if present
Nov 29, 2018 09:55:59 AM INFO Monitor load was successful, loaded 6 monitors
Nov 29, 2018 09:55:59 AM INFO DataModel: Extracted a stream authentication key of: d668e48f5a5445c560a7edf33ae7db6c
Nov 29, 2018 09:55:59 AM INFO multi server list loaded:{"servers":[]}
Nov 29, 2018 09:55:59 AM DEBUG multi-server protocol will be:http://
Nov 29, 2018 09:55:59 AM DEBUG No servers matched, filling defaults...
Nov 29, 2018 09:55:59 AM DEBUG Storing streaming=http://cpbhome.choicepluscrm.com/zm/cgi-bin recording=http://cpbhome.choicepluscrm.com/zm
Nov 29, 2018 09:55:59 AM DEBUG No servers matched, filling defaults...
Nov 29, 2018 09:55:59 AM DEBUG Storing streaming=http://cpbhome.choicepluscrm.com/zm/cgi-bin recording=http://cpbhome.choicepluscrm.com/zm
Nov 29, 2018 09:55:59 AM DEBUG No servers matched, filling defaults...
Nov 29, 2018 09:55:59 AM DEBUG Storing streaming=http://cpbhome.choicepluscrm.com/zm/cgi-bin recording=http://cpbhome.choicepluscrm.com/zm
Nov 29, 2018 09:55:59 AM DEBUG No servers matched, filling defaults...
Nov 29, 2018 09:55:59 AM DEBUG Storing streaming=http://cpbhome.choicepluscrm.com/zm/cgi-bin recording=http://cpbhome.choicepluscrm.com/zm
Nov 29, 2018 09:55:59 AM DEBUG No servers matched, filling defaults...
Nov 29, 2018 09:55:59 AM DEBUG Storing streaming=http://cpbhome.choicepluscrm.com/zm/cgi-bin recording=http://cpbhome.choicepluscrm.com/zm
Nov 29, 2018 09:55:59 AM DEBUG No servers matched, filling defaults...
Nov 29, 2018 09:55:59 AM DEBUG Storing streaming=http://cpbhome.choicepluscrm.com/zm/cgi-bin recording=http://cpbhome.choicepluscrm.com/zm
Nov 29, 2018 09:55:59 AM DEBUG Loading hidden/unhidden status for profile:
Nov 29, 2018 09:55:59 AM INFO sending Cached ZM_MIN_STREAMING_PORT 0
Nov 29, 2018 09:55:59 AM DEBUG Multiport=0
Nov 29, 2018 09:55:59 AM DEBUG bandwidth: highbw montage refresh set to: 2
Nov 29, 2018 09:55:59 AM DEBUG Setting up cycle interval of:10000
Nov 29, 2018 09:55:59 AM DEBUG skipping image refresh, packery is still loading
Nov 29, 2018 09:55:59 AM INFO Inside Montage Ctrl:We found 6 monitors
Nov 29, 2018 09:55:59 AM DEBUG MontageCtrl: Android detected, using cordova-multiwindow plugin for onStop/onStart instead
Nov 29, 2018 09:56:00 AM INFO --------->Setting up network state handlers....
Nov 29, 2018 09:56:00 AM INFO found a packery layout
Nov 29, 2018 09:56:00 AM INFO Monitors that are active and not DOM hidden: 6 while grid has 6
Nov 29, 2018 09:56:01 AM DEBUG skipping image refresh, packery is still loading
Nov 29, 2018 09:56:03 AM DEBUG skipping image refresh, packery is still loading
Nov 29, 2018 09:56:05 AM DEBUG skipping image refresh, packery is still loading
Nov 29, 2018 09:56:07 AM DEBUG skipping image refresh, packery is still loading
Nov 29, 2018 09:56:09 AM DEBUG skipping image refresh, packery is still loading
Nov 29, 2018 09:56:10 AM DEBUG All images loaded, switching to snapshot...
Nov 29, 2018 09:56:10 AM INFO Arranging as per packery grid
Nov 29, 2018 09:56:10 AM DEBUG All images loaded, doing image layout
Nov 29, 2018 09:56:10 AM DEBUG doing the jiggle and dance...
2018-11-29T16:13:50.301Z INFO ******* app .run device ready
Nov 29, 2018 10:13:50 AM INFO Device is ready
Nov 29, 2018 10:13:50 AM INFO You are running on android
Nov 29, 2018 10:13:50 AM DEBUG Inside configureStorageDB
Nov 29, 2018 10:13:50 AM DEBUG configureStorageDB: trying order:["asyncStorage","localStorageWrapper"]
Nov 29, 2018 10:13:50 AM INFO configureStorageDB:localforage driver for storage:asyncStorage
Nov 29, 2018 10:13:50 AM DEBUG configureStorageDB:Making sure this storage driver works...
Nov 29, 2018 10:13:50 AM DEBUG text zoom factor is 1
Nov 29, 2018 10:13:50 AM DEBUG configureStorageDB:test get/set worked, this driver is ok...
Nov 29, 2018 10:13:50 AM INFO localforage driver:asyncStorage
Nov 29, 2018 10:13:50 AM INFO CloudSync: Syncing with cloud if enabled...
Nov 29, 2018 10:13:50 AM INFO user profile encrypted, decoding...
Nov 29, 2018 10:13:50 AM INFO Found valid local configuration, overwriting cloud settings...
Nov 29, 2018 10:13:50 AM INFO local data synced with cloud...
Nov 29, 2018 10:13:50 AM INFO Cloudsync operation complete, continuing...
Nov 29, 2018 10:13:50 AM INFO >>>>No data to import....
Nov 29, 2018 10:13:50 AM INFO Updating statusbar
Nov 29, 2018 10:13:50 AM INFO Retrieving language before init is called...
Nov 29, 2018 10:13:50 AM INFO No language set, switching to en
Nov 29, 2018 10:13:50 AM INFO Device Language is:en
Nov 29, 2018 10:13:50 AM INFO >>>>Language to be used:en
Nov 29, 2018 10:13:50 AM INFO App Version: 1.3.032
Nov 29, 2018 10:13:50 AM DEBUG isFirstUse returned: false
Nov 29, 2018 10:13:50 AM INFO Language file loaded, continuing with rest
Nov 29, 2018 10:13:50 AM INFO ZMData init: checking for stored variables & setting up log file
Nov 29, 2018 10:13:50 AM INFO Checking for new version updates...
Nov 29, 2018 10:13:50 AM INFO Checking for news updates
Nov 29, 2018 10:13:50 AM INFO Setting up POST LOGIN timer
Nov 29, 2018 10:13:50 AM INFO Setting up pause and resume handler AFTER language is loaded...
Nov 29, 2018 10:13:50 AM DEBUG Android detected, using cordova-multiwindow plugin for onStop/onStart instead
Nov 29, 2018 10:13:50 AM INFO user profile encrypted, decoding...
Nov 29, 2018 10:13:50 AM DEBUG timeline graph type not set. Setting to all
Nov 29, 2018 10:13:50 AM INFO Setting DataModel init bandwidth to: highbw
Nov 29, 2018 10:13:50 AM INFO DataModel init retrieved store loginData
Nov 29, 2018 10:13:50 AM INFO >>>> Disabling strict SSL checking (turn off in Dev Options if you can't connect)
Nov 29, 2018 10:13:50 AM INFO >>> Android: enabling inline image view for self signed certs
Nov 29, 2018 10:13:50 AM INFO Inside init-complete in app.js: All init over, going to portal login
Nov 29, 2018 10:13:50 AM DEBUG --> SSL is permissive, will allow any certs. Use at your own risk.
Nov 29, 2018 10:13:50 AM INFO Entering Portal Main
Nov 29, 2018 10:13:51 AM DEBUG current version: 1.3.032 & available version 1.3.032
Nov 29, 2018 10:13:51 AM DEBUG Latest post dated 2018-10-11 09:32:22 but you read 2018-10-11 09:32:22
Nov 29, 2018 10:13:51 AM DEBUG Inside Portal login Enter handler
Nov 29, 2018 10:13:51 AM INFO User credentials are provided
Nov 29, 2018 10:13:51 AM INFO not checking for touchID
Nov 29, 2018 10:13:51 AM DEBUG unlock called with check PIN=true
Nov 29, 2018 10:13:51 AM DEBUG PIN code entered is correct, or there is no PIN set
Nov 29, 2018 10:13:51 AM INFO Cancelling zmAutologin timer
Nov 29, 2018 10:13:51 AM DEBUG Clearing cookies
Nov 29, 2018 10:13:51 AM INFO http://cpbhome.choicepluscrm.com/zm=>Logging out of any existing ZM sessions...
Nov 29, 2018 10:13:51 AM DEBUG Logging out using Web method
Nov 29, 2018 10:13:51 AM DEBUG Resetting zmCookie...
Nov 29, 2018 10:13:51 AM INFO zmAutologin called
Nov 29, 2018 10:13:51 AM DEBUG *** Inside native HTTP error: {"status":401,"url":"http://cpbhome.choicepluscrm.com/zm/api/host/login.json","headers":{"okhttp-response-source":"NETWORK 401","content-type":"application/json; charset=UTF-8","server":"Apache/2.4.18 (Ubuntu)","date":"Thu, 29 Nov 2018 16:13:52 GMT","keep-alive":"timeout=5, max=99","content-length":"198","okhttp-selected-protocol":"http/1.1","connection":"Keep-Alive"},"error":"\n{\"success\":false,\"data\":{\"name\":\"User not found\",\"message\":\"User not found\",\"url\":\"\\/zm\\/api\\/host\\/login.json\",\"exception\":{\"class\":\"UnauthorizedException\",\"code\":401,\"message\":\"User not found\"}}}"}
Nov 29, 2018 10:13:51 AM DEBUG Logging in using old web-scrape method
Nov 29, 2018 10:13:51 AM INFO Checking if reCaptcha is enabled in ZM...
Nov 29, 2018 10:13:51 AM INFO ZM has recaptcha disabled - good
Nov 29, 2018 10:13:52 AM INFO zmAutologin successfully logged into Zoneminder
Nov 29, 2018 10:13:52 AM INFO Deferring auth key, as monitorId unknown
Nov 29, 2018 10:13:52 AM INFO Stream authentication construction: undefined
Nov 29, 2018 10:13:52 AM DEBUG auth-success broadcast:Successful
Nov 29, 2018 10:13:52 AM DEBUG PortalLogin: auth success
Nov 29, 2018 10:13:52 AM DEBUG getAPIversion called with http://cpbhome.choicepluscrm.com/zm/api/host/getVersion.json
Nov 29, 2018 10:13:52 AM DEBUG snapshot NOT supported in image.php
Nov 29, 2018 10:13:52 AM DEBUG Setting server version to:1.30.4
Nov 29, 2018 10:13:52 AM DEBUG getAPI version succeeded with 1.30.4
Nov 29, 2018 10:13:52 AM INFO Got API version: 1.30.4
Nov 29, 2018 10:13:52 AM INFO First invocation of TimeZone, asking server
Nov 29, 2018 10:13:52 AM INFO No Event Server present. Not initializing
Nov 29, 2018 10:13:52 AM DEBUG Transitioning state to: app.montage with param undefined
Nov 29, 2018 10:13:52 AM DEBUG DataModel: Regenerating connkeys...
Nov 29, 2018 10:13:52 AM INFO getMonitors:Loading all monitors
Nov 29, 2018 10:13:52 AM INFO Checking value of ZM_MIN_STREAMING_PORT for the first time
Nov 29, 2018 10:13:52 AM DEBUG It has been 1.0 hours since zmVersion was checked
Nov 29, 2018 10:13:52 AM DEBUG ZM Version nag: Checking 1.0 with 1440
Nov 29, 2018 10:13:52 AM INFO ZM_EVENT_IMAGE_DIGITS is 5
Nov 29, 2018 10:13:52 AM DEBUG Timezone API response is:America/Chicago
Nov 29, 2018 10:13:52 AM DEBUG *** Inside native HTTP error: {"status":404,"url":"http://cpbhome.choicepluscrm.com/zm/api/configs/viewByName/ZM_SHOW_PRIVACY.json","headers":{"okhttp-response-source":"NETWORK 404","content-type":"application/json; charset=UTF-8","server":"Apache/2.4.18 (Ubuntu)","date":"Thu, 29 Nov 2018 16:13:53 GMT","keep-alive":"timeout=5, max=100","content-length":"218","okhttp-selected-protocol":"http/1.1","connection":"Keep-Alive"},"error":"{\"success\":false,\"data\":{\"name\":\"Invalid config\",\"message\":\"Invalid config\",\"url\":\"\\/zm\\/api\\/configs\\/viewByName\\/ZM_SHOW_PRIVACY.json\",\"exception\":{\"class\":\"NotFoundException\",\"code\":404,\"message\":\"Invalid config\"}}}"}
Nov 29, 2018 10:13:52 AM DEBUG ZM_SHOW_PRIVACY returned an error, it likely doesn't exist
Nov 29, 2018 10:13:52 AM DEBUG *** Inside native HTTP error: {"status":404,"url":"http://cpbhome.choicepluscrm.com/zm/api/configs/viewByName/ZM_MIN_STREAMING_PORT.json","headers":{"okhttp-response-source":"NETWORK 404","content-type":"application/json; charset=UTF-8","server":"Apache/2.4.18 (Ubuntu)","date":"Thu, 29 Nov 2018 16:13:53 GMT","keep-alive":"timeout=5, max=100","content-length":"224","okhttp-selected-protocol":"http/1.1","connection":"Keep-Alive"},"error":"{\"success\":false,\"data\":{\"name\":\"Invalid config\",\"message\":\"Invalid config\",\"url\":\"\\/zm\\/api\\/configs\\/viewByName\\/ZM_MIN_STREAMING_PORT.json\",\"exception\":{\"class\":\"NotFoundException\",\"code\":404,\"message\":\"Invalid config\"}}}"}
Nov 29, 2018 10:13:52 AM INFO ZM_MIN_STREAMING_PORT not supported
Nov 29, 2018 10:13:52 AM DEBUG Setting multi-port to:false
Nov 29, 2018 10:13:52 AM DEBUG ZMS Multiport reported: 0
Nov 29, 2018 10:13:52 AM DEBUG Monitor URL to fetch is:http://cpbhome.choicepluscrm.com/zm/api/monitors/index/Type !=:WebSite.json
Nov 29, 2018 10:13:52 AM INFO Now that we have monitors, lets get AuthKey...
Nov 29, 2018 10:13:52 AM DEBUG DataModel: Getting auth from http://cpbhome.choicepluscrm.com/zm/index.php?view=watch&mid=1 with mid=1
Nov 29, 2018 10:13:52 AM DEBUG Loading hidden/unhidden status for profile:
Nov 29, 2018 10:13:52 AM DEBUG Inside getMonitors, will also regen connkeys
Nov 29, 2018 10:13:52 AM DEBUG Now trying to get multi-server data, if present
Nov 29, 2018 10:13:52 AM INFO Monitor load was successful, loaded 6 monitors
Nov 29, 2018 10:13:52 AM INFO DataModel: Extracted a stream authentication key of: 79604daa6151d7232ab731092b9ad3ed
Nov 29, 2018 10:13:52 AM INFO multi server list loaded:{"servers":[]}
Nov 29, 2018 10:13:52 AM DEBUG multi-server protocol will be:http://
Nov 29, 2018 10:13:52 AM DEBUG No servers matched, filling defaults...
Nov 29, 2018 10:13:52 AM DEBUG Storing streaming=http://cpbhome.choicepluscrm.com/zm/cgi-bin recording=http://cpbhome.choicepluscrm.com/zm
Nov 29, 2018 10:13:52 AM DEBUG No servers matched, filling defaults...
Nov 29, 2018 10:13:52 AM DEBUG Storing streaming=http://cpbhome.choicepluscrm.com/zm/cgi-bin recording=http://cpbhome.choicepluscrm.com/zm
Nov 29, 2018 10:13:52 AM DEBUG No servers matched, filling defaults...
Nov 29, 2018 10:13:52 AM DEBUG Storing streaming=http://cpbhome.choicepluscrm.com/zm/cgi-bin recording=http://cpbhome.choicepluscrm.com/zm
Nov 29, 2018 10:13:52 AM DEBUG No servers matched, filling defaults...
Nov 29, 2018 10:13:52 AM DEBUG Storing streaming=http://cpbhome.choicepluscrm.com/zm/cgi-bin recording=http://cpbhome.choicepluscrm.com/zm
Nov 29, 2018 10:13:52 AM DEBUG No servers matched, filling defaults...
Nov 29, 2018 10:13:52 AM DEBUG Storing streaming=http://cpbhome.choicepluscrm.com/zm/cgi-bin recording=http://cpbhome.choicepluscrm.com/zm
Nov 29, 2018 10:13:52 AM DEBUG No servers matched, filling defaults...
Nov 29, 2018 10:13:52 AM DEBUG Storing streaming=http://cpbhome.choicepluscrm.com/zm/cgi-bin recording=http://cpbhome.choicepluscrm.com/zm
Nov 29, 2018 10:13:52 AM DEBUG Loading hidden/unhidden status for profile:
Nov 29, 2018 10:13:52 AM INFO sending Cached ZM_MIN_STREAMING_PORT 0
Nov 29, 2018 10:13:52 AM DEBUG Multiport=0
Nov 29, 2018 10:13:52 AM DEBUG bandwidth: highbw montage refresh set to: 2
Nov 29, 2018 10:13:52 AM DEBUG Setting up cycle interval of:10000
Nov 29, 2018 10:13:52 AM DEBUG skipping image refresh, packery is still loading
Nov 29, 2018 10:13:52 AM INFO Inside Montage Ctrl:We found 6 monitors
Nov 29, 2018 10:13:52 AM DEBUG MontageCtrl: Android detected, using cordova-multiwindow plugin for onStop/onStart instead
Nov 29, 2018 10:13:53 AM INFO --------->Setting up network state handlers....
Nov 29, 2018 10:13:53 AM INFO found a packery layout
Nov 29, 2018 10:13:53 AM INFO Monitors that are active and not DOM hidden: 6 while grid has 6
Nov 29, 2018 10:13:54 AM DEBUG skipping image refresh, packery is still loading
Nov 29, 2018 10:13:56 AM DEBUG skipping image refresh, packery is still loading
Nov 29, 2018 10:13:58 AM DEBUG skipping image refresh, packery is still loading
Nov 29, 2018 10:14:00 AM DEBUG skipping image refresh, packery is still loading
Nov 29, 2018 10:14:02 AM DEBUG skipping image refresh, packery is still loading
Nov 29, 2018 10:14:03 AM DEBUG All images loaded, switching to snapshot...
Nov 29, 2018 10:14:03 AM INFO Arranging as per packery grid
Nov 29, 2018 10:14:03 AM DEBUG All images loaded, doing image layout
Nov 29, 2018 10:14:03 AM DEBUG doing the jiggle and dance...
Nov 29, 2018 10:14:59 AM DEBUG Does login need to hear the wizard? false
Nov 29, 2018 10:15:00 AM DEBUG Deregistering handlers for multi-window
Nov 29, 2018 10:15:36 AM DEBUG Modal is closed, so toggling or exiting
Nov 29, 2018 10:15:38 AM DEBUG Modal is closed, so toggling or exiting
Nov 29, 2018 10:15:38 AM INFO Login screen going to background, saving data
2018-11-29T16:15:40.894Z INFO ******* app .run device ready
Nov 29, 2018 10:15:40 AM INFO Device is ready
Nov 29, 2018 10:15:40 AM INFO You are running on android
Nov 29, 2018 10:15:40 AM DEBUG Inside configureStorageDB
Nov 29, 2018 10:15:40 AM DEBUG configureStorageDB: trying order:["asyncStorage","localStorageWrapper"]
Nov 29, 2018 10:15:40 AM INFO configureStorageDB:localforage driver for storage:asyncStorage
Nov 29, 2018 10:15:40 AM DEBUG configureStorageDB:Making sure this storage driver works...
Nov 29, 2018 10:15:40 AM DEBUG text zoom factor is 1
Nov 29, 2018 10:15:40 AM DEBUG configureStorageDB:test get/set worked, this driver is ok...
Nov 29, 2018 10:15:41 AM INFO localforage driver:asyncStorage
Nov 29, 2018 10:15:41 AM INFO CloudSync: Syncing with cloud if enabled...
Nov 29, 2018 10:15:41 AM INFO user profile encrypted, decoding...
Nov 29, 2018 10:15:41 AM INFO Found valid local configuration, overwriting cloud settings...
Nov 29, 2018 10:15:41 AM INFO local data synced with cloud...
Nov 29, 2018 10:15:41 AM INFO Cloudsync operation complete, continuing...
Nov 29, 2018 10:15:41 AM INFO >>>>No data to import....
Nov 29, 2018 10:15:41 AM INFO Updating statusbar
Nov 29, 2018 10:15:41 AM INFO Retrieving language before init is called...
Nov 29, 2018 10:15:41 AM INFO App Version: 1.3.032
Nov 29, 2018 10:15:41 AM INFO No language set, switching to en
Nov 29, 2018 10:15:41 AM INFO Device Language is:en
Nov 29, 2018 10:15:41 AM INFO >>>>Language to be used:en
Nov 29, 2018 10:15:41 AM DEBUG isFirstUse returned: false
Nov 29, 2018 10:15:41 AM INFO Language file loaded, continuing with rest
Nov 29, 2018 10:15:41 AM INFO ZMData init: checking for stored variables & setting up log file
Nov 29, 2018 10:15:41 AM INFO Checking for new version updates...
Nov 29, 2018 10:15:41 AM INFO Checking for news updates
Nov 29, 2018 10:15:41 AM INFO Setting up POST LOGIN timer
Nov 29, 2018 10:15:41 AM INFO Setting up pause and resume handler AFTER language is loaded...
Nov 29, 2018 10:15:41 AM DEBUG Android detected, using cordova-multiwindow plugin for onStop/onStart instead
Nov 29, 2018 10:15:41 AM INFO user profile encrypted, decoding...
Nov 29, 2018 10:15:41 AM DEBUG timeline graph type not set. Setting to all
Nov 29, 2018 10:15:41 AM INFO Setting DataModel init bandwidth to: highbw
Nov 29, 2018 10:15:41 AM INFO DataModel init retrieved store loginData
Nov 29, 2018 10:15:41 AM INFO >>>> Disabling strict SSL checking (turn off in Dev Options if you can't connect)
Nov 29, 2018 10:15:41 AM INFO >>> Android: enabling inline image view for self signed certs
Nov 29, 2018 10:15:41 AM INFO Inside init-complete in app.js: All init over, going to portal login
Nov 29, 2018 10:15:41 AM DEBUG --> SSL is permissive, will allow any certs. Use at your own risk.
Nov 29, 2018 10:15:41 AM INFO Entering Portal Main
Nov 29, 2018 10:15:41 AM DEBUG Latest post dated 2018-10-11 09:32:22 but you read 2018-10-11 09:32:22
Nov 29, 2018 10:15:41 AM DEBUG current version: 1.3.032 & available version 1.3.032
Nov 29, 2018 10:15:41 AM DEBUG Inside Portal login Enter handler
Nov 29, 2018 10:15:41 AM INFO User credentials are provided
Nov 29, 2018 10:15:41 AM INFO not checking for touchID
Nov 29, 2018 10:15:41 AM DEBUG unlock called with check PIN=true
Nov 29, 2018 10:15:41 AM DEBUG PIN code entered is correct, or there is no PIN set
Nov 29, 2018 10:15:41 AM INFO Cancelling zmAutologin timer
Nov 29, 2018 10:15:41 AM DEBUG Clearing cookies
Nov 29, 2018 10:15:41 AM INFO http://cpbhome.choicepluscrm.com/zm=>Logging out of any existing ZM sessions...
Nov 29, 2018 10:15:41 AM DEBUG Logging out using Web method
Nov 29, 2018 10:15:42 AM DEBUG Resetting zmCookie...
Nov 29, 2018 10:15:42 AM INFO zmAutologin called
Nov 29, 2018 10:15:42 AM DEBUG *** Inside native HTTP error: {"status":401,"url":"http://cpbhome.choicepluscrm.com/zm/api/host/login.json","headers":{"okhttp-response-source":"NETWORK 401","content-type":"application/json; charset=UTF-8","server":"Apache/2.4.18 (Ubuntu)","date":"Thu, 29 Nov 2018 16:15:43 GMT","keep-alive":"timeout=5, max=99","content-length":"198","okhttp-selected-protocol":"http/1.1","connection":"Keep-Alive"},"error":"\n{\"success\":false,\"data\":{\"name\":\"User not found\",\"message\":\"User not found\",\"url\":\"\\/zm\\/api\\/host\\/login.json\",\"exception\":{\"class\":\"UnauthorizedException\",\"code\":401,\"message\":\"User not found\"}}}"}
Nov 29, 2018 10:15:42 AM DEBUG Logging in using old web-scrape method
Nov 29, 2018 10:15:42 AM INFO Checking if reCaptcha is enabled in ZM...
Nov 29, 2018 10:15:42 AM INFO ZM has recaptcha disabled - good
Nov 29, 2018 10:15:42 AM INFO zmAutologin successfully logged into Zoneminder
Nov 29, 2018 10:15:42 AM INFO Deferring auth key, as monitorId unknown
Nov 29, 2018 10:15:42 AM INFO Stream authentication construction: undefined
Nov 29, 2018 10:15:42 AM DEBUG auth-success broadcast:Successful
Nov 29, 2018 10:15:42 AM DEBUG PortalLogin: auth success
Nov 29, 2018 10:15:42 AM DEBUG getAPIversion called with http://cpbhome.choicepluscrm.com/zm/api/host/getVersion.json
Nov 29, 2018 10:15:42 AM DEBUG snapshot NOT supported in image.php
Nov 29, 2018 10:15:43 AM DEBUG Setting server version to:1.30.4
Nov 29, 2018 10:15:43 AM DEBUG getAPI version succeeded with 1.30.4
Nov 29, 2018 10:15:43 AM INFO Got API version: 1.30.4
Nov 29, 2018 10:15:43 AM INFO First invocation of TimeZone, asking server
Nov 29, 2018 10:15:43 AM INFO No Event Server present. Not initializing
Nov 29, 2018 10:15:43 AM DEBUG Transitioning state to: app.montage with param undefined
Nov 29, 2018 10:15:43 AM DEBUG DataModel: Regenerating connkeys...
Nov 29, 2018 10:15:43 AM INFO getMonitors:Loading all monitors
Nov 29, 2018 10:15:43 AM INFO Checking value of ZM_MIN_STREAMING_PORT for the first time
Nov 29, 2018 10:15:43 AM DEBUG It has been 1.1 hours since zmVersion was checked
Nov 29, 2018 10:15:43 AM DEBUG ZM Version nag: Checking 1.1 with 1440
Nov 29, 2018 10:15:43 AM INFO ZM_EVENT_IMAGE_DIGITS is 5
Nov 29, 2018 10:15:43 AM DEBUG Timezone API response is:America/Chicago
Nov 29, 2018 10:15:43 AM DEBUG *** Inside native HTTP error: {"status":404,"url":"http://cpbhome.choicepluscrm.com/zm/api/configs/viewByName/ZM_SHOW_PRIVACY.json","headers":{"okhttp-response-source":"NETWORK 404","content-type":"application/json; charset=UTF-8","server":"Apache/2.4.18 (Ubuntu)","date":"Thu, 29 Nov 2018 16:15:44 GMT","keep-alive":"timeout=5, max=100","content-length":"218","okhttp-selected-protocol":"http/1.1","connection":"Keep-Alive"},"error":"{\"success\":false,\"data\":{\"name\":\"Invalid config\",\"message\":\"Invalid config\",\"url\":\"\\/zm\\/api\\/configs\\/viewByName\\/ZM_SHOW_PRIVACY.json\",\"exception\":{\"class\":\"NotFoundException\",\"code\":404,\"message\":\"Invalid config\"}}}"}
Nov 29, 2018 10:15:43 AM DEBUG *** Inside native HTTP error: {"status":404,"url":"http://cpbhome.choicepluscrm.com/zm/api/configs/viewByName/ZM_MIN_STREAMING_PORT.json","headers":{"okhttp-response-source":"NETWORK 404","content-type":"application/json; charset=UTF-8","server":"Apache/2.4.18 (Ubuntu)","date":"Thu, 29 Nov 2018 16:15:44 GMT","keep-alive":"timeout=5, max=100","content-length":"224","okhttp-selected-protocol":"http/1.1","connection":"Keep-Alive"},"error":"{\"success\":false,\"data\":{\"name\":\"Invalid config\",\"message\":\"Invalid config\",\"url\":\"\\/zm\\/api\\/configs\\/viewByName\\/ZM_MIN_STREAMING_PORT.json\",\"exception\":{\"class\":\"NotFoundException\",\"code\":404,\"message\":\"Invalid config\"}}}"}
Nov 29, 2018 10:15:43 AM DEBUG ZM_SHOW_PRIVACY returned an error, it likely doesn't exist
Nov 29, 2018 10:15:43 AM INFO ZM_MIN_STREAMING_PORT not supported
Nov 29, 2018 10:15:43 AM DEBUG Setting multi-port to:false
Nov 29, 2018 10:15:43 AM DEBUG ZMS Multiport reported: 0
Nov 29, 2018 10:15:43 AM DEBUG Monitor URL to fetch is:http://cpbhome.choicepluscrm.com/zm/api/monitors/index/Type !=:WebSite.json
Nov 29, 2018 10:15:43 AM INFO Now that we have monitors, lets get AuthKey...
Nov 29, 2018 10:15:43 AM DEBUG DataModel: Getting auth from http://cpbhome.choicepluscrm.com/zm/index.php?view=watch&mid=1 with mid=1
Nov 29, 2018 10:15:43 AM DEBUG Loading hidden/unhidden status for profile:
Nov 29, 2018 10:15:43 AM DEBUG Inside getMonitors, will also regen connkeys
Nov 29, 2018 10:15:43 AM DEBUG Now trying to get multi-server data, if present
Nov 29, 2018 10:15:43 AM INFO Monitor load was successful, loaded 6 monitors
Nov 29, 2018 10:15:43 AM INFO DataModel: Extracted a stream authentication key of: 79604daa6151d7232ab731092b9ad3ed
Nov 29, 2018 10:15:43 AM INFO multi server list loaded:{"servers":[]}
Nov 29, 2018 10:15:43 AM DEBUG multi-server protocol will be:http://
Nov 29, 2018 10:15:43 AM DEBUG No servers matched, filling defaults...
Nov 29, 2018 10:15:43 AM DEBUG Storing streaming=http://cpbhome.choicepluscrm.com/zm/cgi-bin recording=http://cpbhome.choicepluscrm.com/zm
Nov 29, 2018 10:15:43 AM DEBUG No servers matched, filling defaults...
Nov 29, 2018 10:15:43 AM DEBUG Storing streaming=http://cpbhome.choicepluscrm.com/zm/cgi-bin recording=http://cpbhome.choicepluscrm.com/zm
Nov 29, 2018 10:15:43 AM DEBUG No servers matched, filling defaults...
Nov 29, 2018 10:15:43 AM DEBUG Storing streaming=http://cpbhome.choicepluscrm.com/zm/cgi-bin recording=http://cpbhome.choicepluscrm.com/zm
Nov 29, 2018 10:15:43 AM DEBUG No servers matched, filling defaults...
Nov 29, 2018 10:15:43 AM DEBUG Storing streaming=http://cpbhome.choicepluscrm.com/zm/cgi-bin recording=http://cpbhome.choicepluscrm.com/zm
Nov 29, 2018 10:15:43 AM DEBUG No servers matched, filling defaults...
Nov 29, 2018 10:15:43 AM DEBUG Storing streaming=http://cpbhome.choicepluscrm.com/zm/cgi-bin recording=http://cpbhome.choicepluscrm.com/zm
Nov 29, 2018 10:15:43 AM DEBUG No servers matched, filling defaults...
Nov 29, 2018 10:15:43 AM DEBUG Storing streaming=http://cpbhome.choicepluscrm.com/zm/cgi-bin recording=http://cpbhome.choicepluscrm.com/zm
Nov 29, 2018 10:15:43 AM DEBUG Loading hidden/unhidden status for profile:
Nov 29, 2018 10:15:43 AM INFO sending Cached ZM_MIN_STREAMING_PORT 0
Nov 29, 2018 10:15:43 AM DEBUG Multiport=0
Nov 29, 2018 10:15:43 AM DEBUG bandwidth: highbw montage refresh set to: 2
Nov 29, 2018 10:15:43 AM DEBUG Setting up cycle interval of:10000
Nov 29, 2018 10:15:43 AM DEBUG skipping image refresh, packery is still loading
Nov 29, 2018 10:15:43 AM INFO Inside Montage Ctrl:We found 6 monitors
Nov 29, 2018 10:15:43 AM DEBUG MontageCtrl: Android detected, using cordova-multiwindow plugin for onStop/onStart instead
Nov 29, 2018 10:15:43 AM INFO --------->Setting up network state handlers....
Nov 29, 2018 10:15:44 AM INFO found a packery layout
Nov 29, 2018 10:15:44 AM INFO Monitors that are active and not DOM hidden: 6 while grid has 6
Nov 29, 2018 10:15:45 AM DEBUG skipping image refresh, packery is still loading
Nov 29, 2018 10:15:47 AM DEBUG skipping image refresh, packery is still loading
Nov 29, 2018 10:15:49 AM DEBUG skipping image refresh, packery is still loading
Nov 29, 2018 10:15:51 AM INFO Server selected:Office Cams
Nov 29, 2018 10:15:51 AM DEBUG ** Resetting existing server
Nov 29, 2018 10:15:51 AM DEBUG **Switching to new server...
Nov 29, 2018 10:15:51 AM DEBUG Clearing Multiport...
Nov 29, 2018 10:15:51 AM DEBUG Retrieved state for this profile:{"serverName":"Office Cams","username":"admin",<password removed>,"fallbackConfiguration":"","url":"http://pbx.choicepluscrm.com/zm","apiurl":"http://pbx.choicepluscrm.com/zm/api","eventServer":"wss://pbx.choicepluscrm.com:9000","maxMontage":"100","streamingurl":"http://pbx.choicepluscrm.com/zm/cgi-bin","maxFPS":"3","montageQuality":100,"singleImageQuality":"100","monSingleImageQuality":"100","montageHistoryQuality":"50","useSSL":false,"keepAwake":true,"isUseAuth":true,"isUseEventServer":true,"disablePush":false,"eventServerMonitors":"1,2,3,4","eventServerInterval":"0,0,0,0","refreshSec":"2","refreshSecLowBW":8,"enableLogs":true,"enableDebug":true,"usePin":false,"pinCode":"","canSwipeMonitors":true,"persistMontageOrder":true,"onTapScreen":"Montage","enableh264":true,"gapless":false,"montageOrder":"","montageHiddenOrder":"","montageArraySize":"0","showMontageSubMenu":true,"graphSize":2000,"enableAlarmCount":true,"minAlarmCount":1,"montageSize":"3","useNphZms":true,"useNphZmsForEvents":true,"packMontage":false,"exitOnSleep":false,"forceNetworkStop":false,"defaultPushSound":false,"enableBlog":true,"use24hr":false,"packeryPositions":"[{\"attr\":\"1\",\"size\":\"50\",\"display\":\"show\",\"x\":0,\"y\":0},{\"attr\":\"2\",\"size\":\"50\",\"display\":\"show\",\"x\":0.5,\"y\":0},{\"attr\":\"3\",\"size\":\"50\",\"display\":\"show\",\"x\":0,\"y\":0},{\"attr\":\"4\",\"size\":\"50\",\"display\":\"show\",\"x\":0.5,\"y\":0}]","currentMontageProfile":"","packeryPositionsArray":{},"EHpackeryPositions":"","packerySizes":"","timelineModalGraphType":"all","resumeDelay":0,"language":"en","reachability":true,"forceImageModePath":false,"disableNative":false,"vibrateOnPush":true,"soundOnPush":true,"cycleMonitors":false,"cycleMontage":false,"cycleMontageInterval":10,"cycleMonitorsInterval":10,"enableLowBandwidth":false,"autoSwitchBandwidth":false,"disableAlarmCheckMontage":false,"useLocalTimeZone":true,"fastLogin":true,"followTimeLine":false,"timelineScale":-1,"hideArchived":false,"videoPlaybackSpeed":2,"enableGIFMP4":false,"enableThumbs":true,"enableStrictSSL":false,"enableSlowLoading":false,"isFullScreen":false,"reloadInMontage":false,"momentGridSize":40,"momentMonitorFilter":[],"enableMomentSubMenu":true,"momentArrangeBy":"StartTime","loginAPISupported":false,"currentServerVersion":"1.30.4","isUseBasicAuth":false,"basicAuthUser":"","basicAuthPassword":"","disableSimulStreaming":false,"insertBasicAuthToken":false,"showLiveForInProgressEvents":true,"montageResizeSteps":5,"saveToCloud":true,"montageReviewCollapse":true}
Nov 29, 2018 10:15:51 AM INFO >>>> Disabling strict SSL checking (turn off in Dev Options if you can't connect)
Nov 29, 2018 10:15:51 AM DEBUG **EXCEPTION**ReferenceError: log is not defined caused by undefined
Nov 29, 2018 10:15:51 AM DEBUG --> SSL is permissive, will allow any certs. Use at your own risk.
Nov 29, 2018 10:15:51 AM DEBUG skipping image refresh, packery is still loading
Nov 29, 2018 10:15:53 AM DEBUG skipping image refresh, packery is still loading
Nov 29, 2018 10:15:53 AM INFO Server selected:Office Cams
Nov 29, 2018 10:15:54 AM DEBUG *** Inside native HTTP error: {"status":401,"url":"http://pbx.choicepluscrm.com/zm/api/monitors/alarm/id:4/command:status.json","headers":{"okhttp-response-source":"NETWORK 401","content-type":"application/json; charset=UTF-8","server":"Apache/2.4.18 (Ubuntu)","date":"Thu, 29 Nov 2018 16:15:55 GMT","keep-alive":"timeout=5, max=100","content-length":"232","okhttp-selected-protocol":"http/1.1","connection":"Keep-Alive"},"error":"{\"success\":false,\"data\":{\"name\":\"Not Authenticated\",\"message\":\"Not Authenticated\",\"url\":\"\\/zm\\/api\\/monitors\\/alarm\\/id:4\\/command:status.json\",\"exception\":{\"class\":\"UnauthorizedException\",\"code\":401,\"message\":\"Not Authenticated\"}}}"}
Nov 29, 2018 10:15:54 AM DEBUG *** Inside native HTTP error: {"status":401,"url":"http://pbx.choicepluscrm.com/zm/api/monitors/alarm/id:3/command:status.json","headers":{"okhttp-response-source":"NETWORK 401","content-type":"application/json; charset=UTF-8","server":"Apache/2.4.18 (Ubuntu)","date":"Thu, 29 Nov 2018 16:15:55 GMT","keep-alive":"timeout=5, max=100","content-length":"232","okhttp-selected-protocol":"http/1.1","connection":"Keep-Alive"},"error":"{\"success\":false,\"data\":{\"name\":\"Not Authenticated\",\"message\":\"Not Authenticated\",\"url\":\"\\/zm\\/api\\/monitors\\/alarm\\/id:3\\/command:status.json\",\"exception\":{\"class\":\"UnauthorizedException\",\"code\":401,\"message\":\"Not Authenticated\"}}}"}
Nov 29, 2018 10:15:54 AM DEBUG *** Inside native HTTP error: {"status":401,"url":"http://pbx.choicepluscrm.com/zm/api/monitors/alarm/id:1/command:status.json","headers":{"okhttp-response-source":"NETWORK 401","content-type":"application/json; charset=UTF-8","server":"Apache/2.4.18 (Ubuntu)","date":"Thu, 29 Nov 2018 16:15:55 GMT","keep-alive":"timeout=5, max=100","content-length":"232","okhttp-selected-protocol":"http/1.1","connection":"Keep-Alive"},"error":"{\"success\":false,\"data\":{\"name\":\"Not Authenticated\",\"message\":\"Not Authenticated\",\"url\":\"\\/zm\\/api\\/monitors\\/alarm\\/id:1\\/command:status.json\",\"exception\":{\"class\":\"UnauthorizedException\",\"code\":401,\"message\":\"Not Authenticated\"}}}"}
Nov 29, 2018 10:15:54 AM DEBUG *** Inside native HTTP error: {"status":401,"url":"http://pbx.choicepluscrm.com/zm/api/monitors/alarm/id:5/command:status.json","headers":{"okhttp-response-source":"NETWORK 401","content-type":"application/json; charset=UTF-8","server":"Apache/2.4.18 (Ubuntu)","date":"Thu, 29 Nov 2018 16:15:55 GMT","keep-alive":"timeout=5, max=100","content-length":"232","okhttp-selected-protocol":"http/1.1","connection":"Keep-Alive"},"error":"{\"success\":false,\"data\":{\"name\":\"Not Authenticated\",\"message\":\"Not Authenticated\",\"url\":\"\\/zm\\/api\\/monitors\\/alarm\\/id:5\\/command:status.json\",\"exception\":{\"class\":\"UnauthorizedException\",\"code\":401,\"message\":\"Not Authenticated\"}}}"}
Nov 29, 2018 10:15:54 AM DEBUG *** Inside native HTTP error: {"status":401,"url":"http://pbx.choicepluscrm.com/zm/api/monitors/alarm/id:6/command:status.json","headers":{"okhttp-response-source":"NETWORK 401","content-type":"application/json; charset=UTF-8","server":"Apache/2.4.18 (Ubuntu)","date":"Thu, 29 Nov 2018 16:15:55 GMT","keep-alive":"timeout=5, max=100","content-length":"232","okhttp-selected-protocol":"http/1.1","connection":"Keep-Alive"},"error":"{\"success\":false,\"data\":{\"name\":\"Not Authenticated\",\"message\":\"Not Authenticated\",\"url\":\"\\/zm\\/api\\/monitors\\/alarm\\/id:6\\/command:status.json\",\"exception\":{\"class\":\"UnauthorizedException\",\"code\":401,\"message\":\"Not Authenticated\"}}}"}
Nov 29, 2018 10:15:54 AM DEBUG *** Inside native HTTP error: {"status":401,"url":"http://pbx.choicepluscrm.com/zm/api/monitors/alarm/id:7/command:status.json","headers":{"okhttp-response-source":"NETWORK 401","content-type":"application/json; charset=UTF-8","server":"Apache/2.4.18 (Ubuntu)","date":"Thu, 29 Nov 2018 16:15:55 GMT","keep-alive":"timeout=5, max=100","content-length":"232","okhttp-selected-protocol":"http/1.1","connection":"Keep-Alive"},"error":"{\"success\":false,\"data\":{\"name\":\"Not Authenticated\",\"message\":\"Not Authenticated\",\"url\":\"\\/zm\\/api\\/monitors\\/alarm\\/id:7\\/command:status.json\",\"exception\":{\"class\":\"UnauthorizedException\",\"code\":401,\"message\":\"Not Authenticated\"}}}"}
Nov 29, 2018 10:15:54 AM DEBUG Error in monitor alarmed status
Nov 29, 2018 10:15:54 AM DEBUG Error in monitor alarmed status
Nov 29, 2018 10:15:54 AM DEBUG Error in monitor alarmed status
Nov 29, 2018 10:15:54 AM DEBUG Error in monitor alarmed status
Nov 29, 2018 10:15:54 AM DEBUG Error in monitor alarmed status
Nov 29, 2018 10:15:54 AM DEBUG Error in monitor alarmed status
Nov 29, 2018 10:15:54 AM DEBUG All images loaded, switching to snapshot...
Nov 29, 2018 10:15:54 AM INFO Arranging as per packery grid
Nov 29, 2018 10:15:54 AM DEBUG All images loaded, doing image layout
Nov 29, 2018 10:15:54 AM DEBUG doing the jiggle and dance...
Nov 29, 2018 10:16:03 AM DEBUG Does login need to hear the wizard? false
Nov 29, 2018 10:16:04 AM DEBUG Deregistering handlers for multi-window
Nov 29, 2018 10:16:06 AM DEBUG User tapped save, calling SaveItems
Nov 29, 2018 10:16:06 AM DEBUG Clearing Multiport...
Nov 29, 2018 10:16:06 AM DEBUG Inside save Items
Nov 29, 2018 10:16:06 AM DEBUG Setting isFirstUse to:false
Nov 29, 2018 10:16:06 AM DEBUG Setting server version to:
Nov 29, 2018 10:16:06 AM DEBUG Setting multi-port to:false
Nov 29, 2018 10:16:06 AM INFO >>>> Disabling strict SSL checking (turn off in Dev Options if you can't connect)
Nov 29, 2018 10:16:06 AM INFO >>> Android: enabling inline image view for self signed certs
Nov 29, 2018 10:16:06 AM DEBUG writing data to cloud
Nov 29, 2018 10:16:06 AM INFO Initializing Websocket with URL wss://pbx.choicepluscrm.com:9000
Nov 29, 2018 10:16:06 AM DEBUG Using native websockets...
Nov 29, 2018 10:16:06 AM DEBUG Clearing cookies
Nov 29, 2018 10:16:06 AM INFO http://pbx.choicepluscrm.com/zm=>Logging out of any existing ZM sessions...
Nov 29, 2018 10:16:06 AM DEBUG Logging out using Web method
Nov 29, 2018 10:16:06 AM DEBUG --> SSL is permissive, will allow any certs. Use at your own risk.
Nov 29, 2018 10:16:06 AM DEBUG Resetting zmCookie...
Nov 29, 2018 10:16:06 AM INFO zmAutologin called
Nov 29, 2018 10:16:06 AM DEBUG Saved isFirstUse ok
Nov 29, 2018 10:16:06 AM DEBUG local data synced with cloud...
Nov 29, 2018 10:16:06 AM DEBUG *** Inside native HTTP error: {"status":401,"url":"http://pbx.choicepluscrm.com/zm/api/host/login.json","headers":{"okhttp-response-source":"NETWORK 401","content-type":"application/json; charset=UTF-8","server":"Apache/2.4.18 (Ubuntu)","date":"Thu, 29 Nov 2018 16:16:07 GMT","keep-alive":"timeout=5, max=99","content-length":"198","okhttp-selected-protocol":"http/1.1","connection":"Keep-Alive"},"error":"\n{\"success\":false,\"data\":{\"name\":\"User not found\",\"message\":\"User not found\",\"url\":\"\\/zm\\/api\\/host\\/login.json\",\"exception\":{\"class\":\"UnauthorizedException\",\"code\":401,\"message\":\"User not found\"}}}"}
Nov 29, 2018 10:16:06 AM DEBUG Logging in using old web-scrape method
Nov 29, 2018 10:16:06 AM INFO Checking if reCaptcha is enabled in ZM...
Nov 29, 2018 10:16:06 AM INFO ZM has recaptcha disabled - good
Nov 29, 2018 10:16:07 AM INFO zmAutologin successfully logged into Zoneminder
Nov 29, 2018 10:16:07 AM DEBUG DataModel: Getting auth from http://pbx.choicepluscrm.com/zm/index.php?view=watch&mid=1 with mid=1
Nov 29, 2018 10:16:07 AM INFO DataModel: Extracted a stream authentication key of: 79604daa6151d7232ab731092b9ad3ed
Nov 29, 2018 10:16:07 AM INFO Stream authentication construction: &auth=79604daa6151d7232ab731092b9ad3ed
Nov 29, 2018 10:16:07 AM DEBUG auth-success broadcast:Successful
Nov 29, 2018 10:16:07 AM INFO Validating APIs at http://pbx.choicepluscrm.com/zm/api/host/getVersion.json
Nov 29, 2018 10:16:07 AM INFO First invocation of TimeZone, asking server
Nov 29, 2018 10:16:07 AM DEBUG Calling websocket init
Nov 29, 2018 10:16:07 AM INFO Initializing Websocket with URL wss://pbx.choicepluscrm.com:9000
Nov 29, 2018 10:16:07 AM DEBUG Using native websockets...
Nov 29, 2018 10:16:07 AM DEBUG Config URL for ZMS PATH is:http://pbx.choicepluscrm.com/zm/api/configs/viewByName/ZM_PATH_ZMS.json
Nov 29, 2018 10:16:07 AM DEBUG Timezone API response is:America/Chicago
Nov 29, 2018 10:16:07 AM INFO ZM relative cgi-path: /zm/cgi-bin/nph-zms, you entered: http://pbx.choicepluscrm.com/zm/cgi-bin
Nov 29, 2018 10:16:07 AM DEBUG *** Inside native HTTP error: {"status":500,"url":"http://pbx.choicepluscrm.com/zm/cgi-bin/zms","headers":{"okhttp-response-source":"NETWORK 500","content-type":"text/html; charset=iso-8859-1","server":"Apache/2.4.18 (Ubuntu)","date":"Thu, 29 Nov 2018 16:16:08 GMT","content-length":"619","okhttp-selected-protocol":"http/1.1","connection":"close"},"error":"<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\n<html><head>\n<title>500 Internal Server Error</title>\n</head><body>\n<h1>Internal Server Error</h1>\n<p>The server encountered an internal error or\nmisconfiguration and was unable to complete\nyour request.</p>\n<p>Please contact the server administrator at \n webmaster@localhost to inform them of the time this error occurred,\n and the actions you performed just before this error.</p>\n<p>More information about this error may be available\nin the server error log.</p>\n<hr>\n<address>Apache/2.4.18 (Ubuntu) Server at pbx.choicepluscrm.com Port 80</address>\n</body></html>\n"}
Nov 29, 2018 10:16:07 AM DEBUG refreshing API version...
Nov 29, 2018 10:16:07 AM DEBUG getAPIversion called with http://pbx.choicepluscrm.com/zm/api/host/getVersion.json
Nov 29, 2018 10:16:07 AM DEBUG snapshot NOT supported in image.php
Nov 29, 2018 10:16:07 AM DEBUG Setting server version to:1.30.4
Nov 29, 2018 10:16:07 AM DEBUG getAPI version succeeded with 1.30.4
Nov 29, 2018 10:16:07 AM INFO getMonitors:Force reloading all monitors
Nov 29, 2018 10:16:07 AM INFO Checking value of ZM_MIN_STREAMING_PORT for the first time
Nov 29, 2018 10:16:07 AM DEBUG *** Inside native HTTP error: {"status":404,"url":"http://pbx.choicepluscrm.com/zm/api/configs/viewByName/ZM_MIN_STREAMING_PORT.json","headers":{"okhttp-response-source":"NETWORK 404","content-type":"application/json; charset=UTF-8","server":"Apache/2.4.18 (Ubuntu)","date":"Thu, 29 Nov 2018 16:16:08 GMT","keep-alive":"timeout=5, max=96","content-length":"224","okhttp-selected-protocol":"http/1.1","connection":"Keep-Alive"},"error":"{\"success\":false,\"data\":{\"name\":\"Invalid config\",\"message\":\"Invalid config\",\"url\":\"\\/zm\\/api\\/configs\\/viewByName\\/ZM_MIN_STREAMING_PORT.json\",\"exception\":{\"class\":\"NotFoundException\",\"code\":404,\"message\":\"Invalid config\"}}}"}
Nov 29, 2018 10:16:07 AM INFO ZM_MIN_STREAMING_PORT not supported
Nov 29, 2018 10:16:07 AM DEBUG Setting multi-port to:false
Nov 29, 2018 10:16:07 AM DEBUG ZMS Multiport reported: 0
Nov 29, 2018 10:16:07 AM DEBUG Monitor URL to fetch is:http://pbx.choicepluscrm.com/zm/api/monitors/index/Type !=:WebSite.json
Nov 29, 2018 10:16:07 AM DEBUG Loading hidden/unhidden status for profile:
Nov 29, 2018 10:16:07 AM DEBUG Inside getMonitors, will also regen connkeys
Nov 29, 2018 10:16:07 AM DEBUG Now trying to get multi-server data, if present
Nov 29, 2018 10:16:07 AM INFO Monitor load was successful, loaded 4 monitors
Nov 29, 2018 10:16:07 AM INFO multi server list loaded:{"servers":[]}
Nov 29, 2018 10:16:07 AM DEBUG multi-server protocol will be:http://
Nov 29, 2018 10:16:07 AM DEBUG No servers matched, filling defaults...
Nov 29, 2018 10:16:07 AM DEBUG Storing streaming=http://pbx.choicepluscrm.com/zm/cgi-bin recording=http://pbx.choicepluscrm.com/zm
Nov 29, 2018 10:16:07 AM DEBUG No servers matched, filling defaults...
Nov 29, 2018 10:16:07 AM DEBUG Storing streaming=http://pbx.choicepluscrm.com/zm/cgi-bin recording=http://pbx.choicepluscrm.com/zm
Nov 29, 2018 10:16:07 AM DEBUG No servers matched, filling defaults...
Nov 29, 2018 10:16:07 AM DEBUG Storing streaming=http://pbx.choicepluscrm.com/zm/cgi-bin recording=http://pbx.choicepluscrm.com/zm
Nov 29, 2018 10:16:07 AM DEBUG No servers matched, filling defaults...
Nov 29, 2018 10:16:07 AM DEBUG Storing streaming=http://pbx.choicepluscrm.com/zm/cgi-bin recording=http://pbx.choicepluscrm.com/zm
Nov 29, 2018 10:16:07 AM DEBUG Loading hidden/unhidden status for profile:
Nov 29, 2018 10:16:09 AM DEBUG Force reloading monitors...
Nov 29, 2018 10:16:13 AM DEBUG DataModel: Regenerating connkeys...
Nov 29, 2018 10:16:13 AM INFO Returning pre-loaded list of 4 monitors
Nov 29, 2018 10:16:13 AM INFO sending Cached ZM_MIN_STREAMING_PORT 0
Nov 29, 2018 10:16:13 AM INFO Login data not changed, not saving
Nov 29, 2018 10:16:13 AM DEBUG Multiport=0
Nov 29, 2018 10:16:13 AM DEBUG bandwidth: highbw montage refresh set to: 2
Nov 29, 2018 10:16:13 AM DEBUG Setting up cycle interval of:10000
Nov 29, 2018 10:16:13 AM DEBUG skipping image refresh, packery is still loading
Nov 29, 2018 10:16:13 AM INFO Inside Montage Ctrl:We found 4 monitors
Nov 29, 2018 10:16:13 AM DEBUG MontageCtrl: Android detected, using cordova-multiwindow plugin for onStop/onStart instead
Nov 29, 2018 10:16:14 AM INFO found a packery layout
Nov 29, 2018 10:16:14 AM INFO Monitors that are active and not DOM hidden: 4 while grid has 4
Nov 29, 2018 10:16:14 AM DEBUG All images loaded, switching to snapshot...
Nov 29, 2018 10:16:14 AM INFO Arranging as per packery grid
Nov 29, 2018 10:16:14 AM DEBUG All images loaded, doing image layout
Nov 29, 2018 10:16:14 AM DEBUG doing the jiggle and dance...
Nov 29, 2018 10:16:16 AM DEBUG Event server not initalized, not sending message
Nov 29, 2018 10:17:42 AM DEBUG Deregistering handlers for multi-window
Nov 29, 2018 10:17:53 AM DEBUG DataModel: Regenerating connkeys...
Nov 29, 2018 10:17:53 AM INFO Returning pre-loaded list of 4 monitors
Nov 29, 2018 10:17:53 AM INFO sending Cached ZM_MIN_STREAMING_PORT 0
Nov 29, 2018 10:17:53 AM DEBUG Multiport=0
Nov 29, 2018 10:17:54 AM DEBUG bandwidth: highbw montage refresh set to: 2
Nov 29, 2018 10:17:54 AM DEBUG Setting up cycle interval of:10000
Nov 29, 2018 10:17:54 AM DEBUG skipping image refresh, packery is still loading
Nov 29, 2018 10:17:54 AM INFO Inside Montage Ctrl:We found 4 monitors
Nov 29, 2018 10:17:54 AM DEBUG MontageCtrl: Android detected, using cordova-multiwindow plugin for onStop/onStart instead
Nov 29, 2018 10:17:54 AM INFO found a packery layout
Nov 29, 2018 10:17:54 AM INFO Monitors that are active and not DOM hidden: 4 while grid has 4
Nov 29, 2018 10:17:54 AM DEBUG All images loaded, switching to snapshot...
Nov 29, 2018 10:17:54 AM INFO Arranging as per packery grid
Nov 29, 2018 10:17:54 AM DEBUG All images loaded, doing image layout
Nov 29, 2018 10:17:55 AM DEBUG doing the jiggle and dance...
Nov 29, 2018 10:18:00 AM INFO Server selected:cpbhome.choicepluscrm.com
Nov 29, 2018 10:18:00 AM DEBUG ** Resetting existing server
Nov 29, 2018 10:18:00 AM DEBUG Stopping Event server
Nov 29, 2018 10:18:00 AM INFO Clearing error/close cbk, disconnecting and deleting Event Server socket...
Nov 29, 2018 10:18:00 AM DEBUG **Switching to new server...
Nov 29, 2018 10:18:00 AM DEBUG Clearing Multiport...
Nov 29, 2018 10:18:00 AM DEBUG Retrieved state for this profile:{"serverName":"cpbhome.choicepluscrm.com","username":"admin",<password removed>,"fallbackConfiguration":"","url":"http://cpbhome.choicepluscrm.com/zm","apiurl":"http://cpbhome.choicepluscrm.com/zm/api","eventServer":"","maxMontage":"100","streamingurl":"http://cpbhome.choicepluscrm.com/zm/cgi-bin","maxFPS":"3","montageQuality":"50","singleImageQuality":"100","monSingleImageQuality":"100","montageHistoryQuality":"50","useSSL":false,"keepAwake":true,"isUseAuth":true,"isUseEventServer":false,"disablePush":false,"eventServerMonitors":"","eventServerInterval":"","refreshSec":"2","refreshSecLowBW":8,"enableLogs":true,"enableDebug":true,"usePin":false,"pinCode":"","canSwipeMonitors":true,"persistMontageOrder":true,"onTapScreen":"Montage","enableh264":true,"gapless":false,"montageOrder":"","montageHiddenOrder":"","montageArraySize":"0","showMontageSubMenu":false,"graphSize":2000,"enableAlarmCount":true,"minAlarmCount":1,"montageSize":"3","useNphZms":true,"useNphZmsForEvents":true,"packMontage":false,"exitOnSleep":false,"forceNetworkStop":false,"defaultPushSound":false,"enableBlog":true,"use24hr":false,"packeryPositions":"[{\"attr\":\"1\",\"size\":\"50\",\"display\":\"show\",\"x\":0,\"y\":0},{\"attr\":\"3\",\"size\":\"50\",\"display\":\"show\",\"x\":0.5,\"y\":0},{\"attr\":\"4\",\"size\":\"50\",\"display\":\"show\",\"x\":0,\"y\":0},{\"attr\":\"5\",\"size\":\"50\",\"display\":\"show\",\"x\":0.5,\"y\":0},{\"attr\":\"6\",\"size\":\"50\",\"display\":\"show\",\"x\":0,\"y\":0},{\"attr\":\"7\",\"size\":\"50\",\"display\":\"show\",\"x\":0.5,\"y\":0}]","currentMontageProfile":"","packeryPositionsArray":{},"EHpackeryPositions":"","packerySizes":"","timelineModalGraphType":"all","resumeDelay":0,"language":"en","reachability":true,"forceImageModePath":false,"disableNative":false,"vibrateOnPush":true,"soundOnPush":true,"cycleMonitors":false,"cycleMontage":false,"cycleMontageInterval":10,"cycleMonitorsInterval":10,"enableLowBandwidth":false,"autoSwitchBandwidth":false,"disableAlarmCheckMontage":false,"useLocalTimeZone":true,"fastLogin":true,"followTimeLine":false,"timelineScale":-1,"hideArchived":false,"videoPlaybackSpeed":2,"enableGIFMP4":false,"enableThumbs":true,"enableStrictSSL":false,"enableSlowLoading":false,"isFullScreen":false,"reloadInMontage":false,"momentGridSize":40,"momentMonitorFilter":[],"enableMomentSubMenu":true,"momentArrangeBy":"StartTime","isUseBasicAuth":false,"basicAuthUser":"","basicAuthPassword":"","disableSimulStreaming":false,"insertBasicAuthToken":false,"showLiveForInProgressEvents":true,"loginAPISupported":false,"montageResizeSteps":5,"saveToCloud":true,"montageReviewCollapse":true,"currentServerVersion":"1.30.4"}
Nov 29, 2018 10:18:00 AM INFO >>>> Disabling strict SSL checking (turn off in Dev Options if you can't connect)
Nov 29, 2018 10:18:00 AM DEBUG **EXCEPTION**ReferenceError: log is not defined caused by undefined
Nov 29, 2018 10:18:00 AM DEBUG --> SSL is permissive, will allow any certs. Use at your own risk.
Nov 29, 2018 10:18:02 AM INFO Server selected:cpbhome.choicepluscrm.com
Nov 29, 2018 10:18:04 AM DEBUG *** Inside native HTTP error: {"status":401,"url":"http://cpbhome.choicepluscrm.com/zm/api/monitors/alarm/id:3/command:status.json","headers":{"okhttp-response-source":"NETWORK 401","content-type":"application/json; charset=UTF-8","server":"Apache/2.4.18 (Ubuntu)","date":"Thu, 29 Nov 2018 16:18:05 GMT","keep-alive":"timeout=5, max=100","content-length":"232","okhttp-selected-protocol":"http/1.1","connection":"Keep-Alive"},"error":"{\"success\":false,\"data\":{\"name\":\"Not Authenticated\",\"message\":\"Not Authenticated\",\"url\":\"\\/zm\\/api\\/monitors\\/alarm\\/id:3\\/command:status.json\",\"exception\":{\"class\":\"UnauthorizedException\",\"code\":401,\"message\":\"Not Authenticated\"}}}"}
Nov 29, 2018 10:18:04 AM DEBUG *** Inside native HTTP error: {"status":401,"url":"http://cpbhome.choicepluscrm.com/zm/api/monitors/alarm/id:1/command:status.json","headers":{"okhttp-response-source":"NETWORK 401","content-type":"application/json; charset=UTF-8","server":"Apache/2.4.18 (Ubuntu)","date":"Thu, 29 Nov 2018 16:18:05 GMT","keep-alive":"timeout=5, max=100","content-length":"232","okhttp-selected-protocol":"http/1.1","connection":"Keep-Alive"},"error":"{\"success\":false,\"data\":{\"name\":\"Not Authenticated\",\"message\":\"Not Authenticated\",\"url\":\"\\/zm\\/api\\/monitors\\/alarm\\/id:1\\/command:status.json\",\"exception\":{\"class\":\"UnauthorizedException\",\"code\":401,\"message\":\"Not Authenticated\"}}}"}
Nov 29, 2018 10:18:04 AM DEBUG *** Inside native HTTP error: {"status":401,"url":"http://cpbhome.choicepluscrm.com/zm/api/monitors/alarm/id:2/command:status.json","headers":{"okhttp-response-source":"NETWORK 401","content-type":"application/json; charset=UTF-8","server":"Apache/2.4.18 (Ubuntu)","date":"Thu, 29 Nov 2018 16:18:05 GMT","keep-alive":"timeout=5, max=100","content-length":"232","okhttp-selected-protocol":"http/1.1","connection":"Keep-Alive"},"error":"{\"success\":false,\"data\":{\"name\":\"Not Authenticated\",\"message\":\"Not Authenticated\",\"url\":\"\\/zm\\/api\\/monitors\\/alarm\\/id:2\\/command:status.json\",\"exception\":{\"class\":\"UnauthorizedException\",\"code\":401,\"message\":\"Not Authenticated\"}}}"}
Nov 29, 2018 10:18:04 AM DEBUG *** Inside native HTTP error: {"status":401,"url":"http://cpbhome.choicepluscrm.com/zm/api/monitors/alarm/id:4/command:status.json","headers":{"okhttp-response-source":"NETWORK 401","content-type":"application/json; charset=UTF-8","server":"Apache/2.4.18 (Ubuntu)","date":"Thu, 29 Nov 2018 16:18:05 GMT","keep-alive":"timeout=5, max=100","content-length":"232","okhttp-selected-protocol":"http/1.1","connection":"Keep-Alive"},"error":"{\"success\":false,\"data\":{\"name\":\"Not Authenticated\",\"message\":\"Not Authenticated\",\"url\":\"\\/zm\\/api\\/monitors\\/alarm\\/id:4\\/command:status.json\",\"exception\":{\"class\":\"UnauthorizedException\",\"code\":401,\"message\":\"Not Authenticated\"}}}"}
Nov 29, 2018 10:18:04 AM DEBUG Error in monitor alarmed status
Nov 29, 2018 10:18:04 AM DEBUG Error in monitor alarmed status
Nov 29, 2018 10:18:04 AM DEBUG Error in monitor alarmed status
Nov 29, 2018 10:18:04 AM DEBUG Error in monitor alarmed status
Nov 29, 2018 10:18:06 AM DEBUG Deregistering handlers for multi-window
Nov 29, 2018 10:19:14 AM INFO file location:file:///data/user/0/com.pliablepixels.zmninja_pro/files/zmNinjaLog.txt
Nov 29, 2018 10:19:14 AM INFO Login screen going to background, saving data
Nov 29, 2018 10:19:20 AM INFO -->Clearing online/offine
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Platform & OS Version
Android 7.0 Nougat
The version of zmNinja you are reporting:
1.3.032
The version of ZoneMinder you are using:
1.30.4
Device details:
Samsung Note 2
What is the nature of your issue
Bug / Question
Details
When using the new feature Fast Switching, I am having issues seeing cameras on switched to server. Exactly what I'm doing: 1) I open zmNinja. It loads my Home ZM camera feeds as this was the last server I was connected to. 2) I touch hamburger menu > People icon. 3) Select my Office ZM camera feed. 4) I can see that all of the home camera feeds shut down behind the dialog box. The dialog is still on my screen with Office Cams selected. I have to hit Ok a second time to get it to go away. 5) I am now back at the Montage screen. I see boxes representing the names of my Home Cameras. They are all "blank". 6) I have to Exit zmNinja and reopen the app to have it login to the Office Cams and load the images in the montage view.
If I switch between servers using the Settings > Select Other Server > Save option, the app works great. I see a few notifications pop up saying that it has authenticated and loaded monitors. The only negative with this approach is the extra touches and the Login Validated: Please explore zmNinja.
In fact, IMO the 'please explore zmNinja' dialog should only come up the first time the app is ever executed on the device.
I am just guessing, but it appears that zmNinja is still trying to communicate with my Home Cam server versus actually starting a dialog with the Office Cam server. I was able to ssh into both systems and tail the logs. Nothing was added to the Office Cam log until zmNinja was restarted.
I will update this post in a few hours with details on what occurs on an iPhone when I am at my client's office and can test his device.
Thanks for adding the fast user switching option. This is going to make him VERY happy.
ZM Home Server Logs
This shows up repeatedly continuously after hitting the ok button to switch to the Office Cams server until I exit the app.
Debug Logs
Thanks!