Page 1 of 1

UPDATE_CHECK_PROXY ignored?

Posted: Sat Sep 23, 2023 2:38 pm
by unicon
Hi all,
I recently moved my ZM server behind a HTTP proxy. Since then I see app. once an hour an alert in the log:
Error check failed: '500 Can't connect to update.zoneminder.com:443 (Network is unreachable)'
as well as in the log of my firewall. So I configured the UPDATE_CHECK_PROXY to my proxy:
http://service:8118/
The DNS resolution von the system says:
zm:~$ getent hosts service
192.168.125.14 service.xxx.yyy
For debugging purposes I dumpt the content of the %Cofnig hash in the zmupdate.pl. Looks fine, but zmupdate.pl -c still trys to connect directly to update.zoneminder.com ...

Any ideas?

Re: UPDATE_CHECK_PROXY ignored?

Posted: Sat Sep 23, 2023 4:26 pm
by iconnor
We use it to set the http proxy in lwp... but switched to an https url for the check... I suspect I just need to set an https proxy instead, or could just go back to http as the content isn't exactly special although I suppose a motivated hacker could trick your system into thinking there was a new version when there wasn't....