Chanzhaoyu / chatgpt-web

用 Express 和 Vue3 搭建的 ChatGPT 演示网页
MIT License
30.94k stars 11.2k forks source link

为什么api一直连接失败, #2050

Closed mobile17682318557 closed 2 months ago

mobile17682318557 commented 4 months ago

我用的api-key,然后我网络应该没问题,访问网页版一直正常的,但是用这个项目一直失败

1709775399625
mobile17682318557 commented 4 months ago

直接post访问接口也没问题

qzzhujixue commented 3 months ago

我也是,怎么处理的呀?跟我开着vpn有关吗?

github-actions[bot] commented 3 months ago

This issue is stale because it has been open for 10 days with no activity.

jiayusu commented 3 months ago

why { "error": { "message": "You didn't provide an API key. You need to provide your API key in an Authorization header using Bearer auth (i.e. Authorization: Bearer YOUR_KEY), or as the password field (with blank username) if you're accessing the API from your browser and are prompted for a username and password. You can obtain an API key from https://platform.openai.com/account/api-keys.", "type": "invalid_request_error", "param": null, "code": null } }

github-actions[bot] commented 2 months ago

This issue is stale because it has been open for 10 days with no activity.

github-actions[bot] commented 2 months ago

This issue was closed because it has been inactive for 2 days since being marked as stale.

k00000000 commented 2 months ago

我用的api-key,然后我网络应该没问题,访问网页版一直正常的,但是用这个项目一直失败 1709775399625

你好,请问解决了吗

jiayusu commented 1 month ago

同求