-
Notifications
You must be signed in to change notification settings - Fork 70
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] SSL Error when trying to .list_indexes()
#162
Comments
Hi, can you double check your Environment name, I was having the same error, but my env name had a typo. |
Hello! So, you were correct that I had the wrong environment. I checked my pinecone account and I am on However, I tried again with the correct environment: pinecone.init(api_key="<redacted>", environment="us-east4-gcp") But I still get the same error when trying to
|
+1 getting same error |
+1 same issue for me |
I had the same issue and I believe it is due to the requests package and how it handles ssl. If you take the Python code with requests and swap it with something like urllib3, it will potentially work (as it did for me). I took the curl commands, put them in a curl-to-Python converter, and then swapped requests with urllib3. The real issue is that you have to link to an ssl cert for verification. You can use requests if you know how to use the verify parameter (i.e. linking to a trusted CA). You can read more about it here |
I resolved a similar issue by setting server proxy. |
I had the same issue and believe it was due to my corporate firewall blocking the api call. If
I noticed that pinecone is using
Worked after that. Additional resource: |
Is this a new bug in the Pinecone Python client?
Current Behavior
When trying to
.list_indexes()
, I'm getting a SSL error (see logs below). I do havecertifi
installed in the Python environment.Expected Behavior
Successfully able to list existing indexes.
Steps To Reproduce
pinecone
.pinecone
with andapi_key
andenvironment
.pinecone.list_indexes()
.Relevant log output
Environment
Additional Context
I'm able to successfully able to ping the hostname (
controller.us-east1-gcp.pinecone.io
). So network connectivity appears to be working.I haven't found a way to disable SSL verification.
The text was updated successfully, but these errors were encountered: