Cloudflare "Just a moment...Enable JavaScript and cookies to continue"
What you see
Just a moment...Enable JavaScript and cookies to continueJust a moment...<title>Just a moment...</title>One moment, please…
More error strings (4)
Verify you are human by completing the action below.Enable JavaScript and cookies to continueneeds to review the security of your connection before proceedingcf-mitigated: challenge
What it means
Just a moment...Enable JavaScript and cookies to continue is Cloudflare’s bot check, not the site.
It is checking that a real browser is asking, not a script.
So you got a check page, usually with status 403 (refused), instead of the page you wanted.
What we measured: 6 of 100 sites showed it
We asked 100 well-known sites for one page apiece from a datacenter IP (probe run 2353, 25 Nov 2026, 23:53 UTC).
- 6 answered with this check: Crunchbase, Cdiscount, Indeed, SimplyHired, TickPick and Yellow Pages. All 6 sent HTTP 403 and the
cf-mitigatedheader. - Only 3 of the 6 said “Just a moment…”. The others said “One moment, please…”, “Security Check - Indeed.com” and, in French, “Vérification de l’appareil”. So match the header, not the words.
Then we tried a second time on 26 Nov 2026:
| what we tried | what opened (of the 6) |
|---|---|
the same plain request from a residential IP (runs 0129-oxy-resi, 0129-bd-resi) |
4: Indeed, SimplyHired, Yellow Pages, and Crunchbase on the second provider |
| a real browser on a residential IP, 3 tries per tool (patchright, camoufox) | Cdiscount, 3 of 3 with patchright, 3 of 3 with camoufox |
| nothing we tried | TickPick |
Which tool types get around it:
- Residential proxies: the cheapest fix that worked for us, on 4 of the 6 sites.
- A real session (browser automation) on a residential IP, which was needed for Cdiscount.
- Scraper and unblocker APIs and cloud browsers run the step for you. We have not measured them on this check yet.
- CAPTCHA solvers: only for the checkbox variant (Turnstile).
- Free tools with one setting for every site, on the Cloudflare sites in our test (all sites; open-source benchmark, run scrapenews-open-source-benchmark-2026-11-26, 26 Nov 2026). Top tools: Scrapling StealthyFetcher, Botasaurus, Patchright, nodriver and Crawl4AI tie (63–76%). Top HTTP clients: curl_cffi, curl-impersonate, tls-client and Scrapling Fetcher tie (43–57%).
| Vendor, plan it picks | Total a month | $/GB | Total a year | Free trial · note · source |
|---|---|---|---|---|
| HProxy Residential ProxiesLite: 10 GB | $4.70 | $0.47 | $56.40 | hproxy.com · 29 Nov 2026 |
| CakeIP10GB | $6.00 | $0.60 | $72 | promo pricecakeip.com · 29 Nov 2026 |
| Geonode Residential Proxies10 GB Plan | $7.92 | $0.79 | $95.04 | free trial: $5 = 10 GB for 3 daysgeonode.com · 29 Nov 2026 |
| ProxyBase Residential ProxiesPay as you go | $8.50 | $0.85 | $102 | proxybase.org · 29 Nov 2026 |
List prices from each vendor’s pricing page, US dollars before tax, live from our price data. Your own size, in the price calculator: Residential proxies.
Why it happens
The site owner set a rule that challenges some visitors. Cloudflare’s name for it is a challenge page: a full-page screen you see before the real page. It comes from a firewall rule, bot protection or a rate limit. Common reasons it picked you:
- Your client can’t run JavaScript. The check runs a script in the browser.
requests,curland plainfetchnever run it. So they never pass. - Your client doesn’t look like a browser. Cloudflare reads your TLS fingerprint (JA3/JA4: the pattern of how your client opens a secure connection). A Python HTTP client has a different pattern than Chrome.
- You asked for data, not a page. The check is always an HTML page. API calls and WebSockets that want JSON or data just break.
- Your pass cookie is gone or doesn’t match. Passing the check gives you a
cf_clearancecookie, valid 30 minutes by default. Lose it or reuse it from another IP or user agent, and you’re checked again. - Too many requests, or the site is getting hit by an attack. Rate limits can trigger challenges. In “Under Attack mode”, every visitor gets the check page.
The page may say “Just a moment…”, “Verify you are human by completing the action below.” or “Enable JavaScript and cookies to continue”. Same check.
What does the check actually test? Cloudflare runs small jobs inside your browser: puzzles your computer has to solve (proof-of-work), probes of browser features, and tests for quirks that real browsers have. Based on the answers, it lets you through, shows a checkbox or keeps you there.
A script that only downloads HTML never runs any of that, so it never earns the pass cookie, no matter how many times it retries.
The fingerprint test works even before any HTML. It comes from the way your client says hello when it opens a secure connection, not from your IP. A new proxy alone doesn’t change it.
Passing once isn’t the end, either. Cloudflare also keeps judging your session by how it behaves, through a feature called Precursor. If the session starts to look suspicious, then your pass can be weakened or cancelled.
Fix it
- Confirm it’s a challenge. Look for the response header
cf-mitigated: challenge. A 403 with no Cloudflare branding comes from the site’s own server. That is a different problem. - Slow down. If a rate limit is the trigger, fewer requests a minute avoid it.
- Try a residential IP (one from a home internet line). In our runs, this alone opened 4 of 6 sites that showed the check to a datacenter IP.
- Use a real browser (Playwright, Puppeteer, Selenium) so the check’s JavaScript runs. Most human visitors pass it without noticing, and the script-only check usually takes under 5 seconds. Wait for the real page before you read the HTML.
- Keep that cookie, IP and user agent together. Save
cf_clearanceand send it back. Use the same IP and user agent that earned it. Expect a new check after about 30 minutes. - Fix your fingerprint for plain HTTP.
curl_cfficopies a real browser’s TLS plus HTTP/2 fingerprints, so a script looks less like a script. - Checkbox keeps showing? That’s the interactive version of the check (the same tech as Cloudflare’s Turnstile widget). It needs a person or a CAPTCHA-solving service that lists Turnstile support.
- Your own site or API? Exempt API and WebSocket paths from the challenge rule, and for APIs, Cloudflare suggests Turnstile Pre-clearance: users pass once on a normal page, then calls go through.
Why check the header first? A 403 from the site’s own server has nothing to do with bots. A real browser won’t solve it.
Why keep IP and user agent fixed? Cloudflare says the cookie is tied to the visitor and device it was issued to. So it can’t be shared between machines. Solving the check on one box and then spreading the cookie over a pool of proxies doesn’t work.
Passes also have levels. The interactive check (a click) gives the highest pass, which covers every lower check. A pass from the script-only check covers only script-only checks. So if a site raises its rule to interactive, your old cookie stops helping.
Our advice is to treat each challenge as a signal. Slow down and fix your setup before you try again, rather than hammering the site.
Paste this into your AI
My scraper gets a Cloudflare "Just a moment..." challenge page instead of the real page.
Status: <status code, e.g. 403>. Header cf-mitigated: <value or "missing">.
Explain in plain words what this challenge is.
Then list the likely causes in order, most likely first.
For each cause, give one way to test it and one fix.
My setup: <language + library>, <the URL pattern>, <requests per minute>,
<proxy type or none>, <the request headers I send>, <do I keep cookies between requests: yes/no>.Dev details
A challenged response and key parts:
HTTP/2 403
cf-mitigated: challenge
content-type: text/html
cf-mitigated: challengeis added to every challenge page type, andchallengeis its only value. Cloudflare docs call it the reliable way to detect one.content-typeis alwaystext/html, even if you asked for JSON. So a challenge often shows up as a JSON decoding error.- Body markers seen in real crawls:
<title>Just a moment...</title>,challenge-platform,Enable JavaScript and cookies to continue.
Check for it before you parse:
const res = await fetch(url, { headers });
const html = await res.text();
const challenged =
res.headers.get("cf-mitigated") === "challenge" ||
html.includes("<title>Just a moment...</title>");
if (challenged) throw new Error(`Cloudflare challenge on ${url} (status ${res.status})`);
Edge cases:
- Silent bad data. In one crawl of about 1,900 pages, 5 were saved as challenge screens and passed on as empty records with no warning. So check every page, not just the status of the first one.
- WebSockets. In one report, a WebSocket endpoint got the managed check with HTTP 403. A browser solved it; the code client could not.
- Challenge types. Non-interactive (script only), managed (Cloudflare picks, may show a tick box) and interactive (always needs a click). Cloudflare recommends managed for most rules.
- Cookie details.
cf_clearanceis set withSameSite=None; Secure; Partitioned. Cloudflare tacks on a few minutes for clock skew, plus an extra hour for XHR requests. - Rate limits. Challenge Passage (the cookie’s free pass) does not apply to rate limiting rules, and passing once won’t stop those checks.
- 503 instead of 403. Some users get the same page with HTTP 503. A 2021 Cloudflare Community thread reports it for the older JS challenge, while a May 2026 bug report reports it for a managed challenge that hit a PowerShell install command. Match on
cf-mitigated, not on the status code.
In a pipeline, make the challenge a named outcome, not a crash. Check cf-mitigated on every response, log the URL, and count challenges per domain. A sudden jump means the site flagged your setup or changed its rules.
Never pass a challenged page on to parsing or storage. Retry it later or mark it as missing. Otherwise you collect empty records that look fine, just like the crawl above.
If you run the site: Turnstile on its own gives a one-time token, and your server must check it with Cloudflare’s Siteverify API. Cloudflare warns that skipping that call leaves the setup incomplete. With pre-clearance on, Turnstile also sets cf_clearance, at a level you choose: interactive, managed, jschallenge or no_clearance (the default).
With Advanced Rate Limiting, rate limits can also be keyed on the Clearance UUID (http.request.clearance.uuid). That ID stays the same when Cloudflare refreshes the cookie, so the counter doesn’t reset.
Questions
How long does the cf_clearance cookie last?
30 minutes by default. The site owner can change it; Cloudflare recommends 15 to 45 minutes. After that you get a new challenge.
Can I copy cf_clearance from my browser into my script?
Only if your script uses the same IP address and the same user agent as the browser that got the cookie, says the CF-Clearance-Scraper project. Change either one and the cookie stops working.
Why does the check keep coming back in a loop?
Cloudflare lists: a bad network connection, browser extensions that block its scripts, an unsupported browser, JavaScript turned off, or strong bot signals from your setup.
scrapenews difficulty
56/100 · Moderate from 5 of 8 factors
| Factor | What we found | Source |
|---|---|---|
| Smallest client that gets through | a stealth browser | developers.cloudflare.com |
| Checks stacked | JavaScript challenge, IP reputation, mouse and behaviour | scrapingbee.com |
| Cheapest solver price | $1.20 per 1,000 solves | docs.capsolver.com |
| Scraper API credits | 75 credits per request (a plain request is 1) | scrapingbee.com |
| Steps for a human | none: nothing to click | developers.cloudflare.com |
Our analysis of 5 sourced facts; measured runs replace them as they come. How we rate difficulty
Related
Tools that get past it
| Tool | Price |
|---|---|
| $1.00/1k solves | |
| Free | |
| $0.60/1k solves | |
| Free | |
| $2.89/1k solves | |
| Free |
Sources
Cloudflare docs: Interstitial Challenge Pages developers.cloudflare.com
Cloudflare docs: Detect a Challenge Page response developers.cloudflare.com
Cloudflare docs: Challenge Passage (cf_clearance lifetime) developers.cloudflare.com
Cloudflare docs: Cloudflare cookies developers.cloudflare.com
Cloudflare docs: Clearance (cf_clearance levels, pre-clearance) developers.cloudflare.com
Cloudflare docs: Challenge solve issues developers.cloudflare.com
Cloudflare docs: Error 403 developers.cloudflare.com
Cloudflare docs: Under Attack mode developers.cloudflare.com
Cloudflare docs: Turnstile developers.cloudflare.com
Cloudflare docs: JA3/JA4 fingerprint developers.cloudflare.com
CF-Clearance-Scraper README: cookie needs the same IP and user agent github.com
curl_cffi README: browser TLS/JA3 and HTTP/2 fingerprints github.com
dograpper issue #69: challenge pages saved as real pages github.com
BERDL issue #293: WebSocket hit a managed challenge (403) github.com
Claude Code issue #55346: install command gets "Just a moment..." with HTTP 503 github.com
Cloudflare Community: JS challenge answers the first GET with 503 community.cloudflare.com
itch.io issue #1838: RSS readers get 403 and "Verify you are human" github.com
eth2-client-metrics-exporter issue #6: "needs to review the security of your connection" github.com