question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[Bug] CloudFlare Challenge get stuck in Infinite Loop

See original GitHub issue

Describe the bug

When opening any website that is protected through a CloudFlare JavaScript challenge, the website is stuck in an infinite reload loop instead of solving the challenge and redirecting to the content of the website.

This affects many websites right now that can no longer be used in HakuNeko due to this issue!

To Reproduce

Steps to reproduce the behavior:

With HakuNeko

  1. Start HakuNeko
  2. Open the Website choosing List
  3. Search for raws.mangazuki.co
  4. Open the manual website interaction link on the result => Observe the website re-loads forever

With Electron

  1. Start electron ./node_modules/.bin/electron
  2. Open the developer tools (e.g. from electron menu)
  3. Switch to the console tab and type window.location = 'https://cloudscraper.cf/cloudflare/challenge.html' => Observe the website re-loads forever

References

Issue Analytics

  • State:open
  • Created 3 years ago
  • Comments:38 (20 by maintainers)

github_iconTop GitHub Comments

6reactions
Sheepuxcommented, Feb 6, 2021

Updates for users on this issue. The fix requires to upgrade the main component that HakuNeko is using. It needs a non negligeable amount of work and Ronny is having a lot of IRL work and therefore not a lot of free time time to contribute on this. He’s the most knowledgeable on this matter and as such we kindly ask for your patience.

3reactions
ronny1982commented, May 21, 2021

I haven’t tested this yet with the provided user agent, but i guess this was just a lucky hit. It would be way too simple if it could be bypassed that easily.

Read more comments on GitHub >

github_iconTop Results From Across the Web

CloudFlare Challenge get stuck in Infinite Loop
Hello Team, Got this issue out of the blue after a brave update to v1.21.74 and a weird bug. My laptop at some...
Read more >
Infinite captcha loop - Security - Cloudflare Community
When I add my own IP and ISP ASN with an allow rule, it works. So I guess Cloudflare somehow flagged my IP...
Read more >
CloudFlare DDoS check get stuck in Infinite Loop
Hi Team, Since the lost of my wifi out of the blue and it coming back up as strangely as it went down...
Read more >
Users stuck on 'checking your browser before accessing ...
Users stuck on 'checking your browser before accessing', ultimately the tab runs out of memory. I feel like your bot detection code might...
Read more >
Cloudflare "Checking if the site connection is secure" Loop
Answer these questions to help the Community help you with Security questions. · The browser is spoofing something after solving a challenge and ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found