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
It seems that you've got an empty response from the server. You can try to tweak automatic retries option if that's an intermittent issue or tune timeouts to alleviate that.
For troubleshooting try to access the end-point POST /{db}/_partition/{partition_key}/_find with curl with your query to see what is the response you are getting from your server. A guess would be that since you've mentioned your database has grown your are facing a timeout on not optimized index. Try to run POST /{db}/_partition/{partition_id}/_explain and see if you can improve your query.
Describe the bug
Got chunkencoding error when the calling post_partition_find with limit 200
To Reproduce
calling post_partition_find when database got bigger
Expected behavior
Screenshots
response = self.send(request, **kwargs)
File "/home/tonio/tm/thepack/fastapi/main/virtualenv/lib/python3.9/site-packages/ibm_cloud_sdk_core/base_service.py", line 308, in send
response = self.http_client.request(**request,
File "/home/tonio/tm/thepack/fastapi/main/virtualenv/lib/python3.9/site-packages/requests/sessions.py", line 587, in request
resp = self.send(prep, **send_kwargs)
File "/home/tonio/tm/thepack/fastapi/main/virtualenv/lib/python3.9/site-packages/requests/sessions.py", line 745, in send
r.content
File "/home/tonio/tm/thepack/fastapi/main/virtualenv/lib/python3.9/site-packages/requests/models.py", line 899, in content
self._content = b"".join(self.iter_content(CONTENT_CHUNK_SIZE)) or b""
File "/home/tonio/tm/thepack/fastapi/main/virtualenv/lib/python3.9/site-packages/requests/models.py", line 818, in generate
raise ChunkedEncodingError(e)
requests.exceptions.ChunkedEncodingError: ("Connection broken: InvalidChunkLength(got length b'', 0 bytes read)", InvalidChunkLength(got length b'', 0 bytes read))
Must gather (please complete the following information):
Python3.9
ibmcloudant 0.3.1
Additional context
The text was updated successfully, but these errors were encountered: