Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cloudflare Turnstile ERROR_CAPTCHA_UNSOLVABLE #66

Open
bingyu50 opened this issue Nov 13, 2023 · 4 comments
Open

Cloudflare Turnstile ERROR_CAPTCHA_UNSOLVABLE #66

bingyu50 opened this issue Nov 13, 2023 · 4 comments

Comments

@bingyu50
Copy link

Looks like Cloudflare Turnstile does not work now.

@RezohlazovVI
Copy link

Hi, @bingyu50! Have you been able to solve this? Was your captcha type "interactive" or "managed"? It looks like 2captcha doesn't support interactive turnstile captchas, because it works fine for managed turnstile in their API docs

@Jackson-Vieira
Copy link

Hi @RezohlazovVI, I have same error ERROR_CAPTCHA_UNSOLVABLEthis captcha info and the following code:

image

result = solver.turnstile(
    sitekey="0x4AAAAAAADnPIDROrmt1Wwj",
    url="https://cityoflapcp.ezlinksgolf.com/index.html#/search",
    data="foo",
    pagedata="cloudflare captcha",
    action="challenge",
)

print("Result: ", result)

sleep(30)

captchaId = result["captchaId"]
url = (
    f"https://2captcha.com/res.php?key={YOUR_API_KEY}&action=get&id={captchaId}&json=1"
)

response = requests.get(url)

can you help me?

@dzmitry-duboyski
Copy link
Contributor

@bingyu50 @Jackson-Vieira @RezohlazovVI Good afternoon. 2Captcha successfully solves captcha on the site you specified. To solve captcha on this site it is not enough to pass captcha parameters, you need to follow the instructions described in the article Bypassing Cloudflare Challenge with Puppeteer and 2Captcha.

There is a great example demonstrating how to bypass Cloudflare challenge page. Just change the URL of the page to the one you need in example, the captcha will be solved successfully.

Please let me know if you have any problems.

@codingmall
Copy link

When you access a site which shows "Just a momemnt" page and says "Verify you are human by completing the action below." then when you click the checkbox it redirects to the actual site as a POST request and in the request payload it does not contain 'token' parameter at all. It sends 5 randomly named secret parameters with long encrypted values to the actual site which verifies them and allow you to move on.

I believe this is not possible to solve using 2captcha because all 2captcha docs mentioned a single 'token' parameter everywhere. Is it right?

I have almost created a custom solution to solve those site entry captchas by the way but it is a big job and still much left do it. Can 2captcha solve it? Or should I continue with my custom solution?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants