I think this is a server configuration issue and not an application configuration, application related to ZM/zmeventnotifcation.
"getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags):socket.gaierror: [Errno -2] Name or service not known"
Per an answer given to/on
https://stackoverflow.com/questions/572 ... own-python
Code: Select all
socket.gaierror: [Errno -2] Name or service not known means that the name resolution is failing for the given domain (api.github.com).
Name resolution (DNS in the usual notion) can fail for various reasons. As you have disconnected the internet, the reason is pretty obvious (Name or service not known).
gai (GetAddressInfo) is actually used by glibc to perform the name resolutions, it's part of glibc (and socket is using that as you can imagine). You can also actually configure it in /etc/gai.conf.
Not sure what the call is querying, and what it's using to do the query, whether FQDN or just the hostname. If it's a broadcast request to resolve the hostname IP then I can see that failing as the server is directly on the WAN (DMZ'd off my ISP router; DHCP, not static). And, if for some reason it's expecting to resolve as an ipv6 address and is depending on local resources (itself) then that could be dealt with via /etc/hosts (which has an ipv4 entry for hostname and FDQN for the loopback interface at 127.0.1.1, but no equivalent ipv6 entry) or via /etc/gai.conf (set preference to ipv4): I don't understand ipv6, so not real sure how I'd go about making either change or test. This kind of lines up with your suspecting that this might be a proxy issue (which I'd stated I wasn't using any proxy server/services).