I've followed the instructions to install the dlandon/zoneminder docker and edited the zmeventnotification.ini to use hooks.
Everything appears to be working until an event is triggered, where I get the following errors in the System Log.
I'm sure there is something I've missed here, but I can't find where the hostname is defined, or if I am supposed to change something prior to running.
Any help would be appreciated.
Code: Select all
error: Traceback:Traceback (most recent call last): File "/usr/lib/python3.6/urllib/request.py", line 1325, in do_open encode_chunked=req.has_header('Transfer-encoding')) File "/usr/lib/python3.6/http/client.py", line 1281, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1327, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1276, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.6/http/client.py", line 1042, in _send_output self.send(msg) File "/usr/lib/python3.6/http/client.py", line 980, in send self.connect() File "/usr/lib/python3.6/http/client.py", line 1434, in connect super().connect() File "/usr/lib/python3.6/http/client.py", line 952, in connect (self.host,self.port), self.timeout, self.source_address) File "/usr/lib/python3.6/socket.py", line 704, in create_connection for res in getaddrinfo(host, port, 0, SOCK_STREAM): File "/usr/lib/python3.6/socket.py", line 745, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags):socket.gaierror: [Errno -5] No address associated with hostnameDuring handling of the above exception, another exception occurred:Traceback (most recent call last): File "/var/lib/zmeventnotification/bin/zm_detect.py", line 237, in main_handler args) File "/usr/local/lib/python3.6/dist-packages/zmes_hook_helpers/utils.py", line 178, in download_files input_file = opener.open(url) File "/usr/lib/python3.6/urllib/request.py", line 526, in open response = self._open(req, data) File "/usr/lib/python3.6/urllib/request.py", line 544, in _open '_open', req) File "/usr/lib/python3.6/urllib/request.py", line 504, in _call_chain result = func(*args) File "/usr/lib/python3.6/urllib/request.py", line 1368, in https_open context=self._context, check_hostname=self._check_hostname) File "/usr/lib/python3.6/urllib/request.py", line 1327, in do_open raise URLError(err)urllib.error.URLError: <urlopen error [Errno -5] No address associated with hostname>
Code: Select all
Error downloading files: <urlopen error [Errno -5] No address associated with hostname>