Cloudflare Developers

CD

Cloudflare Developers

Welcome to the official Cloudflare Developers server. Here you can ask for help and stay updated with the latest news

Join

Cloudflare Pages: www subdomain returns 522 error ("unknown host")

My static site on Cloudflare Pages is returning a 522 error for the www subdomain. The apex domain (domain.com) works fine. Nothing changed recently (simple HTML+CSS+JS), and it was working normally a few weeks ago. When pinging www.domain.com, it shows "cannot resolve: unknown host". However, the apex domain resolves correctly to 172.67.145.178 (oddly not listed in Cloudflare's IP ranges). MX records are resolving correctly, and emails work perfectly. I already tried:...

DNS_PROBE_FINISHED_NXDOMAIN help

Hey, I am new to all this stuff and need some help. I cant reach my website through the custom domain and its been like 2 hours. I absolutely dont know what to do. DNS check with "A" record works, but not with cname.
No description

pagination is not work in listing of video

in client.stream.list pagination is not working every time i get same record in each request first request: `curl -X GET \ "https://api.cloudflare.com/client/v4/accounts/{YOUR_ACCOUNT_ID}/stream" ...

Zero Trust Warp access rule on Android

I'm looking to set up the posture check to verify the user is using warp. When I set this up as per the documentation, it shows no results in the device posture checks in the dashboard and Device Posture rules are not configured for Android or information is not available in the CloudFlare one app.

DNS

We came over to Cloudflare to give it a go and had the website up and running but we recto give it a miss and go back to our previous hosting updates the records there and the site was live then after about half an hour to an hour we now get this error is anyone able to help me out ?
No description

what is my password?

my account is stuck in a strange situation a) someone invited me to their cloudflare account b) I log in through Google c) the cloudflare account I was added to requires adding authenticator ...

Cloudflare Tunnel Production

Is it a good idea to use a cloudflare tunnel to a access a production api running in EKS serving 100m+ requests per day? I only see people using it for home labs. We want to give public access to blockchain nodes and private access to dev tools, all in k8s.

Cloudflare integration with Workers and Access

I’m relatively new to web dev but it seems like I can generally improve many aspects of my project by working through Cloudflare. Currently my project is a Java App running in a Docker container on a dedicated server. I’m using Cloudflare tunnel to proxy the traffic through a non standard port and the DNS is also managed by CF. I have around 193GB and growing video, audio, documents, and 3D models that reside on the dedi. I’m looking into moving those to R2 storage. Q1: Do I need to cache these files locally on my machine or can they be streamed directly from R2? Secondly - my researching also put me across workers and access. From what I understand I can use Workers to handle the Google Auth and return a session token for the site but I’m unsure how to approach this or how I’m supposed to trust the session token or if I’m misunderstanding this. I do know that once I can trust the email and account that’s accessing the site - I’m in a better position to limit who has admin dashboard acccess via reauthenticating them via CF Access, since I trust my own authentication about as much as I would a toddler with a primed nuclear launch button. ...
No description

522 error on new domain

I have a domain registered outside of cloudflare, which I successfully transferred so I can set DNS rules on cloudflare. This works perfectly and I have used this domain for about 2 years. Today I bought a new domain from cloudflare and set it up the same way as I did my old domain with ddns via caddy reverse proxy. The dns rules were correctly auto updated and point to the same IP as the DNS rules on the old domain. ...

Scapping/Datacenter IP

I got a question. Im on the pro plan for my website and the rules are all enabled. Im getting scrapped like crazy by datacenters IP. Is there a way to block all datacenters IP or ask them to do a CF challenge? Thanks !...

If i buy PRO version can i add "Dont cache 404 in my cache rules"

I have a CF free plan and i created rules for my assets to cache and i set fixed TTL (both edge and browser) but because of often production deploys i can get into situation that CF servers stale content. Now i want to modify my rule not to cache 404 assets but i dont see HTTP RESPONSE CODE as condition. Is that available in PRO version?

Issue with CloudFlare response

Hi guys, I have a page where I can filter a list of results. the website is hosted on IIS. my query parameters are like so:
?contractOption=All&occurrenceRule=&occurrenceType=&selectedName=&startDate=10%2f03%2f2025&startDateMax=14%2f03%2f2025
?contractOption=All&occurrenceRule=&occurrenceType=&selectedName=&startDate=10%2f03%2f2025&startDateMax=14%2f03%2f2025
...

Cloudflare keep to Revalidated my static files even my origin tell to keep a half-year

I found that many path got Revalidated very frequently and lead to high load on my origin server. I want Cloudflare to cache this files as most as possible but this keep revalidate all day. I'm on enterprise plan and support center tell me to try purge that path then that work fine, after that every request for this path got HIT. That's mean I need to purge all of path which faced this problems....
No description

How to setup CF MCP server in Cursor?

I'm not able to setup it on my Windows desktop, using mcp.json (for Claude) from: https://github.com/cloudflare/mcp-server-cloudflare My goal is to reach via the official CF server the text files for LLMs like: https://developers.cloudflare.com/developer-platform/llms-full.txt and nothing else, I don't want to allow anything else!...

Need help All domain records gone but cloudflare is showing them

Need help. I didn't do any change but website stopped working, I checked domain through domain lookup websites and got to know all records are gone but if i sign in to cloudflare, i can see records over there And I am not using any reverse proxy or tunnel...

Help! Cloudfare thinks I committed fraud to get my domain.

Hi, a few days back I registered a domain from cloudfare and last night I got a mail by cloudfare with a stripe link that its for ruling out fraud transaction. Actually, I live in India but i used my uncle's credit card to pay who lives in Canada. Also by mistakenly I clicked on the stripe link and now can't access it. What should I do?

I am trying to set up a cloudflare tunnel on casaos using the cloudflared app

I am trying to set up a cloudflare tunnel on casaos using the cloudflared app, but I am running into the problem of a required domain. I have looked around and cannot find any domain hosts that work reliably. I could get this to work if I had a FREE domain host, but outside that I've tried pretty much everything (also I don't want to port forward).

gitbook and digital ocean domain verification fails when multiple CNAME records exist

We have just changed our project domain. All our apps are moving from subdomains on website1.com to website2.com To work with gitbook and digital ocean, we have several CNAME subdomain records (proxied) to the gitbook page or digital ocean app. I have deleted those record, and added the record to the website2.com but both are complainng they cannot verify. I think this is something to do with the "Error 1014" CNAME Cross-User Banned cloudflare error - indicating that Cloudflare sees that two different accounts (website1 and website2) have the same CNAME record even though it is deleted for many days now. See https://docs.tonomy.io which should point to gitbook....

Cloudflare tunnel suddenly stopped working

DNS_PROBE_FINISHED_NXDOMAIN Tunnels have been working well until suddenly they don’t connect, with no errors indicated in logs. Our local server is running, firewall configured correctly, but the .cfargotunnel.com pointed to from the CNAME record on our domain does not resolve. All tunnels were working well before yesterday....