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

[Bug] Failed to connect to all addresses #205

Open
2 tasks done
Abe410 opened this issue Sep 28, 2023 · 1 comment
Open
2 tasks done

[Bug] Failed to connect to all addresses #205

Abe410 opened this issue Sep 28, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@Abe410
Copy link

Abe410 commented Sep 28, 2023

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

I am simply trying to delete a specific namespace within my index using the following code:

import os
import sys
import json
import pinecone

# pinecone key
pinecone_env = xxxx
pinecone_key =  xxxx

# Initializing index name
index_name = "index_name"
# index = pinecone.Index(index_name)
index = pinecone.GRPCIndex(index_name)
namespace='namespace'

# Initialize pinecone
pinecone.init(
    api_key=pinecone_key,  # find at app.pinecone.io
    environment=pinecone_env  # next to api key in console
)

# Delete namespace
index.delete(delete_all=True, namespace=namespace)

print('Namespace deleted')

Doing this, I get the following error:

PineconeException: UNKNOWN:failed to connect to all addresses; last error: UNAVAILABLE: ipv4:34.127.5.128:443: recvmsg:Connection reset by peer {created_time:"2023-09-28T20:38:58.196686658+00:00", grpc_status:14}

Would appreciate any insights into this

Expected Behavior

Expected behavior was that the code would delete the specific namespace as requested.

Steps To Reproduce

Use grpc-gateway-protoc-gen-openapiv2-0.1.0

Relevant log output

No response

Environment

No response

Additional Context

No response

@Abe410 Abe410 added the bug Something isn't working label Sep 28, 2023
@SID262000
Copy link

@Abe410 At a very high level, seems to be a network issue. Please let me know if you're still facing this issue while deleting the namespaces, Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants