JS Challenge looping on Chrome


I’m having troubles with the JS Challenge that gets in a loop on Chrome for my website

I’ve set JS Challenge on the contact page https://www.mockofun.com/contact-us/ in order to prevent automated spam. When I access that page on Chrome I get the challenge, but if I tick the checkbox it loads for a while then reloads the captcha (so no fail message)

Funny enough, on Edge it works fine.

I’ve looked in the requests being sent to the server and I see this request being sent and failing first with status 401 then with status 400:

curl "https://challenges.cloudflare.com/cdn-cgi/challenge-platform/h/b/pat/803d2712ca3c624f/1694238615835/959dc358f2ae85b923271c9412ce3b284275e3935025867eb4271a239b1e4853/lL-nnoEcH_ZooMb" ^
  -H "authority: challenges.cloudflare.com" ^
  -H "accept: */*" ^
  -H "accept-language: en-US,en;q=0.9" ^
  -H "cache-control: no-cache" ^
  -H "pragma: no-cache" ^
  -H "referer: https://challenges.cloudflare.com/cdn-cgi/challenge-platform/h/b/turnstile/if/ov2/av0/rcv0/0/1nlwe/0x4AAAAAAADnPIDROrmt1Wwj/light/normal" ^
  -H "sec-ch-ua: ^\^"Chromium^\^";v=^\^"116^\^", ^\^"Not)A;Brand^\^";v=^\^"24^\^", ^\^"Google Chrome^\^";v=^\^"116^\^"" ^
  -H "sec-ch-ua-mobile: ?0" ^
  -H "sec-ch-ua-platform: ^\^"Windows^\^"" ^
  -H "sec-fetch-dest: empty" ^
  -H "sec-fetch-mode: cors" ^
  -H "sec-fetch-site: same-origin" ^
  -H "user-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/ Safari/537.36" ^

I’ve tried this both in a normal window and in an incognito window. As a side note, this happens to me on all sites that have Cloudflare JS challenge (for ex. I cannot access ChatGPT on chrome because of this reason)

Please advise.

thanks in advance,

Some ideas, let us know if these are helpful, seems like it’s usually the second item (extensions) that cause issues.

  1. Clear the browser cache, history, and cookies, then restart your browser and try again.
  2. Disable any browser extensions, particularly privacy or security ones, as they may interfere with the behavior of the challenge. You can do this by going to the Extensions page (chrome://extensions) in Chrome.
  3. Adjust your browser’s security settings to allow cookies, since some might block cookies, causing the looping effect.
  4. Lastly, make sure the browser is updated to the current version.

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.