pinecone-io / chatbot-demo

277 stars 175 forks source link

[Bug] Error response from Ably #5

Open axelferdinand opened 1 year ago

axelferdinand commented 1 year ago

Is this a new bug?

Current Behavior

When running the app, Pinecone runs first (and works) but then this error appears in terminal:

06:53:33.619 Ably: Auth.requestToken(): token request signing call returned error; err = [ErrorInfo: Error response received from server: 404 body was: <Buffer 3c 21 44 4f 43 54 59 50 45 20 68 74 6d 6c 3e 3c 68 74 6d 6c 20 6c 61 6e 67 3d 22 65 6e 22 3e 3c 68 65 61 64 3e 3c 73 74 79 6c 65 20 64 61 74 61 2d 6e ... 2520 more bytes>] {
  code: NaN,
  statusCode: 404,
  cause: undefined
}

Expected Behavior

Connect to Ably, I guess?

Steps To Reproduce

  1. Create .env file and fill in all missing keys
  2. Launch the application with npm run dev

Relevant log output

No response

Environment

- MacOS
- Python 3.11.1

Additional Context

No response

luqiang4xenera commented 1 year ago

You can first confirm whether the application above ably has been created correctly, and the apikey has been obtained correctly, and then confirm whether the .env (note, not .env.sample) file in your project has correctly set the apikey. A small tip: You can confirm whether the project created by ably is working normally by following the url https://ably.com/accounts/37542/apps/59958/getting_started