Guest User

varken

a guest
Apr 19th, 2019
216
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 3.35 KB | None | 0 0
  1. During handling of the above exception, another exception occurred:
  2.  
  3. Traceback (most recent call last):
  4.   File "/usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py", line 600, in urlopen
  5.     chunked=chunked)
  6.   File "/usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py", line 354, in _make_request
  7.     conn.request(method, url, **httplib_request_kw)
  8.   File "/usr/local/lib/python3.7/http/client.py", line 1229, in request
  9.     self._send_request(method, url, body, headers, encode_chunked)
  10.   File "/usr/local/lib/python3.7/http/client.py", line 1275, in _send_request
  11.     self.endheaders(body, encode_chunked=encode_chunked)
  12.   File "/usr/local/lib/python3.7/http/client.py", line 1224, in endheaders
  13.     self._send_output(message_body, encode_chunked=encode_chunked)
  14.   File "/usr/local/lib/python3.7/http/client.py", line 1016, in _send_output
  15.     self.send(msg)
  16.   File "/usr/local/lib/python3.7/http/client.py", line 956, in send
  17.     self.connect()
  18.   File "/usr/local/lib/python3.7/site-packages/urllib3/connection.py", line 181, in connect
  19.     conn = self._new_conn()
  20.   File "/usr/local/lib/python3.7/site-packages/urllib3/connection.py", line 168, in _new_conn
  21.     self, "Failed to establish a new connection: %s" % e)
  22. urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f2d99a28128>: Failed to establish a new connection: [Errno -2] Name does not resolve
  23.  
  24. During handling of the above exception, another exception occurred:
  25.  
  26. Traceback (most recent call last):
  27.   File "/usr/local/lib/python3.7/site-packages/requests/adapters.py", line 449, in send
  28.     timeout=timeout
  29.   File "/usr/local/lib/python3.7/site-packages/urllib3/connectionpool.py", line 638, in urlopen
  30.     _stacktrace=sys.exc_info()[2])
  31.   File "/usr/local/lib/python3.7/site-packages/urllib3/util/retry.py", line 399, in increment
  32.     raise MaxRetryError(_pool, url, error or ResponseError(cause))
  33. 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'))
  34.  
  35. During handling of the above exception, another exception occurred:
  36.  
  37. Traceback (most recent call last):
  38.   File "/app/Varken.py", line 93, in <module>
  39.     DBMANAGER = DBManager(CONFIG.influx_server)
  40.   File "/app/varken/dbmanager.py", line 13, in __init__
  41.     version = self.influx.request('ping', expected_response_code=204).headers['X-Influxdb-Version']
  42.   File "/usr/local/lib/python3.7/site-packages/influxdb/client.py", line 267, in request
  43.     timeout=self._timeout
  44.   File "/usr/local/lib/python3.7/site-packages/requests/sessions.py", line 533, in request
  45.     resp = self.send(prep, **send_kwargs)
  46.   File "/usr/local/lib/python3.7/site-packages/requests/sessions.py", line 646, in send
  47.     r = adapter.send(request, **kwargs)
  48.   File "/usr/local/lib/python3.7/site-packages/requests/adapters.py", line 516, in send
  49.     raise ConnectionError(e, request=request)
  50. 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