Hi, I have a ZM instalation, with some cameras, Axis 232D and some NC1000 cameras.
I have a transparent proxy in one location (is a squid stable 2.5) thats run well.
Some times in other sites (from my job) happend the same (has a microsoft proxy).
I try to see the monitor, but I get a broken image..
I copy and paste the url.
http://acteavinci.ath.cx/cgi-bin/nph-zm ... 1152041840
and I get this response from the proxy.
ERROR
The requested URL could not be retrieved
While trying to retrieve the URL: http://acteavinci.ath.cx/cgi-bin/nph-zms?
The following error was encountered:
* Zero Sized Reply
Squid did not receive any data for this request.
Your cache administrator is ediaz@interno.pk25.com.
Generated Tue, 04 Jul 2006 19:43:51 GMT by servidor1.pk25.com (squid/2.5.STABLE13)
I try to change the nph-zms to zms (but i got other error about).
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, webmaster@localhost and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
Apache/2.0.54 (Debian GNU/Linux) mod_python/3.1.3 Python/2.3.5 PHP/5.1.2-1 mod_perl/1.999.21 Perl/v5.8.4 Server at acteavinci.ath.cx Port 80
Is happens some times, and after of some time, runs again.
I seen my squid logs, ZM logs, but don't see any.
Can be a problem of the firefox and proxys???
how can get some log from nph-zms (using a debug mode?)
(I try to restart and clean firefox cache)
(I must make a tunnel over SSH for see the monitor or don't use proxy)
regards!!
Using ZM and see the monitor using a proxy
- zoneminder
- Site Admin
- Posts: 5215
- Joined: Wed Jul 09, 2003 2:07 pm
- Location: Bristol, UK
- Contact:
Do you have access to the proxy logs to check that the access is being made correctly? Also is it possible to put ZM on another port and bypass the proxy altogether?
I suspect that the nph-zms is not working probably because the browser expects the output to not be parsed by apache, however your proaxy may interfere with this. I can't be 100% certain however. If you want to get more debug out of zms then the best way really is to edit zms.cpp and change the -1 in the call to zmDbgInit to a higher number, e.g. 6. Then you should get something in your system messages log. However I don't know if that is likely to be all that helpful.
I run ZM through Squid but not in transparent mode. In my setup zms doesn't go near the proxy for some reason according to the Squid logs.
I suspect that the nph-zms is not working probably because the browser expects the output to not be parsed by apache, however your proaxy may interfere with this. I can't be 100% certain however. If you want to get more debug out of zms then the best way really is to edit zms.cpp and change the -1 in the call to zmDbgInit to a higher number, e.g. 6. Then you should get something in your system messages log. However I don't know if that is likely to be all that helpful.
I run ZM through Squid but not in transparent mode. In my setup zms doesn't go near the proxy for some reason according to the Squid logs.
Phil