Forums

Error connection to pinecone API

Here the official site: https://www.pinecone.io/ the documentation: https://docs.pinecone.io/docs/overview pinecone-python-client: https://github.com/pinecone-io/pinecone-python-client

We get the following error: MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='controller.us-west1-gcp.pinecone.io', port=443): Max retries exceeded with url: /databa ses (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7ff0ea0177c0>: Failed to establish a new connection: [Errno 111] Connection refused')) I would love to know why is this happening and when wil it be solved.

Thanks.

@mrdoom Hi, Thank you for your message. In regards to your request to whitelist the domain above, please note we need public documentation stating the hostname for the endpoint. Can you please confirm the endpoint which you would like us to consider adding? Please see the URL below for additional information in regards to whitelist requests: https://help.pythonanywhere.com/pages/RequestingWhitelistAdditions/

Hi! I have a near identical error to the one shown above. Was the source of the error ever determined? I have a $5/month subscription, so (according to my understanding) it shouldn't be due to a website not being whitelisted. To give a little more information, mine is also an error that originates from trying to connect to pinecone's api from a web application hosted on PythonAnywhere. The code runs fine from my local computer, just not when run through pythonAnywhere.

I see .pinecone.io is on our allow-list, so it may require extra proxy settings while on free account.

How to do that. I am sorry if I'm a beginner but how to apply those extra proxy settings for the pinecone API

How are you accessing the API?

I'm having the same issue. Did you find a solution?

You need to access the site using the proxy. Check the documentation for the library that you're using to see how you can configure it to use a proxy and the details that you need are here: https://help.pythonanywhere.com/pages/403ForbiddenError/#proxy-details