Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] Max retries exceeded with url: /indexes #328

Open
2 tasks done
deshraj opened this issue Apr 11, 2024 · 1 comment
Open
2 tasks done

[Bug] Max retries exceeded with url: /indexes #328

deshraj opened this issue Apr 11, 2024 · 1 comment
Labels
bug Something isn't working status:on-roadmap This has been picked up by the team and is on our roadmap

Comments

@deshraj
Copy link

deshraj commented Apr 11, 2024

Is this a new bug in the Pinecone Python client?

  • I believe this is a new bug in the Pinecone Python Client
  • I have searched the existing issues, and I could not find an existing issue for this bug

Current Behavior

Running into the following traceback when trying to embed vectors into pinecone index. Note that this doesn't happen all the time but I am seeing this almost daily in production.

See the full traceback below:

  File "/home/ubuntu/env/lib/python3.10/site-packages/pinecone/control/pinecone.py", line 298, in list_indexes
    response = self.index_api.list_indexes()
  File "/home/ubuntu/env/lib/python3.10/site-packages/pinecone/core/client/api_client.py", line 771, in __call__
    return self.callable(self, *args, **kwargs)
  File "/home/ubuntu/env/lib/python3.10/site-packages/pinecone/core/client/api/manage_indexes_api.py", line 1099, in __list_indexes
    return self.call_with_http_info(**kwargs)
  File "/home/ubuntu/env/lib/python3.10/site-packages/pinecone/core/client/api_client.py", line 833, in call_with_http_info
    return self.api_client.call_api(
  File "/home/ubuntu/env/lib/python3.10/site-packages/pinecone/core/client/api_client.py", line 408, in call_api
    return self.__call_api(resource_path, method,
  File "/home/ubuntu/env/lib/python3.10/site-packages/pinecone/core/client/api_client.py", line 195, in __call_api
    response_data = self.request(
  File "/home/ubuntu/env/lib/python3.10/site-packages/pinecone/core/client/api_client.py", line 434, in request
  File "/home/ubuntu/env/lib/python3.10/site-packages/urllib3/util/retry.py", line 592, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='api.pinecone.io', port=443): Max retries exceeded with url: /indexes (Caused by SSLError(SSLEOFError(8, '[SSL: UNEXPECTED_EOF_WHILE_READING] EOF occurred in violation of protocol (_ssl.c:1007)')))

Expected Behavior

It should not fail ideally.

Steps To Reproduce

Steps to reproduce:

  1. Init client
  2. Embed documents and try to add it (Note that this will work most of the times but will fail sporadically)

Relevant log output

No response

Environment

- OS: Linux
- Python: 3.10
- pinecone: 3.0.1

Additional Context

No response

@deshraj deshraj added the bug Something isn't working label Apr 11, 2024
@anawishnoff anawishnoff added status:needs-triage An issue that needs to be triaged by the Pinecone team status:on-roadmap This has been picked up by the team and is on our roadmap and removed status:needs-triage An issue that needs to be triaged by the Pinecone team labels Aug 6, 2024
@anawishnoff
Copy link
Contributor

Thanks for filing this - we have work on the roadmap that will likely resolve this issue, and I'll follow up once that's complete.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working status:on-roadmap This has been picked up by the team and is on our roadmap
Projects
None yet
Development

No branches or pull requests

2 participants