maxduke / go-chatgpt-api

一个尝试绕过 Cloudflare 来使用 ChatGPT 接口的程序
MIT License
144 stars 35 forks source link

Error dialing:websocket: bad handshake #43

Closed eureka6 closed 4 months ago

eureka6 commented 5 months ago
# docker compose up
[+] Running 2/2
 ✔ Network goapi2_default  Created                                                                              0.4s
 ✔ Container goapi2        Created                                                                              0.3s
Attaching to goapi2
goapi2  | success read chat arkose
goapi2  | success read chat arkose
goapi2  | INFO[0000] service go-chatgpt-api is ready
goapi2  | [GIN] 2024/04/26 - 12:02:02 | 200 |     661.188µs | 183.236.187.206 | GET      "/"
goapi2  | [GIN] 2024/04/26 - 12:02:02 | 404 |       7.438µs | 183.236.187.206 | GET      "/favicon.ico"
goapi2  | [GIN] 2024/04/26 - 12:03:27 | 200 |  179.546386ms |   45.88.194.220 | GET      "/chatgpt/backend-api/conver                                                                                                                        sation/dbac68d6-2db1-41ee-a913-efcaba9d150d"
goapi2  | 2024/04/26 12:03:40 Error dialing:websocket: bad handshake
goapi2 exited with code 0
maxduke commented 5 months ago

官网又开始灰度WSS了,而且有改动,被灰度倒WSS就会报错。看之后能不能改回去。 近期没时间,等51之后有时间再看了。

xionggd commented 5 months ago

[OpenAI] 服务器繁忙,请稍后再试 | Internal Server Error 老哥, 又报错了。 图: image 图: image

@maxduke

maxduke commented 5 months ago

[OpenAI] 服务器繁忙,请稍后再试 | Internal Server Error 老哥, 又报错了。 图: image 图: image

@maxduke

用的什么模型?今天开始openai开始强验证模型名字,之前不匹配会回落到3.5.现在只能用"gpt-4"和"text-davinci-002-render-sha" (3.5)

xionggd commented 5 months ago

image 用的是默认的 @maxduke

xionggd commented 5 months ago

image 好像就是你说的这个模型,但是 这个代理访问500了; 然后我挂梯子还能正常使用。

maxduke commented 5 months ago

你用的什么client?

xionggd commented 5 months ago

Chanzhaoyu/chatgpt-web Chanzhaoyu/chatgpt-web 问的是这个吗?

xionggd commented 5 months ago

而且是今天上午突然不行的 昨晚都还能用的 @maxduke

maxduke commented 5 months ago

那个前端没试过,你看看报500错的那个request 的model

xionggd commented 5 months ago

model: 'gpt-3.5-turbo', 竟然是这个耶;;;

大佬,你用哪个前端?可以推荐一下? 我也换一下好了

maxduke commented 5 months ago

CWS https://github.com/chatpire/chatgpt-web-share 虽然不维护了,但还能用

On Wed, May 8, 2024 at 21:17 xionggd @.***> wrote:

model: 'gpt-3.5-turbo', 竟然是这个耶;;;

大佬,你用哪个前端?可以推荐一下? 我也换一下好了

— Reply to this email directly, view it on GitHub https://github.com/maxduke/go-chatgpt-api/issues/43#issuecomment-2100555773, or unsubscribe https://github.com/notifications/unsubscribe-auth/AADLUBBQSWREK5H44TPVA2LZBIQWLAVCNFSM6AAAAABG2B2HZKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMBQGU2TKNZXGM . You are receiving this because you were mentioned.Message ID: @.***>

xionggd commented 5 months ago

CWS https://github.com/chatpire/chatgpt-web-share 虽然不维护了,但还能用 On Wed, May 8, 2024 at 21:17 xionggd @.> wrote: model: 'gpt-3.5-turbo', 竟然是这个耶;;; 大佬,你用哪个前端?可以推荐一下? 我也换一下好了 — Reply to this email directly, view it on GitHub <#43 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AADLUBBQSWREK5H44TPVA2LZBIQWLAVCNFSM6AAAAABG2B2HZKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMBQGU2TKNZXGM . You are receiving this because you were mentioned.Message ID: @.>

感谢大佬的提示,我直接更换模型就能用了。。 有空再换你的同款前端 撸码去了 感谢

maxduke commented 4 months ago

暂时先关了。有问题再开新的。

ventusoon commented 4 months ago

CWS https://github.com/chatpire/chatgpt-web-share 虽然不维护了,但还能用 On Wed, May 8, 2024 at 21:17 xionggd @.**> wrote: model: 'gpt-3.5-turbo', 竟然是这个耶;;; 大佬,你用哪个前端?可以推荐一下? 我也换一下好了 — Reply to this email directly, view it on GitHub <#43 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AADLUBBQSWREK5H44TPVA2LZBIQWLAVCNFSM6AAAAABG2B2HZKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMBQGU2TKNZXGM . You are receiving this because you were mentioned.Message ID: @.**>

感谢大佬的提示,我直接更换模型就能用了。。 有空再换你的同款前端 撸码去了 感谢

同样的前端,同样的问题。请问你换模型时候的变量就是model: 'gpt-3.5-turbo'这个吗