pinecone-io / pinecone-vercel-starter

Pinecone + Vercel AI SDK Starter
https://pinecone-vercel-example.vercel.app
418 stars 127 forks source link

[Bug] PineconeUnmappedHttpError: An unexpected error occured while calling [pinecone api]. error code: 525 Status: 525. #26

Open RickRyan26 opened 9 months ago

RickRyan26 commented 9 months ago

Is this a new bug?

Current Behavior

This bug makes pinecone completely useless to me.

Everything works great locally but nothing works when hosting on Vercel Serverless and Edge...

Please help! Or provide an alternative to Pinecone that still works with Vercel.

Thank you

Expected Behavior

I expected to be able to access my pinecone index via Vercel.

Steps To Reproduce

Host to Vercel and try to use to access an index. "@pinecone-database/pinecone": "^1.1.2",

Relevant log output

error:  PineconeUnmappedHttpError: An unexpected error occured while calling the https://rs-6d43a5d.svc.northamerica-northeast1-gcp.pinecone.io/query endpoint.  error code: 525 Status: 525.
    at (../../../../node_modules/.pnpm/@pinecone-database+pinecone@1.1.2/node_modules/@pinecone-database/pinecone/src/errors/http.ts:162:12)
    at (../../../../node_modules/.pnpm/@pinecone-database+pinecone@1.1.2/node_modules/@pinecone-database/pinecone/src/errors/handling.ts:22:30)
    at (../../../../node_modules/.pnpm/@pinecone-database+pinecone@1.1.2/node_modules/@pinecone-database/pinecone/src/errors/utils.ts:4:27)
    at (../../../../node_modules/.pnpm/@pinecone-database+pinecone@1.1.2/node_modules/@pinecone-database/pinecone/src/errors/utils.ts:4:27)
    at (../../../../node_modules/.pnpm/@pinecone-database+pinecone@1.1.2/node_modules/@pinecone-database/pinecone/src/errors/utils.ts:4:27) {
  name: 'PineconeUnmappedHttpError',
  cause: undefined
}

Environment

- Using Sveltekit
- **Pinecone client version**: 1.1.1 & 1.1.2, lower than 1.1.1 has an irrelevant error log (see additional context)

Additional Context

Likely related to https://github.com/pinecone-io/pinecone-ts-client/issues/124 but am getting no response after 10 days.

Everything worked until a couple weeks ago. I dont understand why this isn't being fixed quicker.