Page 1 of 1

Proxy

Posted: Fri Jun 23, 2006 1:45 pm
by essup
Hi,
my zoneminder server is behind a restricted firewall. is it possible to register the proxyserver address for zoneminder, so he can check for new versions properly?
06/23/2006 15:03:43.039826 zmupdate[18145].INF [Checking for updates]
06/23/2006 15:03:43.430283 zmupdate[18145].ERR [Error check failed: '500 Can't connect to www.zoneminder.com:80 (connect: Connection refused)']

Posted: Fri Jun 23, 2006 3:14 pm
by jameswilson
Yeah i think you do this in firefox just liek you would i.e.

Posted: Fri Jun 23, 2006 3:28 pm
by essup
?
I mean, ZM tries to look for updates for it's own version. Firefox has nothing to do with it.

Posted: Fri Jun 23, 2006 3:50 pm
by jameswilson
i think the client checks not the server but i may be wrong. Is this the pop up window that says there is a new version available or a different one?

Posted: Fri Jun 23, 2006 4:02 pm
by essup
No. The server (i don't know which program/daemon) checks zoneminder.com, that's why it's in the logs. And if it finds a new one, he processes it to the browser.

Posted: Fri Jun 23, 2006 4:05 pm
by tech_fixer
What you're triying to do is to set a proxy on your ZM server so it can check for new versions.

This setting is separate form the proxy you enter in your web browser.

You need to set an environment variable called http_proxy. Here's what you do:

For one time setup, type in a shell:

Code: Select all

export http_proxy=http://your_proxy_ip_address:port
Remember to substitute the ip address and port parameters with your actual settings.

For a more permanent solution, add the code from above to the bottom of the file /etc/profile

That should do it! Restart ZM and see how it goes.

Regards,
Jose.

Posted: Fri Jun 23, 2006 4:06 pm
by zoneminder
Currently you can't alter this directly, except by editing the zmupdate.pl script itself.