chatpire / chatgpt-web-share

ChatGPT Plus 共享方案。ChatGPT Plus / OpenAI API sharing solution.
https://cws-docs.pages.dev/zh/
GNU General Public License v3.0
4.24k stars 670 forks source link

无法收到GPT3/GPT4消息,反复打印:ERROR: [uvicorn.error] ASGI callable returned without starting response. #359

Closed tudoujunha closed 7 months ago

tudoujunha commented 7 months ago

Version v0.4.5

What's your deploying environment?

Describe the problem 前端页面一直报错:Request Error,发送GPT3/GPT4消息无法接收到回复,chatgpt官网上可以看到发送出去的消息,但cws收不到回复,控制台一直在打印( ERROR: [uvicorn.error] ASGI callable returned without starting response.),貌似原因是(ASGI 在返回响应之前就已经结束了,但并没有正确地启动 HTTP 响应过程)

image

image

image Expected behavior cws不再提示Request Error错误, 不再提示 ERROR: [uvicorn.error] ASGI callable returned without starting response. cws 发送 GPT3/GPT4消息能正常接收到回复。

Your config.yaml or other configurations openai_web: enabled: true is_plus_account: true chatgpt_base_url: http://192.168.10.210:7999/backend-api/ proxy: common_timeout: 20 ask_timeout: 600 sync_conversations_on_startup: false sync_conversations_schedule: false sync_conversations_schedule_interval_hours: 12 enabled_models:


Docker compose: version: "3"

services: chatgpt-web-share: image: ghcr.io/chatpire/chatgpt-web-share:latest container_name: cws restart: unless-stopped ports:

Screenshots or running logs image

Additional context

tudoujunha commented 7 months ago

补充 database.db 和 config.yaml,按照文档配置的,密码都没改. db&config.zip

shenhuxi92 commented 7 months ago

一样的问题,昨天还是正常的,今天就不行了,可能是GPT修改了什么东西,但是没有同步

moeakwak commented 7 months ago

更新到最新版本重试一下

WarsFeng commented 7 months ago

更新到最新版本重试一下

最新版本一样现象