maxduke / go-chatgpt-api

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

Endpoint /chatgpt/login is invalid #42

Closed wrhsd1 closed 2 months ago

wrhsd1 commented 2 months ago

The endpoint /chatgpt/login is invalid and currently returning an error with the message: 'missing access token'. Could you please take a look at it?

maxduke commented 2 months ago

前端用的哪个触发的这个endpoint?

wrhsd1 commented 2 months ago

之前直接post用户名密码 会返回accessToken,现在返回的是 data: { errorMessage: 'missing access token' }

maxduke commented 2 months ago

登陆的Har配置了么?已经配了的话重新抓下。没配的话抓下配进去试试。登陆接口对服务器ip要求极高。有refrash token的话建议用那个

On Fri, Apr 26, 2024 at 17:29 wrhsd1 @.***> wrote:

之前直接post用户名密码 会返回accessToken,现在返回的是 data: { errorMessage: 'missing access token' }

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

wrhsd1 commented 2 months ago

好的 试了一下,网页访问好像是弹cf验证了,应该跟程序没关系 谢谢回复