sydney.py
sydney.py copied to clipboard
"Solve CAPTCHA to continue" Issue.
I have been using Sydney since a while, and recently in the past week all of a sudden I'm facing "Solve CAPTCHA to continue" issue continuously, whether I clear my cookies and cache. Also tried adding the Copilot cookies in the code itself as mentioned in the Pypi Documentation still didn't work for me. Please help me with this issue, Thanks in advance.
@vsakkas have a look into it!, it would solve me a big problem if I get any solution. due to this one of my project is on hold🥲.
Hi @sonugit0607
Sorry, I have been inactive for quite some time now (been busy moving to another country!), but this seems quite important. I will try to take a look at all the open issues on the repo, including this one, in the next few days :)
thanks!
easy question. You need to manually go to copilot website and start one conversation. and then microsoft bing will verify your identity, after verification, you can use the python copilot.
tried multiple times, didn't work.
tried multiple times, didn't work.
It can’t be possible! First, ensure that the cookie you are using corresponds exactly to the Copilot account you are currently logged into. Sometimes, you might log into account A but use a cookie for account B, and your web browser has not yet updated to show that you are logged into account A. It can fool you. Secondly, the only reason the ‘Solve CAPTCHA to continue’ message appears is that Microsoft Bing sometimes activates a system check to confirm if you are a ‘human.’ This can interrupt the Python Bing chat. I simply go to the website, send a question to Bing AI, and a box appears stating that it is verifying something. After this process, I am good to go.
it's not happening in my case, I'm using the same accounts cookies to which I have logged in. and also I don't see any box appears saying "Verifying".
so you are able to manually chat with copilot in many rounds on the web, and there is no box comming out to let you click "confirmed" something like that? theoretically, if you can chat on the web then your python copilot is supposed to work. If you still encounter this issue, I think it is because you account is banned by microsoft for some reason (but I don't believe it). You can test it by creating a new account and see whether python copilot works again.
Actually it's my work profile, not personal.
Hi @sonugit0607 I haven't been able to reproduce this issue unfortunately. I've released a couple minor updates to the sydney package, so please update to the latest version (although I don't think that will change anything)
Besides that, it is possible that your account or IP address has been blocked. Can you reproduce this issue with a different account or with a different IP or on a different machine?
Hi @vsakkas In the same device I have tried with multiple accounts as well, getting same issue. Not sure what's causing this.
yup, can confirm this, i got this weird solve captcha to continue even if i already try to change the cookies and everything
Similar issue faced by my team too
Hey an update here, i manage to get it to working again by changing to other microsoft account, it seems they block my account for interacting with sydney py too many times, i hope the blocking is temporary
To summarize what I've read so far, here's a few things to try:
- Get new cookies
- Use a different account
- Use a different machine
- Use a different account and machine
It is possible that either the IP or the machine have gotten blocked from high usage of the API.
Also, if you're using a proxy, keep in mind that currently proxy support is.. not the best. I will if I can do something about it during this weekend.
I also encountered the same situation. But after updating the cookie value, it works again (without CAPTCHA)!
I'm getting the same issue and I have tried changing the cookies and tried a different machine.
To summarize what I've read so far, here's a few things to try:
* Get new cookies * Use a different account * Use a different machine * Use a different account **and** machine
It is possible that either the IP or the machine have gotten blocked from high usage of the API.
Also, if you're using a proxy, keep in mind that currently proxy support is.. not the best. I will if I can do something about it during this weekend.
Another thing that I didn't mention is that you need to send a message to Copilot on the website itself so that you can verify that you're a human. Usually this shows up on the first message, but after testing, it seems that lately it can also show up on the second message.
I'm getting the same issue and I have tried changing the cookies and tried a different machine.
I've now gotten it to work. I was previously using the cookies from Firefox and now tried cookies from Edge and it works fine.
Maybe the retrieved cookies from Firefox aren't working due to the user headers emulation in the constants.py file (the CREATE_HEADERS constant). I believe that if you replace the CREATE_HEADERS constant with the same headers you used in the request to retrieve your cookies on Firefox, it may work!
Actually, it's documented. You just need to open bing copilot, click new conversation, and send a simple hi
, when the verification is ok, you can go to command line. The verification process is short, may difficult to do a screenshot.
[!IMPORTANT] For regions where a cookie is required, it is recommended to manually write messages to Copilot until a box containing a Verifying message appears, which should then switch to a Success! message. Without this step, it is possible that Sydney.py will fail with a CaptchaChallenge error.
Hi all,
I've released version 0.23.0! Take a look and see if it fixes the issue. It still relies on the old API, which is also used here: https://edgeservices.bing.com/edgesvc/chat