You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
the error information is :
client.indices.stats(index=indices_name, metric='store')
File "python3.9/site-packages/elasticsearch/_sync/client/utils.py", line 446, in wrapped
return api(*args, **kwargs)
File "python3.9/site-packages/elasticsearch/_sync/client/indices.py", line 4412, in stats
return self.perform_request( # type: ignore[return-value]
File "python3.9/site-packages/elasticsearch/_sync/client/_base.py", line 423, in perform_request
return self._client.perform_request(
File "python3.9/site-packages/elasticsearch/_sync/client/_base.py", line 271, in perform_request
response = self._perform_request(
File "python3.9/site-packages/elasticsearch/_sync/client/_base.py", line 316, in _perform_request
meta, resp_body = self.transport.perform_request(
File "/home/oes/.local/lib/python3.9/site-packages/elastic_transport/_transport.py", line 342, in perform_request
resp = node.perform_request(
File "/home/oes/.local/lib/python3.9/site-packages/elastic_transport/_node/_http_urllib3.py", line 167, in perform_request
response = self.pool.urlopen(
File "python3.9/site-packages/urllib3/connectionpool.py", line 789, in urlopen
response = self._make_request(
File "python3.9/site-packages/urllib3/connectionpool.py", line 495, in _make_request
conn.request(
TypeError: request() got an unexpected keyword argument 'chunked'
The text was updated successfully, but these errors were encountered:
Hello! I'm unable to reproduce, even with Python 3.9. elastic-transport-python supports urllib3 2.x since version 8.10 released last year: #121. (Disclaimer: I'm also a maintainer of urllib3.)
While the traceback line numbers do confirm you're using recent versions of elasticsearch-py, elastic-transport-python and urllib3, this is surprising:
The last version of urllib3, 2.2.2
https://github.com/urllib3/urllib3/releases/tag/2.2.2
the error information is :
client.indices.stats(index=indices_name, metric='store')
File "python3.9/site-packages/elasticsearch/_sync/client/utils.py", line 446, in wrapped
return api(*args, **kwargs)
File "python3.9/site-packages/elasticsearch/_sync/client/indices.py", line 4412, in stats
return self.perform_request( # type: ignore[return-value]
File "python3.9/site-packages/elasticsearch/_sync/client/_base.py", line 423, in perform_request
return self._client.perform_request(
File "python3.9/site-packages/elasticsearch/_sync/client/_base.py", line 271, in perform_request
response = self._perform_request(
File "python3.9/site-packages/elasticsearch/_sync/client/_base.py", line 316, in _perform_request
meta, resp_body = self.transport.perform_request(
File "/home/oes/.local/lib/python3.9/site-packages/elastic_transport/_transport.py", line 342, in perform_request
resp = node.perform_request(
File "/home/oes/.local/lib/python3.9/site-packages/elastic_transport/_node/_http_urllib3.py", line 167, in perform_request
response = self.pool.urlopen(
File "python3.9/site-packages/urllib3/connectionpool.py", line 789, in urlopen
response = self._make_request(
File "python3.9/site-packages/urllib3/connectionpool.py", line 495, in _make_request
conn.request(
TypeError: request() got an unexpected keyword argument 'chunked'
The text was updated successfully, but these errors were encountered: