Description
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
Context:
We have a Python backend service integrated with Pinecone API. We are running the backend service on GCP Cloudrun. Pinecone client version 3.1.0 and Python version 3.11
We are using FROM python:3.11.8-slim and building the image with the platform Linux/amd64
Error:
The image comes up and is running on cloud run. Whenever we make pinecone calls to insert or fetch we get this error
"2024-02-28 18:26:57,183 loglevel=WARNING logger=urllib3.connectionpool urlopen() L874 Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLEOFError(8, '[SSL: UNEXPECTED_EOF_WHILE_READING] EOF occurred in violation of protocol (_ssl.c:1006)'))': /vectors/fetch?
Please help resolve this issue, we are blocked from running our service in the cloud
Expected Behavior
API call should go through with 2xx response
Steps To Reproduce
- Build docker image using
-
Pinecone client version 3.1.0
-
Use python:3.11.8-slim and building the image with the platform Linux/amd64
-
Deploy on cloudrun and make pinecone api call
Relevant log output
Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLEOFError(8, '[SSL: UNEXPECTED_EOF_WHILE_READING] EOF occurred in violation of protocol (_ssl.c:1006)'))': /vectors/fetch?
Environment
- OS:
- Python:
- pinecone:
Additional Context
We tried downgrading ssl version to 1.1.1l but not working