-
Notifications
You must be signed in to change notification settings - Fork 906
[Bug]: Exception: CaptchaChallenge: User needs to solve CAPTCHA to continue. #586
Comments
mee too |
Same here, when ever i try to create a new conversation it shows this error Traceback (most recent call last):
File "p:\Python\J.A.R.V.I.S\Jarvis Using Python\Brain\Qna.py", line 63, in <module>
name = Qna()
^^^^^
File "p:\Python\J.A.R.V.I.S\Jarvis Using Python\Brain\Qna.py", line 60, in Qna
app = asyncio.run(Starting_prompt(data))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\vandu\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 190, in run
return runner.run(main)
^^^^^^^^^^^^^^^^
File "C:\Users\vandu\AppData\Local\Programs\Python\Python311\Lib\asyncio\runners.py", line 118, in run
return self._loop.run_until_complete(task)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\vandu\AppData\Local\Programs\Python\Python311\Lib\asyncio\base_events.py", line 653, in run_until_complete
return future.result()
^^^^^^^^^^^^^^^
File "p:\Python\J.A.R.V.I.S\Jarvis Using Python\Brain\Qna.py", line 40, in Starting_prompt
response = await bot1.ask(prompt=prompt, conversation_style=ConversationStyle.creative, simplify_response=True)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\vandu\AppData\Local\Programs\Python\Python311\Lib\site-packages\EdgeGPT\EdgeGPT.py", line 116, in ask
async for final, response in self.chat_hub.ask_stream(
File "C:\Users\vandu\AppData\Local\Programs\Python\Python311\Lib\site-packages\EdgeGPT\chathub.py", line 197, in ask_stream
raise Exception(
Exception: CaptchaChallenge: User needs to solve CAPTCHA to continue. |
I solve this problem by using a proxy |
@Eikosa , hello! Which country did you use as a proxy server location? |
I try with the https://pypi.org/project/free-proxy/ module until I find a suitable https proxy, one of them always works |
Is it possible to create a captcha solver, so that we don't have to use a proxy, by the way there is another way to solve this issue. Before running your script you can just go to bing.com/chat and then it will automatically solve the captcha, then you can run your script, and it will work as good as new |
What does the captcha look like? Is it arkose/funcaptcha? I haven't triggered it yet so can't fix. If it is indeed arkose/funcaptcha, I got it reversed at https://github.com/acheong08/funcaptcha |
I'm sorry to say that using a proxy doesn't seem to solve this problem anymore |
Many verification codes have been encountered,A headache problem |
Has there been any progress on this issue |
also met this problem |
me too |
Me three |
Me four |
Me five |
Interesting。。。 |
I want to ask how do you use it? I always got a problem: raise TooManyRedirects( |
You can use a us proxy or directly deploy on a us machine |
You mean I need to get a valid US proxy IP and add it in "--proxy" parameter? I have to build a proxy pool? |
The free-proxy library give proxies but they doesn't worked for me: from EdgeGPT.EdgeGPT import Chatbot
from fp.fp import FreeProxy
import json, asyncio
async def main():
proxy = FreeProxy().get()
cookies = json.load(open("cookies.json"))
bot = Chatbot.create(cookies=cookies, proxy=proxy)
response = await bot.ask(prompt="hello")
print(response)
if __name__ == "__main__":
asyncio.run(main()) I get SSL Verification failed or Captcha error |
use freeproxy with https, it is unlikely, but sometimes it works |
When I use free proxies, I often get SSL Verification failed, too. And sometimes I also get "all connections failed." and "connectError" |
I tried many free proxies, but all didn't work. |
I'm using gpt_academic and I met the same problem.
|
I have the same problem.The only temporary fix I can come up with at the moment is to log in and visit new bing via the edge browser, and click the CAPTCHA. This can let my edgeGPT work for one day. |
same i have to do this process before running the script and it lets me use it for 1 day, just open edge browser and then solve the captcha it manualy, and then it lets me do the job done |
But when I open the browser no captcha appears |
But when I open the browser no captcha appears |
but when I enter from the web it does not ask me for any captcha, I can chat normally |
Then you are good to go, you can run your script |
Might be this error is related with VPNs, you used a VPN? |
If you are running a Linux Desktop Environment I solved it now this way. Install Microsoft Edge and xdotool. Start Edge, log into your M$ Account and select saving the credentials for future browser starts. If done you can now execute this snippet here automatic via cron once or twice a day.
It starts the Edge Browser, sends "Hi Bot" to the Bot and the Verification capture is done and the Browser quits automatic. Et voila you can now use edgegpt again for the next 24h. :) |
Thanks for the help, but we windows users have to do that stuff manualy or in WSL, i think automating it with selenium might be a good idea, I mean we can use selenium to automate edge browser. Just log in to it, send a hi to bing and done. I am starting to work on it, after i complete i will provide the code snippet here |
I was trying to program it in selenium but I couldn't do the code with bing hahaha |
I fix it by request to https://www.bing.com/turing/conversation/create |
Then please make the PR |
I checked |
Doesn´t work here. |
Today, I got 503, |
Now it requires CAPTCHA :( |
Fix it with
and
|
thanks |
is acheong still fixing this issue or he isn't |
Any updates ? |
having the same problem |
Trying it. still figuring out that how does their captcha work. If any one knows that what kind of captcha it is, can you please tell it to me so that it would be easier to solve this problem |
Hah, I just tried it with Google Bard (see https://github.com/dsdanielpark/Bard-API), but it doesn't get them right 😄 |
Hah, I just tried it with Google Bard (see
https://github.com/dsdanielpark/Bard-API), but it doesn't get them right
😄
It isn't that great, but it seems pretty accurate. Bard is good at images i think. Thanks for the solution👍
|
i got the same problem "solve CAPTCHA to continue" |
Same for me. I can also not easily solve it by logging in with the browser |
This works! Thanks a lot! Sometimes you need to open Bing and have one chat but then works perfectly |
Guys i found this captcha element, if some one can fix it with this, i think we can get a basic idea of what the captcha is <iframe src="https://challenges.cloudflare.com/cdn-cgi/challenge-platform/h/b/turnstile/if/ov2/av0/rcv0/0/6t8cg/0x4AAAAAAADptsa1Vbw0CGbV/light/normal" allow="cross-origin-isolated; fullscreen" sandbox="allow-same-origin allow-scripts allow-popups" id="cf-chl-widget-6t8cg" tabindex="0" title="Widget containing a Cloudflare security challenge" style="border: none; overflow: hidden; width: 300px; height: 65px;"></iframe> here is another one which helped me out
|
Is there an existing issue for this?
What happened?
After using it 30 times, it prompts this, what should I do?
Steps to reproduce the problem
What should have happened?
After using it 30 times, it prompts this, what should I do?
Version where the problem happens
3.9
What Python version are you running this with?
3.9
What is your operating system ?
Linux
Command Line Arguments
Console logs
Additional information
ok
The text was updated successfully, but these errors were encountered: