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

Connection error with serverless? #20

Open
stefanjwojcik opened this issue Sep 9, 2024 · 0 comments
Open

Connection error with serverless? #20

stefanjwojcik opened this issue Sep 9, 2024 · 0 comments

Comments

@stefanjwojcik
Copy link

Thanks for this package! So I've tried running the example in the docs on a couple of different machines, and I believe the host connection address to be causing an error, but I'm not entirely sure.

Here is the error:
HTTP.ConnectError for url = https://new-index-kf5drht.svc.us-east-1-aws.pinecone.io/describe_index_stats: IOError: read: connection reset by peer (ECONNRESET)
But the host address for this index on Pinecone is listed as: https://new-index-kf5drht.svc.aped-4627-b74a.pinecone.io.

I connected with:
pinecone_context = Pinecone.init(apikey, "us-east-1-aws")
This is a serverless spec, and I confirmed this is my region as far as I can ascertain.

Then I specified my index, which exists:
pinecone_index = Pinecone.Index("new-index")

But the list_indexes call then yields an empty list:
Pinecone.list_indexes(pinecone_context)

And the error above occurs when I try to do anything else, like describing any index:
Pinecone.describe_index_stats(pinecone_context, pinecone_index)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant