ZoneMinder / zmNinja

High performance, cross platform ionic app for Home/Commerical Security Surveillance using ZoneMinder
http://zmninja.zoneminder.com
Other
1.02k stars 270 forks source link

No image for monitors nor events #181

Closed stepps closed 8 years ago

stepps commented 8 years ago

I am trying out zmninja to replace some older clients we have installed. I have downloaded the 64bit linux executable and it is working fine till I try to visualize events or live view, then I only see a camara with a question mark.

I have tried switching ZMS off in the Dev Settings but there is no change.

I have turned on Debug Log and I see:

version:1.0.9D

Mar 4, 2016 4:31:08 PM INFO MonitorCtrl:Stopping network pull...
Mar 4, 2016 4:31:08 PM DEBUG Modal removed - killing connkey
Mar 4, 2016 4:31:05 PM INFO Modal: Stream authentication construction: 
Mar 4, 2016 4:31:05 PM INFO Data Model: Did not find any  stream mode of auth
Mar 4, 2016 4:31:05 PM INFO DataModel: Did not find a stream auth key, looking for user=
Mar 4, 2016 4:31:04 PM DEBUG **EXCEPTION**TypeError: Cannot read property 'Event' of undefined caused by undefined
Mar 4, 2016 4:31:04 PM INFO Image padding digits reported as 5
Mar 4, 2016 4:31:04 PM INFO Using nph-zms or not live view, no timer needed
Mar 4, 2016 4:31:04 PM DEBUG DataModel: Getting auth from http://10.111.0.151/zm/index.php?view=watch&mid=1&connkey=883560 with mid=1
Mar 4, 2016 4:31:04 PM DEBUG Setting playback to jpeg
Mar 4, 2016 4:31:04 PM INFO Setting timer to play nph-zms mode

Some backgroud:

pliablepixels commented 8 years ago

This usually means you don't have php-gd5 installed in the server. Can you install and restart ? Also it looks like you are using a 3rd party PHP server - per knnnigget who maintains CentOS ZM repos that can cause issues. If you'd like please join the #zoneminder forum on freenode if this does not work. My handle is asker.

On Fri, Mar 4, 2016 at 3:29 PM, stepps notifications@github.com wrote:

I am trying out zmninja to replace some older clients we have installed. I have downloaded the 64bit linux executable and it is working fine till I try to visualize events or live view, then I only see a camara with a question mark.

I have tried switching ZMS off in the Dev Settings but there is no change.

I have turned on Debug Log and I see:

version:1.0.9D

Mar 4, 2016 4:31:08 PM INFO MonitorCtrl:Stopping network pull... Mar 4, 2016 4:31:08 PM DEBUG Modal removed - killing connkey Mar 4, 2016 4:31:05 PM INFO Modal: Stream authentication construction: Mar 4, 2016 4:31:05 PM INFO Data Model: Did not find any stream mode of auth Mar 4, 2016 4:31:05 PM INFO DataModel: Did not find a stream auth key, looking for user= Mar 4, 2016 4:31:04 PM DEBUG EXCEPTIONTypeError: Cannot read property 'Event' of undefined caused by undefined Mar 4, 2016 4:31:04 PM INFO Image padding digits reported as 5 Mar 4, 2016 4:31:04 PM INFO Using nph-zms or not live view, no timer needed Mar 4, 2016 4:31:04 PM DEBUG DataModel: Getting auth from http://10.111.0.151/zm/index.php?view=watch&mid=1&connkey=883560 with mid=1 Mar 4, 2016 4:31:04 PM DEBUG Setting playback to jpeg Mar 4, 2016 4:31:04 PM INFO Setting timer to play nph-zms mode

Some backgroud:

  • I have ZM running on CentOS 6 with webtastic-php5.4
  • ZM is v 1.29.0
  • the testing server is installed on a remote server. Only p80 is accessible through the firewall at this time
  • /zm/api/ is accessible through a browser and all fields are green, except for debug-kit which is yellow
  • /zm/api/monitors.json shows all the loaded monitors, with the respective data. I take it the API is working fine

— Reply to this email directly or view it on GitHub https://github.com/pliablepixels/zmNinja/issues/181.

pliablepixels commented 8 years ago

resolved - was url rewriting issue related to SSL