Created
August 13, 2018 22:30
-
-
Save portante/07cb419dc4cfbce915320c8dc8a1aecd to your computer and use it in GitHub Desktop.
Python3 double exceptions from elasticsearch1 logging output
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
! Traceback (most recent call last): | |
! File "/opt/rh/rh-python36/root/usr/lib/python3.6/site-packages/urllib3/connectionpool.py", line 387, in _make_request | |
! six.raise_from(e, None) | |
! File "<string>", line 2, in raise_from | |
! File "/opt/rh/rh-python36/root/usr/lib/python3.6/site-packages/urllib3/connectionpool.py", line 383, in _make_request | |
! httplib_response = conn.getresponse() | |
! File "/opt/rh/rh-python36/root/usr/lib64/python3.6/http/client.py", line 1331, in getresponse | |
! response.begin() | |
! File "/opt/rh/rh-python36/root/usr/lib64/python3.6/http/client.py", line 297, in begin | |
! version, status, reason = self._read_status() | |
! File "/opt/rh/rh-python36/root/usr/lib64/python3.6/http/client.py", line 258, in _read_status | |
! line = str(self.fp.readline(_MAXLINE + 1), "iso-8859-1") | |
! File "/opt/rh/rh-python36/root/usr/lib64/python3.6/socket.py", line 586, in readinto | |
! return self._sock.recv_into(b) | |
! socket.timeout: timed out | |
! | |
! During handling of the above exception, another exception occurred: | |
! | |
! Traceback (most recent call last): | |
! File "/opt/rh/rh-python36/root/usr/lib/python3.6/site-packages/elasticsearch1/connection/http_urllib3.py", line 78, in perform_request | |
! response = self.pool.urlopen(method, url, body, retries=False, headers=self.headers, **kw) | |
! File "/opt/rh/rh-python36/root/usr/lib/python3.6/site-packages/urllib3/connectionpool.py", line 639, in urlopen | |
! _stacktrace=sys.exc_info()[2]) | |
! File "/opt/rh/rh-python36/root/usr/lib/python3.6/site-packages/urllib3/util/retry.py", line 333, in increment | |
! raise six.reraise(type(error), error, _stacktrace) | |
! File "/opt/rh/rh-python36/root/usr/lib/python3.6/site-packages/urllib3/packages/six.py", line 686, in reraise | |
! raise value | |
! File "/opt/rh/rh-python36/root/usr/lib/python3.6/site-packages/urllib3/connectionpool.py", line 601, in urlopen | |
! chunked=chunked) | |
! File "/opt/rh/rh-python36/root/usr/lib/python3.6/site-packages/urllib3/connectionpool.py", line 389, in _make_request | |
! self._raise_timeout(err=e, url=url, timeout_value=read_timeout) | |
! File "/opt/rh/rh-python36/root/usr/lib/python3.6/site-packages/urllib3/connectionpool.py", line 309, in _raise_timeout | |
! raise ReadTimeoutError(self, url, "Read timed out. (read timeout=%s)" % timeout_value) | |
! urllib3.exceptions.ReadTimeoutError: HTTPConnectionPool(host='elasticsearch.perf.lab.eng.bos.redhat.com', port='9280'): Read timed out. (read timeout=10.0) | |
! | |
! POST http://elasticsearch.perf.lab.eng.bos.redhat.com:9280/_bulk [status:N/A request:10.016s] | |
! Traceback (most recent call last): | |
! File "/opt/rh/rh-python36/root/usr/lib/python3.6/site-packages/urllib3/connectionpool.py", line 387, in _make_request | |
! six.raise_from(e, None) | |
! File "<string>", line 2, in raise_from | |
! File "/opt/rh/rh-python36/root/usr/lib/python3.6/site-packages/urllib3/connectionpool.py", line 383, in _make_request | |
! httplib_response = conn.getresponse() | |
! File "/opt/rh/rh-python36/root/usr/lib64/python3.6/http/client.py", line 1331, in getresponse | |
! response.begin() | |
! File "/opt/rh/rh-python36/root/usr/lib64/python3.6/http/client.py", line 297, in begin | |
! version, status, reason = self._read_status() | |
! File "/opt/rh/rh-python36/root/usr/lib64/python3.6/http/client.py", line 258, in _read_status | |
! line = str(self.fp.readline(_MAXLINE + 1), "iso-8859-1") | |
! File "/opt/rh/rh-python36/root/usr/lib64/python3.6/socket.py", line 586, in readinto | |
! return self._sock.recv_into(b) | |
! socket.timeout: timed out | |
! | |
! During handling of the above exception, another exception occurred: | |
! | |
! Traceback (most recent call last): | |
! File "/opt/rh/rh-python36/root/usr/lib/python3.6/site-packages/elasticsearch1/connection/http_urllib3.py", line 78, in perform_request | |
! response = self.pool.urlopen(method, url, body, retries=False, headers=self.headers, **kw) | |
! File "/opt/rh/rh-python36/root/usr/lib/python3.6/site-packages/urllib3/connectionpool.py", line 639, in urlopen | |
! _stacktrace=sys.exc_info()[2]) | |
! File "/opt/rh/rh-python36/root/usr/lib/python3.6/site-packages/urllib3/util/retry.py", line 333, in increment | |
! raise six.reraise(type(error), error, _stacktrace) | |
! File "/opt/rh/rh-python36/root/usr/lib/python3.6/site-packages/urllib3/packages/six.py", line 686, in reraise | |
! raise value | |
! File "/opt/rh/rh-python36/root/usr/lib/python3.6/site-packages/urllib3/connectionpool.py", line 601, in urlopen | |
! chunked=chunked) | |
! File "/opt/rh/rh-python36/root/usr/lib/python3.6/site-packages/urllib3/connectionpool.py", line 389, in _make_request | |
! self._raise_timeout(err=e, url=url, timeout_value=read_timeout) | |
! File "/opt/rh/rh-python36/root/usr/lib/python3.6/site-packages/urllib3/connectionpool.py", line 309, in _raise_timeout | |
! raise ReadTimeoutError(self, url, "Read timed out. (read timeout=%s)" % timeout_value) | |
! urllib3.exceptions.ReadTimeoutError: HTTPConnectionPool(host='elasticsearch.perf.lab.eng.bos.redhat.com', port='9280'): Read timed out. (read timeout=10.0) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment