Skip to content

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

Open

Description

@yashcraft

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

Activity

  1. added
    bug
    on Feb 28, 2024
  2. added
    status:needs-triage
    status:backlog
    and removed
    status:needs-triage
    on Aug 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugstatus:backlog

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions