Skip to content
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

[SSL: UNEXPECTED_EOF_WHILE_READING] EOF occurred in violation of protocol (_ssl.c:1006)’))’: /vectors/fetch? #317

Open
2 tasks done
yashcraft opened this issue Feb 28, 2024 · 0 comments
Labels
bug Something isn't working status:backlog This issue has been added to our backlog

Comments

@yashcraft
Copy link

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

  1. 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

@yashcraft yashcraft added the bug Something isn't working label Feb 28, 2024
@anawishnoff anawishnoff added status:needs-triage An issue that needs to be triaged by the Pinecone team status:backlog This issue has been added to our backlog and removed status:needs-triage An issue that needs to be triaged by the Pinecone team labels Aug 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working status:backlog This issue has been added to our backlog
Projects
None yet
Development

No branches or pull requests

2 participants