This issue is marked resolved but the links to the “resolution” are dead links. I cannot get around this error message.
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:1006)’)))
To help us debug what might be going wrong, please provide all your relevant code, including where you install the Pinecone library and let us know which version you’re currently running.
Please be careful not to include any secrets such as your Pinecone API key.
It doesn’t matter what script I run, I’ve tried dozens of alternatives, the script isn’t the issue. I am not using a proxy. I have updated everything I can think of that relates to SSL and internet generally. I’ve upgraded every library I can think of that might be related to this or could help resolve the issue. Created fresh indexes and api keys. Searched Stack Overflow and did anything that could possibly help. Used your AI support agent. Installed in a virtual environment, installed in a conda environment. Yelled at ChatGPT to ‘get creative with your solutions, that didn’t work’. I set my DNS to Google’s DNS. There is nothing else I can think of that could resolve this.
from pinecone.grpc import PineconeGRPC as Pinecone
from pinecone import ServerlessSpec
pc = Pinecone(
api_key="APIKEY" # Replace with your actual Pinecone API key
)
index_name = "docs-quickstart-index"
if index_name not in pc.list_indexes().names():
pc.create_index(
name=index_name,
dimension=1536,
metric="cosine",
spec=ServerlessSpec(
cloud='aws',
region='us-east-1'
)
)
print("Index setup complete")
File "...", line 519, in increment
raise MaxRetryError(_pool, url, reason) from reason # type: ignore[arg-type]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
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:1006)')))```
Hi, Zack. Really need some help on this when you have a second. We’re mid-MVP and I can’t access Pinecone and no one on my team or the internet can figure out why. Thank you.