Cant get live video or play events on Zmninja

Discussion topics related to mobile applications and ZoneMinder Event Server (including machine learning)
Post Reply
randomvirus
Posts: 1
Joined: Wed Jan 15, 2025 7:24 pm

Cant get live video or play events on Zmninja

Post by randomvirus »

Wondering if someone can help please? I cant get zmninja to work at all, all i am getting is this:
Ive also posted a log from my phone below:

https://ibb.co/txW6BGR
https://ibb.co/bb1pJmc

Code: Select all

Jan 15, 2025 07:13:02:872 PM INFO No imageSpinnerSrc!
Jan 15, 2025 07:13:02:129 PM DEBUG Not active in processImageError for monitor 1
Jan 15, 2025 07:13:01:274 PM DEBUG saved new positions: [{"attr":"1","size":"50","display":"show","x":0,"y":0}]
Jan 15, 2025 07:13:01:273 PM DEBUG obfuscate: original:8789 obfuscated:2251 scheme:lzs
Jan 15, 2025 07:13:01:233 PM DEBUG inside drag items:doing the jiggle and dance...
Jan 15, 2025 07:13:00:678 PM DEBUG Not active in processImageError for monitor 1
Jan 15, 2025 07:13:00:624 PM DEBUG All images loaded, doing image layout
Jan 15, 2025 07:13:00:623 PM DEBUG Arranging as per packery grid
Jan 15, 2025 07:13:00:618 PM DEBUG Not Switching mode to streaming as multi-port off...
Jan 15, 2025 07:13:00:617 PM DEBUG All images loaded, switching to snapshot...
Jan 15, 2025 07:13:00:616 PM DEBUG ~~loaded image is loaded for data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D%221920%22%20height%3D%221080%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201920%201080%22%20preserveAspectRatio%3D%22none%22%3E%3Cdefs%3E%3Cstyle%20type%3D%22text%2Fcss%22%3E%23holder_1946b621f16%20text%20%7B%20fill%3A%23C2F200%3Bfont-weight%3Abold%3Bfont-family%3AArial%2C%20Helvetica%2C%20Open%20Sans%2C%20sans-serif%2C%20monospace%3Bfont-size%3A96pt%20%7D%20%3C%2Fstyle%3E%3C%2Fdefs%3E%3Cg%20id%3D%22holder_1946b621f16%22%3E%3Crect%20width%3D%221920%22%20height%3D%221080%22%20fill%3D%22%23434A52%22%3E%3C%2Frect%3E%3Cg%3E%3Ctext%20x%3D%22906.65625%22%20y%3D%22585.0545471191406%22%3E...%3C%2Ftext%3E%3C%2Fg%3E%3C%2Fg%3E%3C%2Fsvg%3E
Jan 15, 2025 07:13:00:604 PM DEBUG Calling initPackery() with layout as:undefined
Jan 15, 2025 07:13:00:603 PM DEBUG You manually messed with the profile, so skipping all matches
Jan 15, 2025 07:13:00:599 PM DEBUG You manually messed with the profile, so skipping all matches
Jan 15, 2025 07:13:00:154 PM DEBUG Not active in processImageError for monitor 1
Jan 15, 2025 07:13:00:097 PM DEBUG MontageCtrl: Android detected, using cordova-multiwindow plugin for onStop/onStart instead
Jan 15, 2025 07:13:00:097 PM INFO Inside Montage Ctrl:We found 1 monitors
Jan 15, 2025 07:13:00:095 PM DEBUG skipping image refresh, packery is still loading
Jan 15, 2025 07:13:00:074 PM DEBUG Setting up cycle interval of:10000
Jan 15, 2025 07:13:00:071 PM DEBUG bandwidth: highbw montage refresh set to: 2
Jan 15, 2025 07:13:00:022 PM DEBUG Multiport=0
Jan 15, 2025 07:13:00:019 PM INFO sending stored ZM_MIN_STREAMING_PORT 0
Jan 15, 2025 07:13:00:018 PM DEBUG Montage beforeEnter: copying monitors to montage monitors
Jan 15, 2025 07:13:00:017 PM DEBUG You manually messed with the profile, so skipping all matches
Jan 15, 2025 07:13:00:016 PM DEBUG Montage beforeEnter: got 1 monitors
Jan 15, 2025 07:13:00:012 PM DEBUG Setting streamQuery timer to 10000
Jan 15, 2025 07:12:59:990 PM DEBUG obfuscate: original:8789 obfuscated:2251 scheme:lzs
Jan 15, 2025 07:12:59:981 PM DEBUG ZM State has not changed, still at default
Jan 15, 2025 07:12:59:900 PM INFO Returning pre-loaded list of 1 monitors
Jan 15, 2025 07:12:59:894 PM DEBUG NVR: Regenerating connkeys for all monitors at 1736968379894
Jan 15, 2025 07:12:40:006 PM INFO Sharing failed with message: Couldn't find meta-data for provider with authority com.zoneminder.zmNinja.sharing.provider
Jan 15, 2025 07:12:39:955 PM INFO file location:file:///data/user/0/com.zoneminder.zmNinja/files/zmNinjaLog.txt
Jan 15, 2025 07:12:38:216 PM INFO Login data not changed, not saving
Jan 15, 2025 07:10:43:186 PM DEBUG Does login need to hear the wizard? false
Jan 15, 2025 07:08:57:398 PM INFO Login data not changed, not saving
Jan 15, 2025 07:08:12:442 PM DEBUG Deregistering handlers for multi-window
Jan 15, 2025 07:08:12:362 PM INFO No imageSpinnerSrc!
Jan 15, 2025 07:08:12:356 PM DEBUG Does login need to hear the wizard? false
Jan 15, 2025 07:08:10:633 PM DEBUG Not active in processImageError for monitor 1
Jan 15, 2025 07:08:09:757 PM DEBUG saved new positions: [{"attr":"1","size":"50","display":"show","x":0,"y":0}]
Jan 15, 2025 07:08:09:756 PM DEBUG obfuscate: original:8789 obfuscated:2251 scheme:lzs
Jan 15, 2025 07:08:09:715 PM DEBUG inside drag items:doing the jiggle and dance...
Jan 15, 2025 07:08:09:159 PM DEBUG Not active in processImageError for monitor 1
Jan 15, 2025 07:08:09:106 PM DEBUG All images loaded, doing image layout
Jan 15, 2025 07:08:09:105 PM DEBUG Arranging as per packery grid
Jan 15, 2025 07:08:09:101 PM DEBUG Not Switching mode to streaming as multi-port off...
Jan 15, 2025 07:08:09:100 PM DEBUG All images loaded, switching to snapshot...
Jan 15, 2025 07:08:09:099 PM DEBUG ~~loaded image is loaded for data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D%221920%22%20height%3D%221080%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%201920%201080%22%20preserveAspectRatio%3D%22none%22%3E%3Cdefs%3E%3Cstyle%20type%3D%22text%2Fcss%22%3E%23holder_1946b5dac50%20text%20%7B%20fill%3A%23C2F200%3Bfont-weight%3Abold%3Bfont-family%3AArial%2C%20Helvetica%2C%20Open%20Sans%2C%20sans-serif%2C%20monospace%3Bfont-size%3A96pt%20%7D%20%3C%2Fstyle%3E%3C%2Fdefs%3E%3Cg%20id%3D%22holder_1946b5dac50%22%3E%3Crect%20width%3D%221920%22%20height%3D%221080%22%20fill%3D%22%23434A52%22%3E%3C%2Frect%3E%3Cg%3E%3Ctext%20x%3D%22906.65625%22%20y%3D%22585.0545471191406%22%3E...%3C%2Ftext%3E%3C%2Fg%3E%3C%2Fg%3E%3C%2Fsvg%3E
Jan 15, 2025 07:08:09:081 PM DEBUG Calling initPackery() with layout as:undefined
Jan 15, 2025 07:08:09:080 PM DEBUG You manually messed with the profile, so skipping all matches
Jan 15, 2025 07:08:09:075 PM DEBUG You manually messed with the profile, so skipping all matches
Jan 15, 2025 07:08:08:630 PM DEBUG Not active in processImageError for monitor 1
Jan 15, 2025 07:08:08:570 PM DEBUG MontageCtrl: Android detected, using cordova-multiwindow plugin for onStop/onStart instead
Jan 15, 2025 07:08:08:570 PM INFO Inside Montage Ctrl:We found 1 monitors
Jan 15, 2025 07:08:08:569 PM DEBUG skipping image refresh, packery is still loading
Jan 15, 2025 07:08:08:563 PM DEBUG Setting up cycle interval of:10000
Jan 15, 2025 07:08:08:556 PM DEBUG bandwidth: highbw montage refresh set to: 2
Jan 15, 2025 07:08:08:488 PM DEBUG Multiport=0
Jan 15, 2025 07:08:08:487 PM INFO Login data not changed, not saving
Jan 15, 2025 07:08:08:484 PM INFO sending stored ZM_MIN_STREAMING_PORT 0
Jan 15, 2025 07:08:08:483 PM DEBUG Montage beforeEnter: copying monitors to montage monitors
Jan 15, 2025 07:08:08:482 PM DEBUG You manually messed with the profile, so skipping all matches
Jan 15, 2025 07:08:08:481 PM DEBUG Montage beforeEnter: got 1 monitors
Jan 15, 2025 07:08:08:478 PM DEBUG Setting streamQuery timer to 10000
Jan 15, 2025 07:08:08:461 PM DEBUG obfuscate: original:8789 obfuscated:2251 scheme:lzs
Jan 15, 2025 07:08:08:456 PM DEBUG ZM State has not changed, still at default
Jan 15, 2025 07:08:08:415 PM INFO Returning pre-loaded list of 1 monitors
Jan 15, 2025 07:08:08:411 PM DEBUG NVR: Regenerating connkeys for all monitors at 1736968088411
Jan 15, 2025 07:08:07:385 PM DEBUG Force reloading monitors...
Jan 15, 2025 07:08:06:391 PM DEBUG No groups found
Jan 15, 2025 07:08:06:389 PM INFO CACHE: error with http get {"status":404,"url":"https://tash4049.duckdns.org:8443/zm/api/groups/associations.json?&token=<removed>
Jan 15, 2025 07:08:06:388 PM DEBUG *** Inside native HTTP error for url:{"status":404,"url":"https://tash4049.duckdns.org:8443/zm/api/groups/associations.json?&token=<removed>
Jan 15, 2025 07:08:06:372 PM DEBUG CACHE: NOT found for:cached_zmgroups reverting to HTTP
Jan 15, 2025 07:08:06:371 PM DEBUG Loading hidden/unhidden status for profile:__reorder__
Jan 15, 2025 07:08:06:370 PM DEBUG Storing streaming=https://tash4049.duckdns.org:8443/cgi-bin-zm recording=https://tash4049.duckdns.org:8443/zm
Jan 15, 2025 07:08:06:370 PM DEBUG No servers matched, filling defaults...
Jan 15, 2025 07:08:06:369 PM DEBUG default multi-server protocol will be:https://
Jan 15, 2025 07:08:06:369 PM DEBUG Portal scheme is https, will use https for any multi-server without a protocol
Jan 15, 2025 07:08:06:368 PM INFO multi server list loaded
Jan 15, 2025 07:08:06:363 PM DEBUG obfuscate: original:23 obfuscated:20 scheme:lzs
Jan 15, 2025 07:08:06:362 PM DEBUG CACHE: encrypting request
Jan 15, 2025 07:08:06:362 PM DEBUG CACHE: storing key data in cache now, with expiry of 86400
Jan 15, 2025 07:08:06:362 PM DEBUG HTTP function in cache returned:object
Jan 15, 2025 07:08:06:350 PM DEBUG CACHE: NOT found for:cached_multi_servers reverting to HTTP
Jan 15, 2025 07:08:06:348 PM INFO Monitor load was successful, loaded 1 monitors
Jan 15, 2025 07:08:06:348 PM DEBUG Loading hidden/unhidden status for profile:__reorder__
Jan 15, 2025 07:08:06:347 PM DEBUG After duplicate processing, we have: 1 monitors
Jan 15, 2025 07:08:06:347 PM DEBUG Before duplicate processing, we have: 1 monitors
Jan 15, 2025 07:08:06:347 PM DEBUG CACHE: cached monitor data type is:object
Jan 15, 2025 07:08:06:337 PM DEBUG obfuscate: original:2202 obfuscated:707 scheme:lzs
Jan 15, 2025 07:08:06:335 PM DEBUG CACHE: encrypting request
Jan 15, 2025 07:08:06:334 PM DEBUG CACHE: storing key data in cache now, with expiry of 86400
Jan 15, 2025 07:08:06:334 PM DEBUG HTTP function in cache returned:object
Jan 15, 2025 07:08:06:319 PM DEBUG CACHE: NOT found for:cached_monitors reverting to HTTP
Jan 15, 2025 07:08:06:317 PM DEBUG Monitor URL to fetch is:https://tash4049.duckdns.org:8443/zm/api/monitors/index/Type!=:WebSite/Function!=:None.json?&token=<removed>
Jan 15, 2025 07:08:06:317 PM DEBUG ZMS Multiport reported: 0
Jan 15, 2025 07:08:06:316 PM DEBUG ZM_MIN_STREAMING_PORT not configured, disabling
Jan 15, 2025 07:08:06:315 PM DEBUG Setting multi-port to:false
Jan 15, 2025 07:08:06:310 PM DEBUG CACHE: storing key data in cache now, with expiry of 86400
Jan 15, 2025 07:08:06:310 PM DEBUG HTTP function in cache returned:object
Jan 15, 2025 07:08:06:296 PM DEBUG CACHE: NOT found for:cached_multi_port reverting to HTTP
Jan 15, 2025 07:08:06:290 PM DEBUG Checking value of ZM_MIN_STREAMING_PORT for the first time
Jan 15, 2025 07:08:06:276 PM DEBUG obfuscate: original:8789 obfuscated:2251 scheme:lzs
Jan 15, 2025 07:08:06:270 PM DEBUG ZM State has not changed, still at default
Jan 15, 2025 07:08:06:245 PM INFO getMonitors:Force reloading all monitors
Jan 15, 2025 07:08:06:241 PM DEBUG getAPI version succeeded with 1.34.26
Jan 15, 2025 07:08:06:241 PM DEBUG Setting server version to:1.34.26
Jan 15, 2025 07:08:06:240 PM DEBUG obfuscate: original:8789 obfuscated:2251 scheme:lzs
Jan 15, 2025 07:08:06:234 PM DEBUG snapshot supported in image.php
Jan 15, 2025 07:08:06:229 PM DEBUG Timezone API response is:Europe/London
Jan 15, 2025 07:08:06:227 PM DEBUG CACHE: storing key data in cache now, with expiry of 86400
Jan 15, 2025 07:08:06:227 PM DEBUG HTTP function in cache returned:object
Jan 15, 2025 07:08:06:219 PM DEBUG CACHE: storing key data in cache now, with expiry of 86400
Jan 15, 2025 07:08:06:219 PM DEBUG HTTP function in cache returned:object
Jan 15, 2025 07:08:06:213 PM DEBUG CACHE: NOT found for:cached_api_version reverting to HTTP
Jan 15, 2025 07:08:06:204 PM DEBUG CACHE: NOT found for:cached_timezone reverting to HTTP
Jan 15, 2025 07:08:06:201 PM DEBUG getAPIversion called with https://tash4049.duckdns.org:8443/zm/api/host/getVersion.json?&token=<removed>
Jan 15, 2025 07:08:06:201 PM DEBUG refreshing API version...
Jan 15, 2025 07:08:06:200 PM INFO EventServer: No Event Server configured, skipping refresh
Jan 15, 2025 07:08:06:199 PM INFO First invocation of TimeZone, asking server
Jan 15, 2025 07:08:06:197 PM DEBUG local data synced with cloud...
Jan 15, 2025 07:08:06:177 PM DEBUG Saved isFirstUse ok
Jan 15, 2025 07:08:06:160 PM INFO Validating APIs at https://tash4049.duckdns.org:8443/zm/api/host/getVersion.json?&token=<removed>
Jan 15, 2025 07:08:06:154 PM DEBUG auth-success broadcast:Successful
Jan 15, 2025 07:08:06:152 PM INFO ----> Setting token re-login after 6600 seconds
Jan 15, 2025 07:08:06:152 PM INFO Access token still has 110 minutes left, using it
Jan 15, 2025 07:08:06:151 PM INFO Detected token login supported
Jan 15, 2025 07:08:06:151 PM DEBUG Resetting zmCookie...
Jan 15, 2025 07:08:06:150 PM DEBUG No need for re-captcha checks with tokens
Jan 15, 2025 07:08:06:150 PM DEBUG Inside _doLogin()
Jan 15, 2025 07:08:06:149 PM INFO No need for logout!
Jan 15, 2025 07:08:06:147 PM DEBUG --> SSL is permissive, will allow any certs. Use at your own risk.
Jan 15, 2025 07:08:06:145 PM INFO No need to do a reachability test, as there are no fallbacks
Jan 15, 2025 07:08:06:145 PM INFO reached end of chain loop
Jan 15, 2025 07:08:06:144 PM INFO Fallback of tash4049.duckdns.org-8443 is 
Jan 15, 2025 07:08:06:144 PM INFO Adding to chain stack: tash4049.duckdns.org-8443>https://tash4049.duckdns.org:8443/zm
Jan 15, 2025 07:08:06:143 PM DEBUG _doLogoutAndLogin: Clearing cookies
Jan 15, 2025 07:08:06:141 PM DEBUG obfuscate: original:8789 obfuscated:2251 scheme:lzs
Jan 15, 2025 07:08:06:135 PM DEBUG writing data to cloud
Jan 15, 2025 07:08:06:134 PM INFO >>> Android: enabling inline image view for self signed certs
Jan 15, 2025 07:08:06:133 PM INFO >>>> Disabling strict SSL checking (turn off in Dev Options if you can't connect)
Jan 15, 2025 07:08:06:132 PM DEBUG obfuscate: original:8789 obfuscated:2251 scheme:lzs
Jan 15, 2025 07:08:06:126 PM DEBUG Setting multi-port to:false
Jan 15, 2025 07:08:06:126 PM DEBUG Setting server version to:
Jan 15, 2025 07:08:06:125 PM DEBUG obfuscate: original:8782 obfuscated:2248 scheme:lzs
Jan 15, 2025 07:08:06:117 PM DEBUG Setting isFirstUse to:false
Jan 15, 2025 07:08:06:117 PM DEBUG Inside save Items
Jan 15, 2025 07:08:06:077 PM DEBUG obfuscate: original:8789 obfuscated:2251 scheme:lzs
Jan 15, 2025 07:08:06:055 PM DEBUG CACHE: Flushing all network API caches...
Jan 15, 2025 07:08:06:053 PM DEBUG CACHE: Clearing all unsupported flags
Jan 15, 2025 07:08:06:051 PM DEBUG Clearing Multiport...
Jan 15, 2025 07:08:06:047 PM DEBUG User tapped save, calling SaveItems
Jan 15, 2025 07:07:21:593 PM DEBUG Deregistering handlers for multi-window
Jan 15, 2025 07:07:21:519 PM INFO No imageSpinnerSrc!
Jan 15, 2025 07:07:21:513 PM DEBUG Does login need to hear the wizard? false
Jan 15, 2025 07:07:20:279 PM DEBUG Not active in processImageError for monitor 1
Jan 15, 2025 07:07:18:274 PM DEBUG Not active in processImageError for monitor 1
Jan 15, 2025 07:07:16:398 PM DEBUG Not active in processImageError for monitor 1
Jan 15, 2025 07:07:14:283 PM DEBUG Not active in processImageError for monitor 1
Jan 15, 2025 07:07:12:279 PM DEBUG Not active in processImageError for monitor 1
Jan 15, 2025 07:07:10:279 PM DEBUG Not active in processImageError for monitor 1
Jan 15, 2025 07:07:08:284 PM DEBUG Not active in processImageError for monitor 1
Jan 15, 2025 07:07:06:286 PM DEBUG Not active in processImageError for monitor 1
Jan 15, 2025 07:07:04:279 PM DEBUG Not active in processImageError for monitor 1
Jan 15, 2025 07:07:02:284 PM DEBUG Not active in processImageError for monitor 1
Jan 15, 2025 07:07:00:289 PM DEBUG Not active in processImageError for monitor 1
Jan 15, 2025 07:06:58:276 PM DEBUG Not active in processImageError for monitor 1
Jan 15, 2025 07:06:56:272 PM DEBUG Not active in processImageError for monitor 1
Jan 15, 2025 07:06:54:282 PM DEBUG Not active in processImageError for monitor 1
Jan 15, 2025 07:06:52:280 PM DEBUG Not active in processImageError for monitor 1
Jan 15, 2025 07:06:50:279 PM DEBUG Not active in processImageError for monitor 1
Jan 15, 2025 07:06:48:290 PM DEBUG Not active in processImageError for monitor 1
Jan 15, 2025 07:06:46:290 PM DEBUG Not active in processImageError for monitor 1
Jan 15, 2025 07:06:44:296 PM DEBUG Not active in processImageError for monitor 1
Jan 15, 2025 07:06:42:280 PM DEBUG Not active in processImageError for monitor 1
Jan 15, 2025 07:06:40:278 PM DEBUG Not active in processImageError for monitor 1
Jan 15, 2025 07:06:38:279 PM DEBUG Not active in processImageError for monitor 1
Jan 15, 2025 07:06:36:279 PM DEBUG Not active in processImageError for monitor 1
Jan 15, 2025 07:06:34:305 PM DEBUG Not active in processImageError for monitor 1
Jan 15, 2025 07:06:32:281 PM DEBUG Not active in processImageError for monitor 1
Jan 15, 2025 07:06:30:277 PM DEBUG Not active in processImageError for monitor 1
Jan 15, 2025 07:06:28:283 PM DEBUG Not active in processImageError for monitor 1
Jan 15, 2025 07:06:26:272 PM DEBUG Not active in processImageError for monitor 1
Jan 15, 2025 07:06:24:288 PM DEBUG Not active in processImageError for monitor 1
Jan 15, 2025 07:06:22:282 PM DEBUG Not active in processImageError for monitor 1
Jan 15, 2025 07:06:20:288 PM DEBUG Not active in processImageError for monitor 1
Jan 15, 2025 07:06:18:284 PM DEBUG Not active in processImageError for monitor 1
Jan 15, 2025 07:06:16:283 PM DEBUG Not active in processImageError for monitor 1
Jan 15, 2025 07:06:14:467 PM DEBUG Not active in processImageError for monitor 1
Jan 15, 2025 07:06:12:265 PM DEBUG Not active in processImageError for monitor 1
Jan 15, 2025 07:06:10:280 PM DEBUG Not active in processImageError for monitor 1
Jan 15, 2025 07:06:08:282 PM DEBUG Not active in processImageError for monitor 1
Jan 15, 2025 07:06:06:281 PM DEBUG Not active in processImageError for monitor 1
Jan 15, 2025 07:06:04:279 PM DEBUG Not active in processImageError for monitor 1
Jan 15, 2025 07:06:02:276 PM DEBUG Not active in processImageError for monitor 1
Jan 15, 2025 07:06:00:286 PM DEBUG Not active in processImageError for monitor 1
Jan 15, 2025 07:05:58:281 PM DEBUG Not active in processImageError for monitor 1
Jan 15, 2025 07:05:56:268 PM DEBUG Not active in processImageError for monitor 1
Jan 15, 2025 07:05:54:271 PM DEBUG Not active in processImageError for monitor 1
Jan 15, 2025 07:05:52:288 PM DEBUG Not active in processImageError for monitor 1
Jan 15, 2025 07:05:50:287 PM DEBUG Not active in processImageError for monitor 1
Jan 15, 2025 07:05:48:278 PM DEBUG Not active in processImageError for monitor 1
Jan 15, 2025 07:05:46:294 PM DEBUG Not active in processImageError for monitor 1
Jan 15, 2025 07:05:44:282 PM DEBUG Not active in processImageError for monitor 1
Jan 15, 2025 07:05:42:280 PM DEBUG Not active in processImageError for monitor 1
Jan 15, 2025 07:05:40:275 PM DEBUG Not active in processImageError for monitor 1
Jan 15, 2025 07:05:38:286 PM DEBUG Not active in processImageError for monitor 1
Jan 15, 2025 07:05:36:279 PM DEBUG Not active in processImageError for monitor 1
Jan 15, 2025 07:05:34:284 PM DEBUG Not active in processImageError for monitor 1
Jan 15, 2025 07:05:32:280 PM DEBUG Not active in processImageError for monitor 1
Jan 15, 2025 07:05:30:273 PM DEBUG Not active in processImageError for monitor 1
Jan 15, 2025 07:05:28:282 PM DEBUG Not active in processImageError for monitor 1
Jan 15, 2025 07:05:26:275 PM DEBUG Not active in processImageError for monitor 1
Jan 15, 2025 07:05:24:276 PM DEBUG Not active in processImageError for monitor 1
Jan 15, 2025 07:05:22:276 PM DEBUG Not active in processImageError for monitor 1
Jan 15, 2025 07:05:20:284 PM DEBUG Not active in processImageError for monitor 1
Jan 15, 2025 07:05:18:277 PM DEBUG Not active in processImageError for monitor 1
Jan 15, 2025 07:05:16:291 PM DEBUG Not active in processImageError for monitor 1
Jan 15, 2025 07:05:14:276 PM DEBUG Not active in processImageError for monitor 1
Jan 15, 2025 07:05:13:450 PM DEBUG Not active in processImageError for monitor 1
Jan 15, 2025 07:05:06:280 PM DEBUG Not active in processImageError for monitor 1
Jan 15, 2025 07:05:04:275 PM DEBUG Not active in processImageError for monitor 1
Jan 15, 2025 07:05:02:280 PM DEBUG Not active in processImageError for monitor 1
Jan 15, 2025 07:05:00:276 PM DEBUG Not active in processImageError for monitor 1
Jan 15, 2025 07:04:58:276 PM DEBUG Not active in processImageError for monitor 1
Jan 15, 2025 07:04:56:284 PM DEBUG Not active in processImageError for 
mr.goose
Posts: 8
Joined: Tue Feb 19, 2019 1:32 pm

Re: Cant get live video or play events on Zmninja

Post by mr.goose »

Same issue here with Ninja trying to see video on ZM v1.36.33, running on Debian 12.

Interestingly Ninja I can see video from a slightly older ZM installation (v1.36.32, running on Debian 11).
mr.goose
Posts: 8
Joined: Tue Feb 19, 2019 1:32 pm

Re: Cant get live video or play events on Zmninja

Post by mr.goose »

Just wanted to add:
my https://'server.com'/zm/api/host/getVersion.json for the server that will not display live video on ZMNinja reads...

Code: Select all

version	"1.36.33"
apiversion	"2.0"
mr.goose
Posts: 8
Joined: Tue Feb 19, 2019 1:32 pm

Re: Cant get live video or play events on Zmninja

Post by mr.goose »

OK this might help. I just downloaded and installed ZM Ninja 1.7.007 from GitHub. Good news is this version does see video from my new ZM server (v1.36.33, Debian 12). Bad news is that it doesn't see video from my older ZM server (v1.36.32 on Debian 11), Seems that needs the old v1.6 ZM Ninja!

Shame there isn't a ZM Ninja that will work with both server versions. Means that in order to see both servers I need both versions of ZM Ninja on my phone. Anyway, you can obtain the latest ZM Ninja from here...

https://github.com/ZoneMinder/zmNinja/r ... g/v1.7.007
User avatar
burger
Posts: 472
Joined: Mon May 11, 2020 4:32 pm

Re: Cant get live video or play events on Zmninja

Post by burger »

mr.goose wrote: Sat Jan 18, 2025 3:37 am OK this might help. I just downloaded and installed ZM Ninja 1.7.007 from GitHub. Good news is this version does see video from my new ZM server (v1.36.33, Debian 12). Bad news is that it doesn't see video from my older ZM server (v1.36.32 on Debian 11), Seems that needs the old v1.6 ZM Ninja!

Shame there isn't a ZM Ninja that will work with both server versions. Means that in order to see both servers I need both versions of ZM Ninja on my phone. Anyway, you can obtain the latest ZM Ninja from here...

https://github.com/ZoneMinder/zmNinja/r ... g/v1.7.007
I don't think this is correct. I have a Debian 12 with ZM 1.36.34 and it is viewable on the old ZMNinja. I also have a Debian 11 with 1.36.33 and that is viewable on old ZMNinja (1.6.009). You will need to make sure the API is working, and possibly swap the apache config per https://wiki.zoneminder.com/API I installed using the docs on the wiki https://wiki.zoneminder.com/Debian which uses zmrepo. See also: https://wiki.zoneminder.com/ZMNinja

Maybe you could post some apache/zmninja logs? Is there something on the phone that may be causing it to fail (firewall program)...
fastest way to test streams:
ffmpeg -i rtsp://<user>:<pass>@<ipaddress>:554/path ./output.mp4 (if terminal only)
ffplay rtsp://<user>:<pass>@<ipaddress>:554/path (gui)
find paths on ispydb or in zm hcl

If you are new to security software, read:
https://wiki.zoneminder.com/Dummies_Guide
mr.goose
Posts: 8
Joined: Tue Feb 19, 2019 1:32 pm

Re: Cant get live video or play events on Zmninja

Post by mr.goose »

I'm using the same phone for both ZMNinja instances. This kinda rules out firewall issues on the phone. The older Ninja works with the older Debian/Zoneminder server. The new Ninja works with the newer Debian/ZM server. Which rather rules out firewall issues on the servers.

I'm in the middle of preparing my accounts for my Tax Return at the end of the month. But I will return to this when that is out of the way.
HootooZone
Posts: 7
Joined: Sun Sep 26, 2010 4:01 pm

Re: Cant get live video or play events on Zmninja

Post by HootooZone »

Running v1.37.66 on Ubuntu Linux 24.04.2. I can live view in web browser but not in zmninja v1.7.007 on Windows desktop app.
Please advise. TIA.


Apr 26, 2025 12:07:36:194 PM DEBUG kill success for ck:333337 with:{"data":{"result":"Error","message":"Socket /run/zm/zms-333337s.sock does not exist. This file is created by zms, and since it does not exist, either zms did not run, or zms exited early. Please check your zms logs and ensure that CGI is enabled in apache and check that the PATH_ZMS is set correctly. Make sure that ZM is actually recording. If you are trying to view a live stream and the capture process (zmc) is not running then zms will exit. Please go to http://zoneminder.readthedocs.io/en/lat ... window-etc for more information."},"status":200,"config":{"method":"GET","transformRequest":[null],"transformResponse":[null],"url":"http://eyes.kyaw.local/zm/index.php?vie ... ation/json, text/plain, */*","X-ZmNinja":"zmNinja_%APPVER%"},"withCredentials":true},"statusText":"OK"}
Apr 26, 2025 12:07:35:044 PM DEBUG kill success for ck:333337 with:{"data":{"result":"Error","message":"Socket /run/zm/zms-333337s.sock does not exist. This file is created by zms, and since it does not exist, either zms did not run, or zms exited early. Please check your zms logs and ensure that CGI is enabled in apache and check that the PATH_ZMS is set correctly. Make sure that ZM is actually recording. If you are trying to view a live stream and the capture process (zmc) is not running then zms will exit. Please go to http://zoneminder.readthedocs.io/en/lat ... window-etc for more information."},"status":200,"config":{"method":"GET","transformRequest":[null],"transformResponse":[null],"url":"http://eyes.kyaw.local/zm/index.php?vie ... ation/json, text/plain, */*","X-ZmNinja":"zmNinja_%APPVER%"},"withCredentials":true},"statusText":"OK"}
Apr 26, 2025 12:07:34:957 PM DEBUG Forcing stream to regular quality, imageLoaded() was never called
Apr 26, 2025 12:07:34:192 PM INFO MonitorCtrl:Stopping network pull...
Apr 26, 2025 12:07:34:188 PM INFO MonitorCtrl:Stopping network pull...
Apr 26, 2025 12:07:33:890 PM DEBUG control display is:true
Apr 26, 2025 12:07:33:889 PM DEBUG NVR: killing live stream connkey:333337 using http://eyes.kyaw.local/zm/index.php?vie ... command=17
Apr 26, 2025 12:07:33:889 PM DEBUG Single monitor exited killing stream
Apr 26, 2025 12:07:33:889 PM DEBUG Removing keyboard handler
Apr 26, 2025 12:07:33:888 PM DEBUG NVR: killing live stream connkey:333337 using http://eyes.kyaw.local/zm/index.php?vie ... command=17
Apr 26, 2025 12:07:33:888 PM DEBUG Single monitor exited killing stream
Apr 26, 2025 12:07:33:887 PM DEBUG Removing keyboard handler
Apr 26, 2025 12:07:33:687 PM DEBUG control display is:false
Apr 26, 2025 12:07:28:495 PM DEBUG control display is:true
Apr 26, 2025 12:07:27:279 PM DEBUG control display is:false
Apr 26, 2025 12:07:25:089 PM DEBUG resize/orient: 984(w) * 741(h)
Apr 26, 2025 12:07:25:013 PM INFO configurePTZ 2 is not PTZ controllable
Apr 26, 2025 12:07:24:993 PM INFO waiting for authSession to have a value...
Apr 26, 2025 12:07:24:990 PM DEBUG configurePTZ: called with mid=2
Apr 26, 2025 12:07:24:963 PM INFO waiting for authSession to have a value...
Apr 26, 2025 12:07:24:962 PM INFO waiting for authSession to have a value...
Apr 26, 2025 12:07:24:956 PM DEBUG Setting streamQuery timer to 10000
Apr 26, 2025 12:07:24:956 PM DEBUG MonitorModalCtrl called from app.monitors
Apr 26, 2025 12:07:24:956 PM INFO Using stream mode single
Apr 26, 2025 12:07:24:952 PM INFO Monitor Orientation is: undefined
Apr 26, 2025 12:07:24:951 PM DEBUG MonitorCtrl:Open Monitor Modal with monitor Id=2 and Controllable:0 with control ID:null
Apr 26, 2025 12:07:23:572 PM DEBUG login() API Succeded, but did NOT return credentials key: {"data":{"version":"1.37.66","apiversion":"2.0"},"status":200,"config":{"method":"GET","transformRequest":[null],"transformResponse":[null],"url":"http://eyes.kyaw.local/zm/api/host/logi ... ation/json, text/plain, */*","X-ZmNinja":"zmNinja_%APPVER%"},"withCredentials":true},"statusText":"OK"}
Apr 26, 2025 12:07:23:572 PM DEBUG Credentials API returned: {"data":{"version":"1.37.66","apiversion":"2.0"},"status":200,"config":{"method":"GET","transformRequest":[null],"transformResponse":[null],"url":"http://eyes.kyaw.local/zm/api/host/logi ... ation/json, text/plain, */*","X-ZmNinja":"zmNinja_%APPVER%"},"withCredentials":true},"statusText":"OK"}
Apr 26, 2025 12:07:23:563 PM DEBUG reporting status of monitors from multi-server API
Apr 26, 2025 12:07:23:562 PM DEBUG CACHE: cached value for key:cached_zmgroups is good as 692 <3600
Apr 26, 2025 12:07:23:562 PM DEBUG CACHE: found for key: cached_zmgroups with expiry of:3600s
Apr 26, 2025 12:07:23:561 PM DEBUG no packery profile, making sure monitors are show
Apr 26, 2025 12:07:23:561 PM DEBUG Loading hidden/unhidden status for profile:
Apr 26, 2025 12:07:23:561 PM DEBUG Storing streaming=http://eyes.kyaw.local/zm/cgi-bin recording=http://eyes.kyaw.local/zm
Apr 26, 2025 12:07:23:561 PM DEBUG No servers matched, filling defaults...
Apr 26, 2025 12:07:23:561 PM DEBUG default multi-server protocol will be:http://
Apr 26, 2025 12:07:23:561 PM INFO multi server list loaded
Apr 26, 2025 12:07:23:560 PM DEBUG deobfuscate: before:145 after:296 scheme:lzs
Apr 26, 2025 12:07:23:560 PM DEBUG CACHE: decryption requested
Apr 26, 2025 12:07:23:560 PM DEBUG CACHE: cached value for key:cached_multi_servers is good as 692 <86400
Apr 26, 2025 12:07:23:559 PM DEBUG CACHE: found for key: cached_multi_servers with expiry of:86400s
Apr 26, 2025 12:07:23:553 PM INFO Monitor load was successful, loaded 1 monitors
Apr 26, 2025 12:07:23:553 PM DEBUG no packery profile, making sure monitors are show
Apr 26, 2025 12:07:23:553 PM DEBUG Loading hidden/unhidden status for profile:
Apr 26, 2025 12:07:23:553 PM DEBUG Server version 1.37.66 > 1.31.41, so using login API:http://eyes.kyaw.local/zm/api/host/logi ... hit&ko2020
Apr 26, 2025 12:07:23:552 PM INFO Now that we have monitors, lets get AuthKey...
Apr 26, 2025 12:07:23:552 PM DEBUG After duplicate processing, we have: 1 monitors
Apr 26, 2025 12:07:23:552 PM DEBUG Before duplicate processing, we have: 1 monitors
Apr 26, 2025 12:07:23:552 PM DEBUG CACHE: cached monitor data type is:object
Apr 26, 2025 12:07:23:552 PM DEBUG deobfuscate: before:1090 after:3421 scheme:lzs
Apr 26, 2025 12:07:23:549 PM DEBUG CACHE: decryption requested
Apr 26, 2025 12:07:23:549 PM DEBUG CACHE: cached value for key:cached_monitors is good as 692 <86400
Apr 26, 2025 12:07:23:545 PM DEBUG CACHE: found for key: cached_monitors with expiry of:86400s
Apr 26, 2025 12:07:23:543 PM DEBUG Monitor URL to fetch is:http://eyes.kyaw.local/zm/api/monitors/ ... :None.json?
Apr 26, 2025 12:07:23:543 PM DEBUG ZMS Multiport reported: 0
Apr 26, 2025 12:07:23:542 PM INFO sending stored ZM_MIN_STREAMING_PORT 0
Apr 26, 2025 12:07:23:534 PM DEBUG obfuscate: original:5530 obfuscated:1437 scheme:lzs
Apr 26, 2025 12:07:23:531 PM DEBUG ZM State has not changed, still at default
Apr 26, 2025 12:07:23:507 PM INFO getMonitors:Force reloading all monitors
Apr 26, 2025 12:07:23:506 PM DEBUG Monitor Control afterEnter
Attachments
zmNinja-logs-Apr-26-25_12-07-40.txt
(7.77 KiB) Downloaded 270 times
zm1.JPG
zm1.JPG (40.67 KiB) Viewed 10523 times
User avatar
iconnor
Posts: 3351
Joined: Fri Oct 29, 2010 1:43 am
Location: Toronto
Contact:

Re: Cant get live video or play events on Zmninja

Post by iconnor »

This is almost ALWAYS just the cgi-bin setting being wrong, although yours looks right to me. Best way to find out is right click and inspect the working url in the web ui and compare to what is entered in zmninja.
HootooZone
Posts: 7
Joined: Sun Sep 26, 2010 4:01 pm

Re: Cant get live video or play events on Zmninja

Post by HootooZone »

zmNinja-logs-Apr-27-25_18-30-34.txt
log file
(129.28 KiB) Downloaded 365 times
zmninja paths
zmninja paths
zmninjapaths.JPG (12.72 KiB) Viewed 9615 times
Path to cig-bin is https://myserver/zm/cgi-bin/...
I confirmed that by entering the string https://eyes/zm/cgi-bin/nph-zms?monitor=3 in my chrome browser and able to see live stream. But when I entered https://eyes/zm/cgi-bin/ for cgi-bin path in zmninja I still cannot see live view in zmninja.
Also, I can view recorded clips in zmninja but not the live streams.
Any more thoughts?
Attachments
zm web
zm web
zmweb1.JPG (32.09 KiB) Viewed 9616 times
HootooZone
Posts: 7
Joined: Sun Sep 26, 2010 4:01 pm

Re: Cant get live video or play events on Zmninja

Post by HootooZone »

No workie :-D
Attachments
camsettings.JPG
camsettings.JPG (17.82 KiB) Viewed 9599 times
zmninjanostream.JPG
zmninjanostream.JPG (17.32 KiB) Viewed 9599 times
User avatar
burger
Posts: 472
Joined: Mon May 11, 2020 4:32 pm

Re: Cant get live video or play events on Zmninja

Post by burger »

HootooZone wrote: Sat Apr 26, 2025 5:08 pm Running v1.37.66 on Ubuntu Linux 24.04.2. I can live view in web browser but not in zmninja v1.7.007 on Windows desktop app.
Please advise. TIA.
What guide did you use to install? For Ubuntu, you should be using https://wiki.zoneminder.com/Ubuntu
fastest way to test streams:
ffmpeg -i rtsp://<user>:<pass>@<ipaddress>:554/path ./output.mp4 (if terminal only)
ffplay rtsp://<user>:<pass>@<ipaddress>:554/path (gui)
find paths on ispydb or in zm hcl

If you are new to security software, read:
https://wiki.zoneminder.com/Dummies_Guide
Post Reply