waylaidwanderer / node-chatgpt-api

A client implementation for ChatGPT and Bing AI. Available as a Node.js module, REST API server, and CLI app.
https://www.npmjs.com/package/@waylaidwanderer/chatgpt-api
MIT License
4.2k stars 737 forks source link

Error: CaptchaChallenge: User needs to solve CAPTCHA to continue. #439

Open S1mple-k opened 1 year ago

S1mple-k commented 1 year ago

After a period of use, I ran this error, using the method of changing cookies and ip is useless, please ask how to solve this, thank you! Here is the screenshot: 1aec70bb6355e0c449adb001b5fc0ee

jossmanbr commented 1 year ago

It worked for me to open Bing and there accept the captcha, but I don't know how often this error appears

S1mple-k commented 1 year ago

It worked for me to open Bing and there accept the captcha, but I don't know how often this error appears

You mean I should open the node-chatgpt-api,pandoraAI and Bing? This error appears when use Sydney, The code says I send the message successful then this error appears.I'm puzzled. Thanks for your reply, I'll try it. :)

S1mple-k commented 1 year ago

Is the error comes from cookie? I tried 3 different cookies and it didn't works. :(

jossmanbr commented 1 year ago

I'm sorry but I use a translator, maybe that's why my answer is not so clear. I mean, open the bing chat in the web browser and once the captcha is resolved, everything works fine again, I also delete cookies to rule out that the error is generated by a cookie

S1mple-k commented 1 year ago

I'm sorry but I use a translator, maybe that's why my answer is not so clear. I mean, open the bing chat in the web browser and once the captcha is resolved, everything works fine again, I also delete cookies to rule out that the error is generated by a cookie

Oh, I'm not a English speaker, too. I'm not a programmer so sometimes I cannot understand some word you said. I tried and I succeed! Thank you so much!!! (。・ω・。)ノ♡

unknown10777 commented 1 year ago

I recently noticed Bing android aka com.android.bing chat does not need captcha, so it could be a way to b ypass it? Edit: no, it just because not same cookie, captcha still appears

SphaeroX commented 1 year ago

image

Same here, i cant solve the captcha because LibreChat runs on a virtual maschine.

unknown10777 commented 1 year ago

The solution I have discovered only one, open browser and open chat page complete the captcha, and copy the newest _U cookie to your application(s) The cookie changes after a period, the time is unknown; The captcha appears at least 10hrs, at some time it won't appear in 48hrs

SphaeroX commented 1 year ago

The solution I have discovered only one, open browser and open chat page complete the captcha, and copy the newest _U cookie to your application(s) The cookie changes after a period, the time is unknown; The captcha appears at least 10hrs, at some time it won't appear in 48hrs

That didn't work for me, but if I copy the complete cookie from the request it works, as described here: https://github.com/waylaidwanderer/node-chatgpt-api/issues/378#issuecomment-1559868368

unknown10777 commented 1 year ago

The solution I have discovered only one, open browser and open chat page complete the captcha, and copy the newest _U cookie to your application(s) The cookie changes after a period, the time is unknown; The captcha appears at least 10hrs, at some time it won't appear in 48hrs

That didn't work for me, but if I copy the complete cookie from the request it works, as described here: https://github.com/waylaidwanderer/node-chatgpt-api/issues/378#issuecomment-1559868368

well I discovered another strange way, install bing on your mobile device and use chat once or twice, then everything went back normal

Nicat-dcw commented 1 year ago

Try this https://www.bing.com/turing/captcha/challenge And after recopy cookie

hswlab commented 11 months ago

I'm trying to solve a captcha without beeing signed with a bing account inside an electron browser. Cat anyone tell me, what cookies or headers are beeing updated when there is no _u cookie during a CaptchaChallang inside the electron browser? What cookies or headers do I need to send in the next ChatHub request after making such a CaptchaChallange?