vercel / ai-chatbot

A full-featured, hackable Next.js AI chatbot built by Vercel
https://chat.vercel.ai
Other
5.53k stars 1.63k forks source link

Connection Closed Issue #309

Open 1qurst opened 2 months ago

1qurst commented 2 months ago

image

Trying to get this to work but am greeted to "Application error: a client-side exception has occurred (see the browser console for more information)." whenever I type in the ai.

Any fixes?

athrael-soju commented 2 months ago

Did you set your env vars? When does this happen?

1qurst commented 2 months ago

Did you set your env vars? When does this happen?

I set up my API Key and AUTH keys at setup

1qurst commented 2 months ago

Did you set your env vars? When does this happen?

I set up my API Key and AUTH keys at setup

1qurst commented 2 months ago

Do I need to do anything else?

athrael-soju commented 2 months ago

Do I need to do anything else?

You'd need to share more details when it happens, what OS you're using, if you're behind vpn and so on.

chawaa commented 2 months ago

same question. https://github.com/vercel/ai-chatbot/issues/291

olivermontes commented 2 months ago

try this https://github.com/vercel/ai-chatbot/issues/291#issuecomment-2056580662 @1qurst

eb379 commented 2 months ago

Have you got credits on your openAI API account? If you are seeing the connection closed issue consistently (i.e not intermittently), I suggest you check that (https://platform.openai.com/settings/organization/billing/overview)