Yes, pasting the constructed URL (same as logged above but with a different/new EID [one I just triggered] and the username and password [verified correct]) and it pops up just fine.
Somewhere along the line I realized that ZMES_PICTURE_URL played no part in this.
The ZM user I'm using only has View permissions on Events and Monitors, and APIEnabled IS enabled. The web browser call works fine (when I'm also logged in the to ZM console as the same user).
It's driving me nuts as I cannot see where there's a problem anywhere. But, obviously there is. Here's more stuff that hit the ZM logs (I ran using an account with full privileges [modified secrets.ini and stopped and started zmeventserver]):
Code: Select all
animation: Traceback:Traceback (most recent call last): File "/usr/lib/python3.7/urllib/request.py", line 1317, in do_open encode_chunked=req.has_header('Transfer-encoding')) File "/usr/lib/python3.7/http/client.py", line 1244, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output self.send(msg) File "/usr/lib/python3.7/http/client.py", line 966, in send self.connect() File "/usr/lib/python3.7/http/client.py", line 1399, in connect super().connect() File "/usr/lib/python3.7/http/client.py", line 938, in connect (self.host,self.port), self.timeout, self.source_address) File "/usr/lib/python3.7/socket.py", line 707, in create_connection for res in getaddrinfo(host, port, 0, SOCK_STREAM): File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags):socket.gaierror: [Errno -2] Name or service not knownDuring handling of the above exception, another exception occurred:Traceback (most recent call last): File "/var/lib/zmeventnotification/bin/zm_detect.py", line 219, in <module> args) File "/usr/local/lib/python3.7/dist-packages/zmes_hook_helpers/utils.py", line 190, in download_files input_file = opener.open(url) File "/usr/lib/python3.7/urllib/request.py", line 525, in open response = self._open(req, data) File "/usr/lib/python3.7/urllib/request.py", line 543, in _open '_open', req) File "/usr/lib/python3.7/urllib/request.py", line 503, in _call_chain result = func(*args) File "/usr/lib/python3.7/urllib/request.py", line 1360, in https_open context=self._context, check_hostname=self._check_hostname) File "/usr/lib/python3.7/urllib/request.py", line 1319, in do_open raise URLError(err)urllib.error.URLError: <urlopen error [Errno -2] Name or service not known>
No characters in password that would trip up handling the password.
I ran with debug turned off (I'd turned it off yesterday after testing), so this is all that's available.