ZMNinja issue

Discussion topics related to mobile applications and ZoneMinder Event Server (including machine learning)
Post Reply
drinking12many
Posts: 4
Joined: Tue Sep 24, 2019 1:07 am

ZMNinja issue

Post by drinking12many »

I have Zoneminder1.32.3 the API appears to be working best I can tell. I can play events that get recorded. I cannot watch the live stream though. This occurs on both the phone and windows application. I can play video inside chrome on both. Here is the section of log I see but I dont really see any errors or anything. ZMninja on my PC and phone are the newest ones out. Any help is appreciated.

Sep 26, 2019 08:56:08 PM INFO MonitorCtrl:Stopping network pull...
Sep 26, 2019 08:56:08 PM DEBUG NVR: killing live stream ck:408289
Sep 26, 2019 08:56:08 PM DEBUG Single monitor exited killing stream
Sep 26, 2019 08:56:08 PM DEBUG Removing keyboard handler
Sep 26, 2019 08:56:02 PM INFO configurePTZ 1 is not PTZ controllable
Sep 26, 2019 08:56:02 PM DEBUG configurePTZ: called with mid=1
Sep 26, 2019 08:56:02 PM DEBUG MonitorModalCtrl called from app.monitors
Sep 26, 2019 08:56:02 PM INFO Using stream mode single
Sep 26, 2019 08:56:02 PM INFO Monitor Orientation is: undefined
Sep 26, 2019 08:56:02 PM DEBUG MonitorCtrl:Open Monitor Modal with monitor Id=1 and Controllable:0 with control ID:null
Sep 26, 2019 08:53:49 PM INFO MonitorCtrl:Stopping network pull...
Sep 26, 2019 08:53:49 PM DEBUG NVR: killing live stream ck:300732
Sep 26, 2019 08:53:49 PM DEBUG Single monitor exited killing stream
Sep 26, 2019 08:53:49 PM DEBUG Removing keyboard handler
Sep 26, 2019 08:53:43 PM INFO ---> Hacked up waked detection...
Sep 26, 2019 08:53:43 PM INFO --------->Setting up global key handler...
Sep 26, 2019 08:53:43 PM INFO --------->Setting up network state handlers....
Sep 26, 2019 08:53:43 PM INFO configurePTZ 1 is not PTZ controllable
Sep 26, 2019 08:53:43 PM DEBUG configurePTZ: called with mid=1
Sep 26, 2019 08:53:43 PM DEBUG MonitorModalCtrl called from app.monitors
Sep 26, 2019 08:53:43 PM INFO Using stream mode single
Sep 26, 2019 08:53:43 PM INFO Monitor Orientation is: undefined
Sep 26, 2019 08:53:43 PM DEBUG MonitorCtrl:Open Monitor Modal with monitor Id=1 and Controllable:0 with control ID:null
Sep 26, 2019 08:53:41 PM DEBUG reporting status of monitors from multi-server API
Sep 26, 2019 08:53:41 PM DEBUG no packery profile, making sure monitors are show
Sep 26, 2019 08:53:41 PM DEBUG Loading hidden/unhidden status for profile:
Sep 26, 2019 08:53:41 PM DEBUG Storing streaming=http://zoneminder/zm/cgi-bin recording=http://zoneminder/zm
Sep 26, 2019 08:53:41 PM DEBUG No servers matched, filling defaults...
Sep 26, 2019 08:53:41 PM DEBUG default multi-server protocol will be:http://
Sep 26, 2019 08:53:41 PM INFO multi server list loaded
Sep 26, 2019 08:53:41 PM INFO Monitor load was successful, loaded 1 monitors
Sep 26, 2019 08:53:41 PM DEBUG Now trying to get multi-server data, if present
Sep 26, 2019 08:53:41 PM DEBUG Inside getMonitors, will also regen connkeys
Sep 26, 2019 08:53:41 PM DEBUG no packery profile, making sure monitors are show
Sep 26, 2019 08:53:41 PM DEBUG Loading hidden/unhidden status for profile:
Sep 26, 2019 08:53:41 PM INFO Now that we have monitors, lets get AuthKey...
Sep 26, 2019 08:53:41 PM DEBUG Monitor URL to fetch is:http://zoneminder/zm/api/monitors/index/Type !=:WebSite.json?
Sep 26, 2019 08:53:41 PM DEBUG ZMS Multiport reported: 0
Sep 26, 2019 08:53:41 PM INFO ZM_MIN_STREAMING_PORT not configured, disabling
Sep 26, 2019 08:53:41 PM DEBUG Setting multi-port to:false
Sep 26, 2019 08:53:41 PM INFO Checking value of ZM_MIN_STREAMING_PORT for the first time
Sep 26, 2019 08:53:41 PM INFO getMonitors:Force reloading all monitors
Sep 26, 2019 08:53:41 PM DEBUG Monitor Control afterEnter
Sep 26, 2019 08:53:41 PM INFO ZM has recaptcha disabled - good
Sep 26, 2019 08:53:41 PM DEBUG Real value of PRIVACY is:0
Sep 26, 2019 08:53:41 PM INFO ZM_EVENT_IMAGE_DIGITS is 5
Sep 26, 2019 08:53:41 PM DEBUG Timezone API response is:EST
Sep 26, 2019 08:53:41 PM DEBUG Transitioning state to: app.monitors with param {}
Sep 26, 2019 08:53:41 PM INFO EventSever: No Event Server present. Not initializing
Sep 26, 2019 08:53:41 PM INFO First invocation of TimeZone, asking server
Sep 26, 2019 08:53:41 PM INFO Got API version: 1.32.3
Sep 26, 2019 08:53:41 PM DEBUG getAPI version succeeded with 1.32.3
Sep 26, 2019 08:53:41 PM DEBUG Setting server version to:1.32.3
Sep 26, 2019 08:53:41 PM DEBUG snapshot supported in image.php
Sep 26, 2019 08:53:40 PM DEBUG current version: 1.3.078 & available version 1.3.078D
Sep 26, 2019 08:53:40 PM DEBUG getAPIversion called with http://zoneminder/zm/api/host/getVersion.json?
Sep 26, 2019 08:53:40 PM DEBUG PortalLogin: auth success
Sep 26, 2019 08:53:40 PM DEBUG auth not being used, not creating banner
Sep 26, 2019 08:53:40 PM INFO Auth is disabled, setting authSession to empty
Sep 26, 2019 08:53:40 PM DEBUG Resetting zmCookie...
Sep 26, 2019 08:53:40 PM INFO Checking if reCaptcha is enabled in ZM...
Sep 26, 2019 08:53:40 PM DEBUG Inside _doLogin()
Sep 26, 2019 08:53:40 PM INFO No need for logout!
Sep 26, 2019 08:53:40 PM INFO No need to do a reachability test, as there are no fallbacks
Sep 26, 2019 08:53:40 PM INFO reached end of chain loop
Sep 26, 2019 08:53:40 PM INFO Fallback of zoneminder is
Sep 26, 2019 08:53:40 PM INFO Adding to chain stack: zoneminder>http://zoneminder/zm
Sep 26, 2019 08:53:40 PM DEBUG _doLogoutAndLogin: Clearing cookies
Sep 26, 2019 08:53:40 PM DEBUG We will relogin every 1800 seconds, token supported=false
Sep 26, 2019 08:53:40 PM INFO Cancelling zmAutologin timer
Sep 26, 2019 08:53:40 PM DEBUG PIN code entered is correct, or there is no PIN set
Sep 26, 2019 08:53:40 PM DEBUG unlock called with check PIN=true
Sep 26, 2019 08:53:40 PM INFO not checking for touchID
Sep 26, 2019 08:53:40 PM INFO User credentials are provided
Sep 26, 2019 08:53:40 PM DEBUG Inside Portal login Enter handler
Sep 26, 2019 08:53:40 PM INFO Entering Portal Main
Sep 26, 2019 08:53:40 PM INFO Inside init-complete in app.js: All init over, going to portal login
Sep 26, 2019 08:53:40 PM INFO NVR init retrieved store loginData
Sep 26, 2019 08:53:40 PM INFO Setting NVR init bandwidth to: highbw
Sep 26, 2019 08:53:40 PM INFO user profile encrypted, decoding...
Sep 26, 2019 08:53:40 PM INFO Setting up pause and resume handler AFTER language is loaded...
Sep 26, 2019 08:53:40 PM INFO Checking for news updates
Sep 26, 2019 08:53:40 PM INFO Checking for new version updates...
Sep 26, 2019 08:53:40 PM INFO ZMData init: checking for stored variables & setting up log file
Sep 26, 2019 08:53:40 PM INFO Language file loaded, continuing with rest
Sep 26, 2019 08:53:40 PM DEBUG last state=app.monitors param=[object Object]
Sep 26, 2019 08:53:40 PM DEBUG isFirstUse returned: false
Sep 26, 2019 08:53:40 PM INFO >>>>Language to be used:en
Sep 26, 2019 08:53:40 PM INFO Device Language is:en
Sep 26, 2019 08:53:40 PM INFO No language set, switching to en
Sep 26, 2019 08:53:40 PM INFO Retrieving language before init is called...
Sep 26, 2019 08:53:40 PM INFO >>>>No data to import....
Sep 26, 2019 08:53:40 PM INFO Cloudsync operation complete, continuing...
Sep 26, 2019 08:53:40 PM INFO Cloud settings plugin not found, skipping cloud sync...
Sep 26, 2019 08:53:40 PM INFO localforage driver:asyncStorage
Sep 26, 2019 08:53:40 PM DEBUG configureStorageDB:test get/set worked, this driver is ok...
Sep 26, 2019 08:53:40 PM DEBUG configureStorageDB:Making sure this storage driver works...
Sep 26, 2019 08:53:40 PM INFO configureStorageDB:localforage driver for storage:asyncStorage
Sep 26, 2019 08:53:40 PM DEBUG configureStorageDB: trying order:["asyncStorage","localStorageWrapper"]
Sep 26, 2019 08:53:40 PM DEBUG Inside configureStorageDB
Sep 26, 2019 08:53:40 PM INFO You are running on desktop
Sep 26, 2019 08:53:40 PM INFO Device is ready
User avatar
asker
Posts: 1553
Joined: Sun Mar 01, 2015 12:12 pm

Re: ZMNinja issue

Post by asker »

It is almost always due to one of these:
https://zmninja.readthedocs.io/en/lates ... ing-issues
I no longer work on zmNinja, zmeventnotification, pyzm or mlapi. I may respond on occasion based on my available time/interest.

Please read before posting:
How to set up logging properly
How to troubleshoot and report - ES
How to troubleshoot and report - zmNinja
ES docs
zmNinja docs
Post Reply