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.

Error parsing Cloudflare IUAM Javascript challenge

See original GitHub issue

script was working reliably for weeks, but this morning spit out the above error.

Here is a pastebin of the page text: https://pastebin.com/HXmdsm0E

Page url in the pastebin.

it’s failing at the start of the script, with the line: cookie_arg, user_agent = cfscrape.get_cookie_string(url)

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:23 (4 by maintainers)

github_iconTop GitHub Comments

17reactions
Anorovcommented, Apr 4, 2018

Thanks everyone. I’m pre-occupied at the moment, but I’ve identified the change Cloudflare made and will get the module working again in a few hours.

11reactions
Anorovcommented, Apr 5, 2018

I pushed a change to fix this issue. Can you all please run pip install cfscrape -U to update to the latest version and check if the issue is resolved now?

Cloudflare made some minor changes to their IUAM challenge, which is what caused the library to break. I also refreshed the user-agent pool and increased the delay to 8 seconds to make it a little bit harder for them to detect.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Recent Error parsing Cloudflare IUAM Javascript challenge
Hello, I'm getting the IUAM parsing error since a day. This might be the same as #192. I cannot verify if the remote...
Read more >
cloudflare : r/sickrage - Reddit
Error message: 2018-06-23 16:25:29 SEARCHQUEUE-DAILY-SEARCH :: [5066fab] Request failed: Error parsing Cloudflare IUAM Javascript challenge.
Read more >
https://raw.githubusercontent.com/lukele/cloudflar...
DOTALL).groups() js = match[0] + match[-1] except Exception: raise ValueError("Error parsing Cloudflare IUAM Javascript challenge. %s" % BUG_REPORT) js ...
Read more >
Pathing status - Logs - Cloudflare Docs
Challenge (Captcha or JavaScript) or block visitors who use a browser for which the User-Agent name matches a specific string. EdgePathingStatus ...
Read more >
cloudscraper - npm.io
Node.js library to bypass Cloudflare's anti-ddos page. ... See more here; 3 this error is returned when library failed to parse and solve...
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