Traceback (most recent call last): File "/www/server/bt-monitor/pyenv/lib/python3.7/site-packages/urllib3/connection.py", line 170, in _new_conn (self._dns_host, self.port), self.timeout, **extra_kw File "/www/server/bt-monitor/pyenv/lib/python3.7/site-packages/urllib3/util/connection.py", line 73, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/www/server/bt-monitor/pyenv/lib/python3.7/site-packages/gevent/_socketcommon.py", line 247, in getaddrinfo addrlist = get_hub().resolver.getaddrinfo(host, port, family, type, proto, flags) File "/www/server/bt-monitor/pyenv/lib/python3.7/site-packages/gevent/resolver/thread.py", line 63, in getaddrinfo return self.pool.apply(_socket.getaddrinfo, args, kwargs) File "/www/server/bt-monitor/pyenv/lib/python3.7/site-packages/gevent/pool.py", line 161, in apply return self.spawn(func, *args, **kwds).get() File "src/gevent/event.py", line 306, in gevent._gevent_cevent.AsyncResult.get File "src/gevent/event.py", line 336, in gevent._gevent_cevent.AsyncResult.get File "src/gevent/event.py", line 324, in gevent._gevent_cevent.AsyncResult.get File "src/gevent/event.py", line 304, in gevent._gevent_cevent.AsyncResult._raise_exception File "/www/server/bt-monitor/pyenv/lib/python3.7/site-packages/gevent/_compat.py", line 65, in reraise raise value.with_traceback(tb) File "/www/server/bt-monitor/pyenv/lib/python3.7/site-packages/gevent/threadpool.py", line 167, in __run_task thread_result.set(func(*args, **kwargs)) socket.gaierror: [Errno -9] Address family for hostname not supported During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/www/server/bt-monitor/pyenv/lib/python3.7/site-packages/urllib3/connectionpool.py", line 706, in urlopen chunked=chunked, File "/www/server/bt-monitor/pyenv/lib/python3.7/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/www/server/bt-monitor/pyenv/lib/python3.7/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/www/server/bt-monitor/pyenv/lib/python3.7/http/client.py", line 1277, in request self._send_request(method, url, body, headers, encode_chunked) File "/www/server/bt-monitor/pyenv/lib/python3.7/http/client.py", line 1323, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/www/server/bt-monitor/pyenv/lib/python3.7/http/client.py", line 1272, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/www/server/bt-monitor/pyenv/lib/python3.7/http/client.py", line 1032, in _send_output self.send(msg) File "/www/server/bt-monitor/pyenv/lib/python3.7/http/client.py", line 972, in send self.connect() File "/www/server/bt-monitor/pyenv/lib/python3.7/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/www/server/bt-monitor/pyenv/lib/python3.7/site-packages/urllib3/connection.py", line 182, in _new_conn self, "Failed to establish a new connection: %s" % e urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -9] Address family for hostname not supported During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/www/server/bt-monitor/pyenv/lib/python3.7/site-packages/requests/adapters.py", line 449, in send timeout=timeout File "/www/server/bt-monitor/pyenv/lib/python3.7/site-packages/urllib3/connectionpool.py", line 756, in urlopen method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2] File "/www/server/bt-monitor/pyenv/lib/python3.7/site-packages/urllib3/util/retry.py", line 573, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='xxx.xxx.xxx.xxx', port=xxxx): Max retries exceeded with url: /4cb05486/config?action=get_tmp_token (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -9] Address family for hostname not supported')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/www/server/bt-monitor/modules/cmproxyModule/main.py", line 245, in proxy VmVrGQo2zRokW/ZuO9bN6+rY0ICSH4zNT93fIW5/8nAZ86PpRnUeMaLxalvsGRg9NIrrssock0IzVHtAfWAs+X0KBcgevWBioqlCNtKGTGj8wfVdHw+bDeB8fSrueqUIQNiZ2AIj4rlNwtOnwPZhElj7mmcju7ivhrhX74Ewx3U= File "/www/server/bt-monitor/pyenv/lib/python3.7/site-packages/requests/sessions.py", line 590, in post return self.request('POST', url, data=data, json=json, **kwargs) File "/www/server/bt-monitor/pyenv/lib/python3.7/site-packages/requests/sessions.py", line 542, in request resp = self.send(prep, **send_kwargs) File "/www/server/bt-monitor/pyenv/lib/python3.7/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/www/server/bt-monitor/pyenv/lib/python3.7/site-packages/requests/adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='xxx.xxx.xxx.xxx', port=xxxx): Max retries exceeded with url: /xxxxxxxx/config?action=get_tmp_token (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -9] Address family for hostname not supported'))