Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] 任何回复都是 "message": "empty response" #4368

Closed
1 of 3 tasks
frankpei1984 opened this issue Mar 22, 2024 · 12 comments
Closed
1 of 3 tasks

[Bug] 任何回复都是 "message": "empty response" #4368

frankpei1984 opened this issue Mar 22, 2024 · 12 comments
Labels
bug Something isn't working

Comments

@frankpei1984
Copy link

frankpei1984 commented Mar 22, 2024

Bug Description 任何回复都是 "message": "empty response"

任何回复都是这个错误提示

{
"error": true,
"message": "empty response"
}

使用了今日github新版本代码,重新部署在Verce上,错误提示依旧。 Chrome, Firefox 浏览器都清理过缓存与清空历史记录。
使用VPN ,不使用VPN都切换测试过。

返回空响应

Steps to Reproduce

直接窗口内回复问答。

Expected Behavior

能正常得到ChatGPT的回复内容

Screenshots

No response

Deployment Method

  • Docker
  • Vercel
  • Server

Desktop OS

win7

Desktop Browser

Chrome, Firefox

Desktop Browser Version

No response

Smartphone Device

No response

Smartphone OS

No response

Smartphone Browser

No response

Smartphone Browser Version

No response

Additional Logs

No response

@frankpei1984 frankpei1984 added the bug Something isn't working label Mar 22, 2024
@nextchat-manager
Copy link

Please follow the issue template to update description of your issue.

@Issues-translate-bot
Copy link

Bot detected the issue body's language is not English, translate it automatically.


Title: [Bug]

@frankpei1984 frankpei1984 changed the title [Bug] [Bug] 任何回复都是 "message": "empty response" Mar 22, 2024
@QAbot-zh
Copy link

浏览器F12打开网络,看看完整的请求信息

@Issues-translate-bot
Copy link

Bot detected the issue body's language is not English, translate it automatically.


Open the network with browser F12 and see the complete request information

@frankpei1984
Copy link
Author

Request URL: https://chatgpt.gentos.com.cn/api/openai/v1/chat/completions
Request Method: POST
Status Code: 405
Remote Address: 76.76.21.9:443
Referrer Policy: strict-origin-when-cross-origin
access-control-allow-credentials: true
access-control-allow-headers: *
access-control-allow-methods: *
access-control-allow-origin: *
access-control-max-age: 86400
cache-control: public, max-age=0, must-revalidate
content-disposition: inline; filename="500"
content-type: text/html; charset=utf-8
date: Fri, 22 Mar 2024 07:58:54 GMT
server: Vercel
strict-transport-security: max-age=63072000
x-matched-path: /500
x-vercel-cache: BYPASS
x-vercel-id: fra1::k5c76-1711094333946-aab720055147
:authority: chatgpt.gentos.com.cn
:method: POST
:path: /api/openai/v1/chat/completions
:scheme: https
accept: application/json, text/event-stream
accept-encoding: gzip, deflate, br
accept-language: zh-CN,zh;q=0.9
authorization: Bearer nk-26745999
content-length: 518
content-type: application/json
cookie: cna=y+liHnw+OUkCAXFu5AbGoOu8
origin: https://chatgpt.gentos.com.cn
referer: https://chatgpt.gentos.com.cn/
sec-ch-ua: "Not_A Brand";v="99", "Google Chrome";v="109", "Chromium";v="109"
sec-ch-ua-mobile: ?0
sec-ch-ua-platform: "Windows"
sec-fetch-dest: empty
sec-fetch-mode: cors
sec-fetch-site: same-origin
user-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/109.0.0.0 Safari/537.36

@QAbot-zh
Copy link

你漏密码了,赶紧改了吧,Status Code: 405 是服务被拒绝了,不通过 vercel 前端,你能直接调用你的 api 吗

@Issues-translate-bot
Copy link

Bot detected the issue body's language is not English, translate it automatically.


You have lost your password, please change it quickly. Status Code: 405 means the service has been refused. Can you call your api directly without going through the vercel front-end?

@frankpei1984
Copy link
Author

你漏密码了,赶紧改了吧,Status Code: 405 是服务被拒绝了,不通过 vercel 前端,你能直接调用你的 api 吗

API Key 是可以正常调用的。
通过一个翻译工具。是可以测试调用这个API Key的。 其他的Chat前端,我还建设测试。

@Issues-translate-bot
Copy link

Bot detected the issue body's language is not English, translate it automatically.


You have lost your password, please change it quickly. Status Code: 405 means the service has been refused. Can you call your api directly without going through the vercel front-end?

API Key can be called normally.
Through a translation tool. It is possible to test calling this API Key. I also build and test other Chat frontends.

@frankpei1984
Copy link
Author

AIP key在客户端上可以正常使用

API Key 在客户端上,可以正常使用。 那应该是 vercel 前端的问题。

@Issues-translate-bot
Copy link

Bot detected the issue body's language is not English, translate it automatically.


AIP key can be used normally on the client

The API Key is on the client and can be used normally. That should be a problem with the vercel front-end.

@fred-bf
Copy link
Contributor

fred-bf commented Apr 9, 2024

close for no reply in a long time, feel free reply with additional information to reproduce the issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants