Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- During handling of the above exception, another exception occurred:
- Traceback (most recent call last):
- File "/usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py", line 600, in urlopen
- chunked=chunked)
- File "/usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py", line 354, in _make_request
- conn.request(method, url, **httplib_request_kw)
- File "/usr/local/lib/python3.7/http/client.py", line 1229, in request
- self._send_request(method, url, body, headers, encode_chunked)
- File "/usr/local/lib/python3.7/http/client.py", line 1275, in _send_request
- self.endheaders(body, encode_chunked=encode_chunked)
- File "/usr/local/lib/python3.7/http/client.py", line 1224, in endheaders
- self._send_output(message_body, encode_chunked=encode_chunked)
- File "/usr/local/lib/python3.7/http/client.py", line 1016, in _send_output
- self.send(msg)
- File "/usr/local/lib/python3.7/http/client.py", line 956, in send
- self.connect()
- File "/usr/local/lib/python3.7/site-packages/urllib3/connection.py", line 181, in connect
- conn = self._new_conn()
- File "/usr/local/lib/python3.7/site-packages/urllib3/connection.py", line 168, in _new_conn
- self, "Failed to establish a new connection: %s" % e)
- urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f2d99a28128>: Failed to establish a new connection: [Errno -2] Name does not resolve
- During handling of the above exception, another exception occurred:
- Traceback (most recent call last):
- File "/usr/local/lib/python3.7/site-packages/requests/adapters.py", line 449, in send
- timeout=timeout
- File "/usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py", line 638, in urlopen
- _stacktrace=sys.exc_info()[2])
- File "/usr/local/lib/python3.7/site-packages/urllib3/util/retry.py", line 399, in increment
- raise MaxRetryError(_pool, url, error or ResponseError(cause))
- urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='influxdb.domain.tld', port=8086): Max retries exceeded with url: /ping (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f2d99a28128>: Failed to establish a new connection: [Errno -2] Name does not resolve'))
- During handling of the above exception, another exception occurred:
- Traceback (most recent call last):
- File "/app/Varken.py", line 93, in <module>
- DBMANAGER = DBManager(CONFIG.influx_server)
- File "/app/varken/dbmanager.py", line 13, in __init__
- version = self.influx.request('ping', expected_response_code=204).headers['X-Influxdb-Version']
- File "/usr/local/lib/python3.7/site-packages/influxdb/client.py", line 267, in request
- timeout=self._timeout
- File "/usr/local/lib/python3.7/site-packages/requests/sessions.py", line 533, in request
- resp = self.send(prep, **send_kwargs)
- File "/usr/local/lib/python3.7/site-packages/requests/sessions.py", line 646, in send
- r = adapter.send(request, **kwargs)
- File "/usr/local/lib/python3.7/site-packages/requests/adapters.py", line 516, in send
- raise ConnectionError(e, request=request)
- requests.exceptions.ConnectionError: HTTPConnectionPool(host='influxdb.domain.tld', port=8086): Max retries exceeded with url: /ping (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f2d99a28128>: Failed to establish a new connection: [Errno -2] Name does not resolve'))
Advertisement
Add Comment
Please, Sign In to add comment