Skip to content

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

Open

Description

@deshraj

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

Activity

  1. added
    bug
    on Apr 11, 2024
  2. added
    status:needs-triage
    status:on-roadmap
    and removed
    status:needs-triage
    on Aug 6, 2024
  3. anawishnoff commented on Aug 7, 2024

    @anawishnoff

    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.

  4. AyushRajgor commented on May 23, 2025

    @AyushRajgor

    Any updates on this???
    SDK version: 6.0.2

  5. self-assigned this
    on Jun 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugstatus:on-roadmap

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions