UPDATE_CHECK_PROXY ignored?

Discussions related to the 1.36.x series of ZoneMinder
Post Reply
unicon
Posts: 5
Joined: Sat Apr 01, 2023 9:13 am

UPDATE_CHECK_PROXY ignored?

Post 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?
User avatar
iconnor
Posts: 3362
Joined: Fri Oct 29, 2010 1:43 am
Location: Toronto
Contact:

Re: UPDATE_CHECK_PROXY ignored?

Post 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....
Post Reply