Created
September 23, 2014 19:41
-
-
Save HenrikOssipoff/ac63060d4c18182719dd to your computer and use it in GitHub Desktop.
Traceback on bulk indexing
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
POST http://elasticsearch-test.cd-et.com:9200/_bulk [status:N/A request:10.353s] | |
Traceback (most recent call last): | |
File "/Users/Dapo/vir/pim.env/lib/python3.4/site-packages/urllib3/connectionpool.py", line 331, in _make_request | |
httplib_response = conn.getresponse(buffering=True) | |
TypeError: getresponse() got an unexpected keyword argument 'buffering' | |
During handling of the above exception, another exception occurred: | |
Traceback (most recent call last): | |
File "/Users/Dapo/vir/pim.env/lib/python3.4/site-packages/urllib3/connectionpool.py", line 333, in _make_request | |
httplib_response = conn.getresponse() | |
File "/usr/local/Cellar/python3/3.4.0_1/Frameworks/Python.framework/Versions/3.4/lib/python3.4/http/client.py", line 1148, in getresponse | |
response.begin() | |
File "/usr/local/Cellar/python3/3.4.0_1/Frameworks/Python.framework/Versions/3.4/lib/python3.4/http/client.py", line 352, in begin | |
version, status, reason = self._read_status() | |
File "/usr/local/Cellar/python3/3.4.0_1/Frameworks/Python.framework/Versions/3.4/lib/python3.4/http/client.py", line 314, in _read_status | |
line = str(self.fp.readline(_MAXLINE + 1), "iso-8859-1") | |
File "/usr/local/Cellar/python3/3.4.0_1/Frameworks/Python.framework/Versions/3.4/lib/python3.4/socket.py", line 371, 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 "/Users/Dapo/vir/pim.env/lib/python3.4/site-packages/elasticsearch/connection/http_urllib3.py", line 46, in perform_request | |
response = self.pool.urlopen(method, url, body, retries=False, headers=headers, **kw) | |
File "/Users/Dapo/vir/pim.env/lib/python3.4/site-packages/urllib3/connectionpool.py", line 559, in urlopen | |
_pool=self, _stacktrace=stacktrace) | |
File "/Users/Dapo/vir/pim.env/lib/python3.4/site-packages/urllib3/util/retry.py", line 223, in increment | |
raise six.reraise(type(error), error, _stacktrace) | |
File "/Users/Dapo/vir/pim.env/lib/python3.4/site-packages/urllib3/packages/six.py", line 310, in reraise | |
raise value | |
File "/Users/Dapo/vir/pim.env/lib/python3.4/site-packages/urllib3/connectionpool.py", line 516, in urlopen | |
body=body, headers=headers) | |
File "/Users/Dapo/vir/pim.env/lib/python3.4/site-packages/urllib3/connectionpool.py", line 336, in _make_request | |
self, url, "Read timed out. (read timeout=%s)" % read_timeout) | |
urllib3.exceptions.ReadTimeoutError: HTTPConnectionPool(host='elasticsearch-test.cd-et.com', port=9200): Read timed out. (read timeout=10) | |
Connection <Urllib3HttpConnection: http://elasticsearch-test.cd-et.com:9200> has failed for 1 times in a row, putting on 60 second timeout. | |
POST http://elasticsearch-test.cd-et.com:9200/_bulk [status:N/A request:0.374s] | |
Traceback (most recent call last): | |
File "/Users/Dapo/vir/pim.env/lib/python3.4/site-packages/urllib3/connectionpool.py", line 516, in urlopen | |
body=body, headers=headers) | |
File "/Users/Dapo/vir/pim.env/lib/python3.4/site-packages/urllib3/connectionpool.py", line 308, in _make_request | |
conn.request(method, url, **httplib_request_kw) | |
File "/usr/local/Cellar/python3/3.4.0_1/Frameworks/Python.framework/Versions/3.4/lib/python3.4/http/client.py", line 1066, in request | |
self._send_request(method, url, body, headers) | |
File "/usr/local/Cellar/python3/3.4.0_1/Frameworks/Python.framework/Versions/3.4/lib/python3.4/http/client.py", line 1104, in _send_request | |
self.endheaders(body) | |
File "/usr/local/Cellar/python3/3.4.0_1/Frameworks/Python.framework/Versions/3.4/lib/python3.4/http/client.py", line 1062, in endheaders | |
self._send_output(message_body) | |
File "/usr/local/Cellar/python3/3.4.0_1/Frameworks/Python.framework/Versions/3.4/lib/python3.4/http/client.py", line 911, in _send_output | |
self.send(message_body) | |
File "/usr/local/Cellar/python3/3.4.0_1/Frameworks/Python.framework/Versions/3.4/lib/python3.4/http/client.py", line 873, in send | |
self.sock.sendall(data) | |
BlockingIOError: [Errno 35] Resource temporarily unavailable | |
During handling of the above exception, another exception occurred: | |
Traceback (most recent call last): | |
File "/Users/Dapo/vir/pim.env/lib/python3.4/site-packages/elasticsearch/connection/http_urllib3.py", line 46, in perform_request | |
response = self.pool.urlopen(method, url, body, retries=False, headers=headers, **kw) | |
File "/Users/Dapo/vir/pim.env/lib/python3.4/site-packages/urllib3/connectionpool.py", line 559, in urlopen | |
_pool=self, _stacktrace=stacktrace) | |
File "/Users/Dapo/vir/pim.env/lib/python3.4/site-packages/urllib3/util/retry.py", line 223, in increment | |
raise six.reraise(type(error), error, _stacktrace) | |
File "/Users/Dapo/vir/pim.env/lib/python3.4/site-packages/urllib3/packages/six.py", line 309, in reraise | |
raise value.with_traceback(tb) | |
File "/Users/Dapo/vir/pim.env/lib/python3.4/site-packages/urllib3/connectionpool.py", line 516, in urlopen | |
body=body, headers=headers) | |
File "/Users/Dapo/vir/pim.env/lib/python3.4/site-packages/urllib3/connectionpool.py", line 308, in _make_request | |
conn.request(method, url, **httplib_request_kw) | |
File "/usr/local/Cellar/python3/3.4.0_1/Frameworks/Python.framework/Versions/3.4/lib/python3.4/http/client.py", line 1066, in request | |
self._send_request(method, url, body, headers) | |
File "/usr/local/Cellar/python3/3.4.0_1/Frameworks/Python.framework/Versions/3.4/lib/python3.4/http/client.py", line 1104, in _send_request | |
self.endheaders(body) | |
File "/usr/local/Cellar/python3/3.4.0_1/Frameworks/Python.framework/Versions/3.4/lib/python3.4/http/client.py", line 1062, in endheaders | |
self._send_output(message_body) | |
File "/usr/local/Cellar/python3/3.4.0_1/Frameworks/Python.framework/Versions/3.4/lib/python3.4/http/client.py", line 911, in _send_output | |
self.send(message_body) | |
File "/usr/local/Cellar/python3/3.4.0_1/Frameworks/Python.framework/Versions/3.4/lib/python3.4/http/client.py", line 873, in send | |
self.sock.sendall(data) | |
urllib3.exceptions.ProtocolError: ('Connection aborted.', BlockingIOError(35, 'Resource temporarily unavailable')) | |
Connection <Urllib3HttpConnection: http://elasticsearch-test.cd-et.com:9200> has failed for 2 times in a row, putting on 120 second timeout. | |
POST http://elasticsearch-test.cd-et.com:9200/_bulk [status:N/A request:0.306s] | |
Traceback (most recent call last): | |
File "/Users/Dapo/vir/pim.env/lib/python3.4/site-packages/urllib3/connectionpool.py", line 516, in urlopen | |
body=body, headers=headers) | |
File "/Users/Dapo/vir/pim.env/lib/python3.4/site-packages/urllib3/connectionpool.py", line 308, in _make_request | |
conn.request(method, url, **httplib_request_kw) | |
File "/usr/local/Cellar/python3/3.4.0_1/Frameworks/Python.framework/Versions/3.4/lib/python3.4/http/client.py", line 1066, in request | |
self._send_request(method, url, body, headers) | |
File "/usr/local/Cellar/python3/3.4.0_1/Frameworks/Python.framework/Versions/3.4/lib/python3.4/http/client.py", line 1104, in _send_request | |
self.endheaders(body) | |
File "/usr/local/Cellar/python3/3.4.0_1/Frameworks/Python.framework/Versions/3.4/lib/python3.4/http/client.py", line 1062, in endheaders | |
self._send_output(message_body) | |
File "/usr/local/Cellar/python3/3.4.0_1/Frameworks/Python.framework/Versions/3.4/lib/python3.4/http/client.py", line 911, in _send_output | |
self.send(message_body) | |
File "/usr/local/Cellar/python3/3.4.0_1/Frameworks/Python.framework/Versions/3.4/lib/python3.4/http/client.py", line 873, in send | |
self.sock.sendall(data) | |
BlockingIOError: [Errno 35] Resource temporarily unavailable | |
During handling of the above exception, another exception occurred: | |
Traceback (most recent call last): | |
File "/Users/Dapo/vir/pim.env/lib/python3.4/site-packages/elasticsearch/connection/http_urllib3.py", line 46, in perform_request | |
response = self.pool.urlopen(method, url, body, retries=False, headers=headers, **kw) | |
File "/Users/Dapo/vir/pim.env/lib/python3.4/site-packages/urllib3/connectionpool.py", line 559, in urlopen | |
_pool=self, _stacktrace=stacktrace) | |
File "/Users/Dapo/vir/pim.env/lib/python3.4/site-packages/urllib3/util/retry.py", line 223, in increment | |
raise six.reraise(type(error), error, _stacktrace) | |
File "/Users/Dapo/vir/pim.env/lib/python3.4/site-packages/urllib3/packages/six.py", line 309, in reraise | |
raise value.with_traceback(tb) | |
File "/Users/Dapo/vir/pim.env/lib/python3.4/site-packages/urllib3/connectionpool.py", line 516, in urlopen | |
body=body, headers=headers) | |
File "/Users/Dapo/vir/pim.env/lib/python3.4/site-packages/urllib3/connectionpool.py", line 308, in _make_request | |
conn.request(method, url, **httplib_request_kw) | |
File "/usr/local/Cellar/python3/3.4.0_1/Frameworks/Python.framework/Versions/3.4/lib/python3.4/http/client.py", line 1066, in request | |
self._send_request(method, url, body, headers) | |
File "/usr/local/Cellar/python3/3.4.0_1/Frameworks/Python.framework/Versions/3.4/lib/python3.4/http/client.py", line 1104, in _send_request | |
self.endheaders(body) | |
File "/usr/local/Cellar/python3/3.4.0_1/Frameworks/Python.framework/Versions/3.4/lib/python3.4/http/client.py", line 1062, in endheaders | |
self._send_output(message_body) | |
File "/usr/local/Cellar/python3/3.4.0_1/Frameworks/Python.framework/Versions/3.4/lib/python3.4/http/client.py", line 911, in _send_output | |
self.send(message_body) | |
File "/usr/local/Cellar/python3/3.4.0_1/Frameworks/Python.framework/Versions/3.4/lib/python3.4/http/client.py", line 873, in send | |
self.sock.sendall(data) | |
urllib3.exceptions.ProtocolError: ('Connection aborted.', BlockingIOError(35, 'Resource temporarily unavailable')) | |
Connection <Urllib3HttpConnection: http://elasticsearch-test.cd-et.com:9200> has failed for 3 times in a row, putting on 240 second timeout. | |
POST http://elasticsearch-test.cd-et.com:9200/_bulk [status:N/A request:0.536s] | |
Traceback (most recent call last): | |
File "/Users/Dapo/vir/pim.env/lib/python3.4/site-packages/urllib3/connectionpool.py", line 516, in urlopen | |
body=body, headers=headers) | |
File "/Users/Dapo/vir/pim.env/lib/python3.4/site-packages/urllib3/connectionpool.py", line 308, in _make_request | |
conn.request(method, url, **httplib_request_kw) | |
File "/usr/local/Cellar/python3/3.4.0_1/Frameworks/Python.framework/Versions/3.4/lib/python3.4/http/client.py", line 1066, in request | |
self._send_request(method, url, body, headers) | |
File "/usr/local/Cellar/python3/3.4.0_1/Frameworks/Python.framework/Versions/3.4/lib/python3.4/http/client.py", line 1104, in _send_request | |
self.endheaders(body) | |
File "/usr/local/Cellar/python3/3.4.0_1/Frameworks/Python.framework/Versions/3.4/lib/python3.4/http/client.py", line 1062, in endheaders | |
self._send_output(message_body) | |
File "/usr/local/Cellar/python3/3.4.0_1/Frameworks/Python.framework/Versions/3.4/lib/python3.4/http/client.py", line 911, in _send_output | |
self.send(message_body) | |
File "/usr/local/Cellar/python3/3.4.0_1/Frameworks/Python.framework/Versions/3.4/lib/python3.4/http/client.py", line 873, in send | |
self.sock.sendall(data) | |
BlockingIOError: [Errno 35] Resource temporarily unavailable | |
During handling of the above exception, another exception occurred: | |
Traceback (most recent call last): | |
File "/Users/Dapo/vir/pim.env/lib/python3.4/site-packages/elasticsearch/connection/http_urllib3.py", line 46, in perform_request | |
response = self.pool.urlopen(method, url, body, retries=False, headers=headers, **kw) | |
File "/Users/Dapo/vir/pim.env/lib/python3.4/site-packages/urllib3/connectionpool.py", line 559, in urlopen | |
_pool=self, _stacktrace=stacktrace) | |
File "/Users/Dapo/vir/pim.env/lib/python3.4/site-packages/urllib3/util/retry.py", line 223, in increment | |
raise six.reraise(type(error), error, _stacktrace) | |
File "/Users/Dapo/vir/pim.env/lib/python3.4/site-packages/urllib3/packages/six.py", line 309, in reraise | |
raise value.with_traceback(tb) | |
File "/Users/Dapo/vir/pim.env/lib/python3.4/site-packages/urllib3/connectionpool.py", line 516, in urlopen | |
body=body, headers=headers) | |
File "/Users/Dapo/vir/pim.env/lib/python3.4/site-packages/urllib3/connectionpool.py", line 308, in _make_request | |
conn.request(method, url, **httplib_request_kw) | |
File "/usr/local/Cellar/python3/3.4.0_1/Frameworks/Python.framework/Versions/3.4/lib/python3.4/http/client.py", line 1066, in request | |
self._send_request(method, url, body, headers) | |
File "/usr/local/Cellar/python3/3.4.0_1/Frameworks/Python.framework/Versions/3.4/lib/python3.4/http/client.py", line 1104, in _send_request | |
self.endheaders(body) | |
File "/usr/local/Cellar/python3/3.4.0_1/Frameworks/Python.framework/Versions/3.4/lib/python3.4/http/client.py", line 1062, in endheaders | |
self._send_output(message_body) | |
File "/usr/local/Cellar/python3/3.4.0_1/Frameworks/Python.framework/Versions/3.4/lib/python3.4/http/client.py", line 911, in _send_output | |
self.send(message_body) | |
File "/usr/local/Cellar/python3/3.4.0_1/Frameworks/Python.framework/Versions/3.4/lib/python3.4/http/client.py", line 873, in send | |
self.sock.sendall(data) | |
urllib3.exceptions.ProtocolError: ('Connection aborted.', BlockingIOError(35, 'Resource temporarily unavailable')) | |
Connection <Urllib3HttpConnection: http://elasticsearch-test.cd-et.com:9200> has failed for 4 times in a row, putting on 480 second timeout. | |
Traceback (most recent call last): | |
File "/Users/Dapo/vir/pim.env/lib/python3.4/site-packages/urllib3/connectionpool.py", line 516, in urlopen | |
body=body, headers=headers) | |
File "/Users/Dapo/vir/pim.env/lib/python3.4/site-packages/urllib3/connectionpool.py", line 308, in _make_request | |
conn.request(method, url, **httplib_request_kw) | |
File "/usr/local/Cellar/python3/3.4.0_1/Frameworks/Python.framework/Versions/3.4/lib/python3.4/http/client.py", line 1066, in request | |
self._send_request(method, url, body, headers) | |
File "/usr/local/Cellar/python3/3.4.0_1/Frameworks/Python.framework/Versions/3.4/lib/python3.4/http/client.py", line 1104, in _send_request | |
self.endheaders(body) | |
File "/usr/local/Cellar/python3/3.4.0_1/Frameworks/Python.framework/Versions/3.4/lib/python3.4/http/client.py", line 1062, in endheaders | |
self._send_output(message_body) | |
File "/usr/local/Cellar/python3/3.4.0_1/Frameworks/Python.framework/Versions/3.4/lib/python3.4/http/client.py", line 911, in _send_output | |
self.send(message_body) | |
File "/usr/local/Cellar/python3/3.4.0_1/Frameworks/Python.framework/Versions/3.4/lib/python3.4/http/client.py", line 873, in send | |
self.sock.sendall(data) | |
BlockingIOError: [Errno 35] Resource temporarily unavailable | |
During handling of the above exception, another exception occurred: | |
Traceback (most recent call last): | |
File "/Users/Dapo/vir/pim.env/lib/python3.4/site-packages/elasticsearch/connection/http_urllib3.py", line 46, in perform_request | |
response = self.pool.urlopen(method, url, body, retries=False, headers=headers, **kw) | |
File "/Users/Dapo/vir/pim.env/lib/python3.4/site-packages/urllib3/connectionpool.py", line 559, in urlopen | |
_pool=self, _stacktrace=stacktrace) | |
File "/Users/Dapo/vir/pim.env/lib/python3.4/site-packages/urllib3/util/retry.py", line 223, in increment | |
raise six.reraise(type(error), error, _stacktrace) | |
File "/Users/Dapo/vir/pim.env/lib/python3.4/site-packages/urllib3/packages/six.py", line 309, in reraise | |
raise value.with_traceback(tb) | |
File "/Users/Dapo/vir/pim.env/lib/python3.4/site-packages/urllib3/connectionpool.py", line 516, in urlopen | |
body=body, headers=headers) | |
File "/Users/Dapo/vir/pim.env/lib/python3.4/site-packages/urllib3/connectionpool.py", line 308, in _make_request | |
conn.request(method, url, **httplib_request_kw) | |
File "/usr/local/Cellar/python3/3.4.0_1/Frameworks/Python.framework/Versions/3.4/lib/python3.4/http/client.py", line 1066, in request | |
self._send_request(method, url, body, headers) | |
File "/usr/local/Cellar/python3/3.4.0_1/Frameworks/Python.framework/Versions/3.4/lib/python3.4/http/client.py", line 1104, in _send_request | |
self.endheaders(body) | |
File "/usr/local/Cellar/python3/3.4.0_1/Frameworks/Python.framework/Versions/3.4/lib/python3.4/http/client.py", line 1062, in endheaders | |
self._send_output(message_body) | |
File "/usr/local/Cellar/python3/3.4.0_1/Frameworks/Python.framework/Versions/3.4/lib/python3.4/http/client.py", line 911, in _send_output | |
self.send(message_body) | |
File "/usr/local/Cellar/python3/3.4.0_1/Frameworks/Python.framework/Versions/3.4/lib/python3.4/http/client.py", line 873, in send | |
self.sock.sendall(data) | |
urllib3.exceptions.ProtocolError: ('Connection aborted.', BlockingIOError(35, 'Resource temporarily unavailable')) | |
During handling of the above exception, another exception occurred: | |
Traceback (most recent call last): | |
File "./manage.py", line 10, in <module> | |
execute_from_command_line(sys.argv) | |
File "/Users/Dapo/vir/pim.env/lib/python3.4/site-packages/django/core/management/__init__.py", line 385, in execute_from_command_line | |
utility.execute() | |
File "/Users/Dapo/vir/pim.env/lib/python3.4/site-packages/django/core/management/__init__.py", line 377, in execute | |
self.fetch_command(subcommand).run_from_argv(self.argv) | |
File "/Users/Dapo/vir/pim.env/lib/python3.4/site-packages/django/core/management/base.py", line 288, in run_from_argv | |
self.execute(*args, **options.__dict__) | |
File "/Users/Dapo/vir/pim.env/lib/python3.4/site-packages/django/core/management/base.py", line 338, in execute | |
output = self.handle(*args, **options) | |
File "/Users/Dapo/dev/pim/pim/management/commands/shittest.py", line 93, in handle | |
helpers.bulk(es, actions) | |
File "/Users/Dapo/vir/pim.env/lib/python3.4/site-packages/elasticsearch/helpers/__init__.py", line 145, in bulk | |
for ok, item in streaming_bulk(client, actions, **kwargs): | |
File "/Users/Dapo/vir/pim.env/lib/python3.4/site-packages/elasticsearch/helpers/__init__.py", line 104, in streaming_bulk | |
resp = client.bulk(bulk_actions, **kwargs) | |
File "/Users/Dapo/vir/pim.env/lib/python3.4/site-packages/elasticsearch/client/utils.py", line 68, in _wrapped | |
return func(*args, params=params, **kwargs) | |
File "/Users/Dapo/vir/pim.env/lib/python3.4/site-packages/elasticsearch/client/__init__.py", line 646, in bulk | |
params=params, body=self._bulk_body(body)) | |
File "/Users/Dapo/vir/pim.env/lib/python3.4/site-packages/elasticsearch/transport.py", line 284, in perform_request | |
status, headers, data = connection.perform_request(method, url, params, body, ignore=ignore, timeout=timeout) | |
File "/Users/Dapo/vir/pim.env/lib/python3.4/site-packages/elasticsearch/connection/http_urllib3.py", line 51, in perform_request | |
raise ConnectionError('N/A', str(e), e) | |
elasticsearch.exceptions.ConnectionError: ConnectionError(('Connection aborted.', BlockingIOError(35, 'Resource temporarily unavailable'))) caused by: ProtocolError(('Connection aborted.', BlockingIOError(35, 'Resource temporarily unavailable'))) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment