Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No image for monitors nor events #181

Closed
stepps opened this issue Mar 4, 2016 · 2 comments
Closed

No image for monitors nor events #181

stepps opened this issue Mar 4, 2016 · 2 comments

Comments

@stepps
Copy link

stepps commented Mar 4, 2016

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:

  • I have ZM running on CentOS 6 with webtatic-php5.4
  • ZM is version 1.29.0
  • the testing server is installed on a remote server. Only p80 is accessible through the firewall at this time (ssl disabled)
  • /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
@pliablepixels
Copy link
Member

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 [email protected] 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
Copy link
Member

resolved - was url rewriting issue related to SSL

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants