ยฉ 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
Cloudflare DevelopersCD
Cloudflare Developersโ€ข2y ago
koreyoshi_re

cf_clearance Set-Cookie failed causing page failed to load

I tried to open day.js.org using a VPN (just an example, it's not the only site with problems) and got the challenge, which was fine.

However, after finishing the challenge, the Set-Cookie for cf_clearance fails.
(This attempt to set a cookie via a Set-Cookie header was blocked because its Domain attribute was invalid with regards to the current host url.)

So cf will keep challenging when the browser loads a static resource (js, css, svg, etc.).
But since this is a static resource, the challenge will never succeed.
image.png
Cloudflare Developers banner
Cloudflare DevelopersJoin
Welcome to the official Cloudflare Developers server. Here you can ask for help and stay updated with the latest news
85,042Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

`cf_clearance` cookie scoped to parent of the issuing domain?
Cloudflare DevelopersCDCloudflare Developers / general-help
15mo ago
about cf loadbalacner.
Cloudflare DevelopersCDCloudflare Developers / general-help
2y ago
Cloudflare load balancer session affinity set cookie?
Cloudflare DevelopersCDCloudflare Developers / general-help
13mo ago
cf_clearence cookie issue on chromium browsers
Cloudflare DevelopersCDCloudflare Developers / general-help
9mo ago