Hi,
Thanks for the suggesstion. I increased the timeout to 120 but still the same issue persists.
From the Rally logs
2022-03-29 06:59:35,339 -not-actor-/PID:18593 elasticsearch WARNING POST http://172.29.183.13:9200/_bulk [status:N/A request:1.234s]
Traceback (most recent call last):
File "/root/.pyenv/versions/3.8.10/lib/python3.8/site-packages/elasticsearch/_async/http_aiohttp.py", line 291, in perform_request
async with self.session.request(
File "/root/.pyenv/versions/3.8.10/lib/python3.8/site-packages/aiohttp/client.py", line 1138, in __aenter__
self._resp = await self._coro
File "/root/.pyenv/versions/3.8.10/lib/python3.8/site-packages/aiohttp/client.py", line 559, in _request
await resp.start(conn)
File "/root/.pyenv/versions/3.8.10/lib/python3.8/site-packages/aiohttp/client_reqrep.py", line 898, in start
message, payload = await protocol.read() # type: ignore[union-attr]
File "/root/.pyenv/versions/3.8.10/lib/python3.8/site-packages/aiohttp/streams.py", line 616, in read
await self._waiter
aiohttp.client_exceptions.ClientOSError: [Errno 104] Connection reset by peer
2022-03-29 06:59:35,341 -not-actor-/PID:18592 elasticsearch WARNING POST http://172.29.183.13:9200/_bulk [status:N/A request:2.862s]
Traceback (most recent call last):
File "/root/.pyenv/versions/3.8.10/lib/python3.8/site-packages/elasticsearch/_async/http_aiohttp.py", line 291, in perform_request
async with self.session.request(
File "/root/.pyenv/versions/3.8.10/lib/python3.8/site-packages/aiohttp/client.py", line 1138, in __aenter__
self._resp = await self._coro
File "/root/.pyenv/versions/3.8.10/lib/python3.8/site-packages/aiohttp/client.py", line 559, in _request
await resp.start(conn)
File "/root/.pyenv/versions/3.8.10/lib/python3.8/site-packages/aiohttp/client_reqrep.py", line 898, in start
message, payload = await protocol.read() # type: ignore[union-attr]
File "/root/.pyenv/versions/3.8.10/lib/python3.8/site-packages/aiohttp/streams.py", line 616, in read
await self._waiter
aiohttp.client_exceptions.ServerDisconnectedError: Server disconnected
2022-03-29 06:59:35,341 -not-actor-/PID:18596 elasticsearch WARNING POST http://172.29.183.13:9200/_bulk [status:N/A request:2.944s]
Traceback (most recent call last):
File "/root/.pyenv/versions/3.8.10/lib/python3.8/site-packages/elasticsearch/_async/http_aiohttp.py", line 291, in perform_request
async with self.session.request(
File "/root/.pyenv/versions/3.8.10/lib/python3.8/site-packages/aiohttp/client.py", line 1138, in __aenter__
self._resp = await self._coro
File "/root/.pyenv/versions/3.8.10/lib/python3.8/site-packages/aiohttp/client.py", line 559, in _request
await resp.start(conn)
File "/root/.pyenv/versions/3.8.10/lib/python3.8/site-packages/aiohttp/client_reqrep.py", line 898, in start
message, payload = await protocol.read() # type: ignore[union-attr]
File "/root/.pyenv/versions/3.8.10/lib/python3.8/site-packages/aiohttp/streams.py", line 616, in read
await self._waiter
aiohttp.client_exceptions.ServerDisconnectedError: Server disconnected
2022-03-29 06:59:35,341 -not-actor-/PID:18595 elasticsearch WARNING POST http://172.29.183.13:9200/_bulk [status:N/A request:2.869s]
Traceback (most recent call last):
File "/root/.pyenv/versions/3.8.10/lib/python3.8/site-packages/elasticsearch/_async/http_aiohttp.py", line 291, in perform_request
async with self.session.request(
File "/root/.pyenv/versions/3.8.10/lib/python3.8/site-packages/aiohttp/client.py", line 1138, in __aenter__
self._resp = await self._coro
File "/root/.pyenv/versions/3.8.10/lib/python3.8/site-packages/aiohttp/client.py", line 559, in _request
await resp.start(conn)
File "/root/.pyenv/versions/3.8.10/lib/python3.8/site-packages/aiohttp/client_reqrep.py", line 898, in start
message, payload = await protocol.read() # type: ignore[union-attr]
File "/root/.pyenv/versions/3.8.10/lib/python3.8/site-packages/aiohttp/streams.py", line 616, in read
await self._waiter
aiohttp.client_exceptions.ServerDisconnectedError: Server disconnected
2022-03-29 06:59:35,341 -not-actor-/PID:18594 elasticsearch WARNING POST http://172.29.183.13:9200/_bulk [status:N/A request:3.001s]
Traceback (most recent call last):
File "/root/.pyenv/versions/3.8.10/lib/python3.8/site-packages/elasticsearch/_async/http_aiohttp.py", line 291, in perform_request
async with self.session.request(
File "/root/.pyenv/versions/3.8.10/lib/python3.8/site-packages/aiohttp/client.py", line 1138, in __aenter__
self._resp = await self._coro
File "/root/.pyenv/versions/3.8.10/lib/python3.8/site-packages/aiohttp/client.py", line 559, in _request
await resp.start(conn)
File "/root/.pyenv/versions/3.8.10/lib/python3.8/site-packages/aiohttp/client_reqrep.py", line 898, in start
message, payload = await protocol.read() # type: ignore[union-attr]
File "/root/.pyenv/versions/3.8.10/lib/python3.8/site-packages/aiohttp/streams.py", line 616, in read
await self._waiter
aiohttp.client_exceptions.ServerDisconnectedError: Server disconnected
2022-03-29 06:59:35,345 -not-actor-/PID:18593 elasticsearch WARNING Connection <AIOHttpConnection: http://172.29.183.13:9200> has failed for 1 times in a row, putting on 60 second timeout.
2022-03-29 06:59:35,347 -not-actor-/PID:18592 elasticsearch WARNING Connection <AIOHttpConnection: http://172.29.183.13:9200> has failed for 1 times in a row, putting on 60 second timeout.
2022-03-29 06:59:35,349 -not-actor-/PID:18594 elasticsearch WARNING Connection <AIOHttpConnection: http://172.29.183.13:9200> has failed for 1 times in a row, putting on 60 second timeout.
2022-03-29 06:59:35,350 -not-actor-/PID:18596 elasticsearch WARNING Connection <AIOHttpConnection: http://172.29.183.13:9200> has failed for 1 times in a row, putting on 60 second timeout.
2022-03-29 06:59:35,352 -not-actor-/PID:18595 elasticsearch WARNING Connection <AIOHttpConnection: http://172.29.183.13:9200> has failed for 1 times in a row, putting on 60 second timeout.
2022-03-29 06:59:35,352 -not-actor-/PID:18593 elasticsearch WARNING POST http://172.29.183.13:9200/_bulk [status:N/A request:2.650s]
Traceback (most recent call last):
File "/root/.pyenv/versions/3.8.10/lib/python3.8/site-packages/elasticsearch/_async/http_aiohttp.py", line 291, in perform_request
async with self.session.request(
File "/root/.pyenv/versions/3.8.10/lib/python3.8/site-packages/aiohttp/client.py", line 1138, in __aenter__
self._resp = await self._coro
File "/root/.pyenv/versions/3.8.10/lib/python3.8/site-packages/aiohttp/client.py", line 559, in _request
await resp.start(conn)
File "/root/.pyenv/versions/3.8.10/lib/python3.8/site-packages/aiohttp/client_reqrep.py", line 898, in start
message, payload = await protocol.read() # type: ignore[union-attr]
File "/root/.pyenv/versions/3.8.10/lib/python3.8/site-packages/aiohttp/streams.py", line 616, in read
await self._waiter
aiohttp.client_exceptions.ServerDisconnectedError: Server disconnected
2022-03-29 06:59:35,352 -not-actor-/PID:18592 elasticsearch WARNING POST http://172.29.183.13:9200/_bulk [status:N/A request:1.735s]
Traceback (most recent call last):
File "/root/.pyenv/versions/3.8.10/lib/python3.8/site-packages/elasticsearch/_async/http_aiohttp.py", line 291, in perform_request
async with self.session.request(
File "/root/.pyenv/versions/3.8.10/lib/python3.8/site-packages/aiohttp/client.py", line 1138, in __aenter__
self._resp = await self._coro
File "/root/.pyenv/versions/3.8.10/lib/python3.8/site-packages/aiohttp/client.py", line 559, in _request
await resp.start(conn)
File "/root/.pyenv/versions/3.8.10/lib/python3.8/site-packages/aiohttp/client_reqrep.py", line 898, in start
message, payload = await protocol.read() # type: ignore[union-attr]
File "/root/.pyenv/versions/3.8.10/lib/python3.8/site-packages/aiohttp/streams.py", line 616, in read
await self._waiter
aiohttp.client_exceptions.ClientOSError: [Errno 104] Connection reset by peer
2022-03-29 06:59:35,354 -not-actor-/PID:18594 elasticsearch WARNING POST http://172.29.183.13:9200/_bulk [status:N/A request:2.491s]
Traceback (most recent call last):
File "/root/.pyenv/versions/3.8.10/lib/python3.8/site-packages/elasticsearch/_async/http_aiohttp.py", line 291, in perform_request
async with self.session.request(
File "/root/.pyenv/versions/3.8.10/lib/python3.8/site-packages/aiohttp/client.py", line 1138, in __aenter__
self._resp = await self._coro
File "/root/.pyenv/versions/3.8.10/lib/python3.8/site-packages/aiohttp/client.py", line 559, in _request
await resp.start(conn)
File "/root/.pyenv/versions/3.8.10/lib/python3.8/site-packages/aiohttp/client_reqrep.py", line 898, in start
message, payload = await protocol.read() # type: ignore[union-attr]
File "/root/.pyenv/versions/3.8.10/lib/python3.8/site-packages/aiohttp/streams.py", line 616, in read
await self._waiter
aiohttp.client_exceptions.ServerDisconnectedError: Server disconnected
2022-03-29 07:00:01,100 -not-actor-/PID:18546 elasticsearch WARNING GET http://172.29.183.13:9200/_cluster/state/master_node [status:N/A request:0.001s]
Traceback (most recent call last):
File "/root/.pyenv/versions/3.8.10/lib/python3.8/site-packages/urllib3/connection.py", line 174, in _new_conn
conn = connection.create_connection(
File "/root/.pyenv/versions/3.8.10/lib/python3.8/site-packages/urllib3/util/connection.py", line 95, in create_connection
raise err
File "/root/.pyenv/versions/3.8.10/lib/python3.8/site-packages/urllib3/util/connection.py", line 85, in create_connection
sock.connect(sa)
ConnectionRefusedError: [Errno 111] Connection refused
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/root/.pyenv/versions/3.8.10/lib/python3.8/site-packages/elasticsearch/connection/http_urllib3.py", line 251, in perform_request
response = self.pool.urlopen(
File "/root/.pyenv/versions/3.8.10/lib/python3.8/site-packages/urllib3/connectionpool.py", line 785, in urlopen
retries = retries.increment(
File "/root/.pyenv/versions/3.8.10/lib/python3.8/site-packages/urllib3/util/retry.py", line 525, in increment
raise six.reraise(type(error), error, _stacktrace)
File "/root/.pyenv/versions/3.8.10/lib/python3.8/site-packages/urllib3/packages/six.py", line 770, in reraise
raise value
File "/root/.pyenv/versions/3.8.10/lib/python3.8/site-packages/urllib3/connectionpool.py", line 703, in urlopen
httplib_response = self._make_request(
File "/root/.pyenv/versions/3.8.10/lib/python3.8/site-packages/urllib3/connectionpool.py", line 398, in _make_request
conn.request(method, url, **httplib_request_kw)
File "/root/.pyenv/versions/3.8.10/lib/python3.8/site-packages/urllib3/connection.py", line 239, in request
super(HTTPConnection, self).request(method, url, body=body, headers=headers)
File "/root/.pyenv/versions/3.8.10/lib/python3.8/http/client.py", line 1252, in request
self._send_request(method, url, body, headers, encode_chunked)
File "/root/.pyenv/versions/3.8.10/lib/python3.8/http/client.py", line 1298, in _send_request
self.endheaders(body, encode_chunked=encode_chunked)
File "/root/.pyenv/versions/3.8.10/lib/python3.8/http/client.py", line 1247, in endheaders
self._send_output(message_body, encode_chunked=encode_chunked)
File "/root/.pyenv/versions/3.8.10/lib/python3.8/http/client.py", line 1007, in _send_output
self.send(msg)
File "/root/.pyenv/versions/3.8.10/lib/python3.8/http/client.py", line 947, in send
self.connect()
File "/root/.pyenv/versions/3.8.10/lib/python3.8/site-packages/urllib3/connection.py", line 205, in connect
conn = self._new_conn()
File "/root/.pyenv/versions/3.8.10/lib/python3.8/site-packages/urllib3/connection.py", line 186, in _new_conn
raise NewConnectionError(
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7fae1fde6af0>: Failed to establish a new connection: [Errno 111] Connection refused
2022-03-29 07:00:01,100 -not-actor-/PID:18546 elasticsearch WARNING Connection <Urllib3HttpConnection: http://172.29.183.13:9200> has failed for 1 times in a row, putting on 60 second timeout.
2022-03-29 07:00:02,914 -not-actor-/PID:18600 elasticsearch WARNING POST http://172.29.183.11:9200/_msearch?pre_filter_shard_size=1 [status:N/A request:0.001s]
Traceback (most recent call last):
File "/root/.pyenv/versions/3.8.10/lib/python3.8/site-packages/aiohttp/connector.py", line 986, in _wrap_create_connection
return await self._loop.create_connection(*args, **kwargs) # type: ignore[return-value] # noqa
File "/root/.pyenv/versions/3.8.10/lib/python3.8/asyncio/base_events.py", line 1025, in create_connection
raise exceptions[0]
File "/root/.pyenv/versions/3.8.10/lib/python3.8/asyncio/base_events.py", line 1010, in create_connection
sock = await self._connect_sock(
File "/root/.pyenv/versions/3.8.10/lib/python3.8/asyncio/base_events.py", line 924, in _connect_sock
await self.sock_connect(sock, address)
File "/root/.pyenv/versions/3.8.10/lib/python3.8/asyncio/selector_events.py", line 496, in sock_connect
return await fut
File "/root/.pyenv/versions/3.8.10/lib/python3.8/asyncio/selector_events.py", line 528, in _sock_connect_cb
raise OSError(err, f'Connect call failed {address}')
ConnectionRefusedError: [Errno 111] Connect call failed ('172.29.183.11', 9200)
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/root/.pyenv/versions/3.8.10/lib/python3.8/site-packages/elasticsearch/_async/http_aiohttp.py", line 291, in perform_request
async with self.session.request(
File "/root/.pyenv/versions/3.8.10/lib/python3.8/site-packages/aiohttp/client.py", line 1138, in __aenter__
self._resp = await self._coro
File "/root/.pyenv/versions/3.8.10/lib/python3.8/site-packages/aiohttp/client.py", line 535, in _request
conn = await self._connector.connect(
File "/root/.pyenv/versions/3.8.10/lib/python3.8/site-packages/aiohttp/connector.py", line 542, in connect
proto = await self._create_connection(req, traces, timeout)
File "/root/.pyenv/versions/3.8.10/lib/python3.8/site-packages/aiohttp/connector.py", line 907, in _create_connection
_, proto = await self._create_direct_connection(req, traces, timeout)
File "/root/.pyenv/versions/3.8.10/lib/python3.8/site-packages/aiohttp/connector.py", line 1206, in _create_direct_connection
raise last_exc
File "/root/.pyenv/versions/3.8.10/lib/python3.8/site-packages/aiohttp/connector.py", line 1175, in _create_direct_connection
transp, proto = await self._wrap_create_connection(
File "/root/.pyenv/versions/3.8.10/lib/python3.8/site-packages/aiohttp/connector.py", line 992, in _wrap_create_connection
raise client_error(req.connection_key, exc) from exc
aiohttp.client_exceptions.ClientConnectorError: Cannot connect to host 172.29.183.11:9200 ssl:default [Connect call failed ('172.29.183.11', 9200)]
2022-03-29 07:00:02,916 -not-actor-/PID:18600 elasticsearch WARNING Connection <AIOHttpConnection: http://172.29.183.11:9200> has failed for 1 times in a row, putting on 60 second timeout.
2022-03-29 07:00:14,752 -not-actor-/PID:18603 elasticsearch WARNING POST http://172.29.183.11:9200/_msearch?pre_filter_shard_size=1 [status:N/A request:0.001s]
Traceback (most recent call last):
File "/root/.pyenv/versions/3.8.10/lib/python3.8/site-packages/aiohttp/connector.py", line 986, in _wrap_create_connection
return await self._loop.create_connection(*args, **kwargs) # type: ignore[return-value] # noqa
File "/root/.pyenv/versions/3.8.10/lib/python3.8/asyncio/base_events.py", line 1025, in create_connection
raise exceptions[0]
File "/root/.pyenv/versions/3.8.10/lib/python3.8/asyncio/base_events.py", line 1010, in create_connection
sock = await self._connect_sock(
File "/root/.pyenv/versions/3.8.10/lib/python3.8/asyncio/base_events.py", line 924, in _connect_sock
await self.sock_connect(sock, address)
File "/root/.pyenv/versions/3.8.10/lib/python3.8/asyncio/selector_events.py", line 496, in sock_connect
return await fut
File "/root/.pyenv/versions/3.8.10/lib/python3.8/asyncio/selector_events.py", line 528, in _sock_connect_cb
raise OSError(err, f'Connect call failed {address}')
ConnectionRefusedError: [Errno 111] Connect call failed ('172.29.183.11', 9200)
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/root/.pyenv/versions/3.8.10/lib/python3.8/site-packages/elasticsearch/_async/http_aiohttp.py", line 291, in perform_request
async with self.session.request(
File "/root/.pyenv/versions/3.8.10/lib/python3.8/site-packages/aiohttp/client.py", line 1138, in __aenter__
self._resp = await self._coro
File "/root/.pyenv/versions/3.8.10/lib/python3.8/site-packages/aiohttp/client.py", line 535, in _request
conn = await self._connector.connect(
File "/root/.pyenv/versions/3.8.10/lib/python3.8/site-packages/aiohttp/connector.py", line 542, in connect
proto = await self._create_connection(req, traces, timeout)
File "/root/.pyenv/versions/3.8.10/lib/python3.8/site-packages/aiohttp/connector.py", line 907, in _create_connection
_, proto = await self._create_direct_connection(req, traces, timeout)
File "/root/.pyenv/versions/3.8.10/lib/python3.8/site-packages/aiohttp/connector.py", line 1206, in _create_direct_connection
raise last_exc
File "/root/.pyenv/versions/3.8.10/lib/python3.8/site-packages/aiohttp/connector.py", line 1175, in _create_direct_connection
transp, proto = await self._wrap_create_connection(
File "/root/.pyenv/versions/3.8.10/lib/python3.8/site-packages/aiohttp/connector.py", line 992, in _wrap_create_connection
raise client_error(req.connection_key, exc) from exc
aiohttp.client_exceptions.ClientConnectorError: Cannot connect to host 172.29.183.11:9200 ssl:default [Connect call failed ('172.29.183.11', 9200)]
2022-03-29 07:00:14,754 -not-actor-/PID:18603 elasticsearch WARNING Connection <AIOHttpConnection: http://172.29.183.11:9200> has failed for 1 times in a row, putting on 60 second timeout.
2022-03-29 07:00:14,755 -not-actor-/PID:18603 elasticsearch WARNING POST http://172.29.183.13:9200/_msearch?pre_filter_shard_size=1 [status:N/A request:0.001s]
Traceback (most recent call last):
File "/root/.pyenv/versions/3.8.10/lib/python3.8/site-packages/aiohttp/connector.py", line 986, in _wrap_create_connection
return await self._loop.create_connection(*args, **kwargs) # type: ignore[return-value] # noqa
File "/root/.pyenv/versions/3.8.10/lib/python3.8/asyncio/base_events.py", line 1025, in create_connection
raise exceptions[0]
File "/root/.pyenv/versions/3.8.10/lib/python3.8/asyncio/base_events.py", line 1010, in create_connection
sock = await self._connect_sock(
File "/root/.pyenv/versions/3.8.10/lib/python3.8/asyncio/base_events.py", line 924, in _connect_sock
await self.sock_connect(sock, address)
File "/root/.pyenv/versions/3.8.10/lib/python3.8/asyncio/selector_events.py", line 496, in sock_connect
return await fut
File "/root/.pyenv/versions/3.8.10/lib/python3.8/asyncio/selector_events.py", line 528, in _sock_connect_cb
raise OSError(err, f'Connect call failed {address}')
ConnectionRefusedError: [Errno 111] Connect call failed ('172.29.183.13', 9200)
Thanks
Kailas