pinecone-io / pinecone-ts-client

The official TypeScript/Node client for the Pinecone vector database
https://www.pinecone.io
Apache License 2.0
190 stars 38 forks source link

[Bug] The v1 fetch request hangs when you pass in more than 1 vector ID #163

Closed andrewrgabb-sauce closed 3 months ago

andrewrgabb-sauce commented 1 year ago

Is this a new bug?

Current Behavior

The v1 fetch request hangs when you pass in more than 1 vector ID. (and yes, this is a paid namespace)

This works: const fetchResult = await namespace.fetch(['id1']);

This hangs: const fetchResult = await namespace.fetch(['id1', 'id2']);

Expected Behavior

I expect the request to respond with the appropriate results.

Steps To Reproduce

const client = new Pinecone({
      apiKey: 'apiKey',
      environment: 'environment',
});

const index = client.index('indexName');

const namespace = index.namespace('nameSpace');

const fetchResult = await namespace.fetch(['id1', 'id2']);

Relevant log output

No response

Environment

- **OS**: MacOS Ventura 13.5.1
- **Language version**: Node 18
- **Pinecone client version**: 1.1.2

Additional Context

No response

ederelk commented 3 months ago

I am also running into this issue. but it works well on my Mac. but on our linux prod env it hangs

anawishnoff commented 3 months ago

As this issue is from last year, I'll go ahead and close this as stale. However please feel free to reopen or file a new issue if you're still having issues - thank you!