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

Loadbalancing failover only

Hello there, i'm very uneducated with load balancing. A month ago I subscribed to CF loadbalancing and created my two endpoints (which are two OVH servers with different IP & location). The loadbalancing works well, request sent to my api.xxxxx.xxx will sometime end up on the first server or on the other which is expected behavior I guess. I want to change the way it works by sending all the request to the first server when the first server is healthy. I want to send to server 2 only when server 1 is down....

Can't add more storage to Stream

I'm on the Startup Enterprise plan and used the 100,000 minutes of storage. When I go to add minutes, it says "Failed catalog product validation for key(stream.base.no_downgrade_from_v2) with message: Cannot downgrade from V2 plan (Code: 7541)". Has anyone else seen this?

[Solved] Help with Rewrite/Redirect rules

Hey πŸ‘‹πŸΏ Need help with rewrite/redirect rules. I set up wildcard subdomain, and I want all subdomains to go to a specific route in my Nuxt app ...
No description

Unifi, Cloudflare and Nextcloud tunnels

My situation is ( and I can't imagine it's unique), I have proxmox running bare metal, on that I have the main cloudflare tunnel, then I have Home assistant ( with it's own cloudflare add-on), and then I have CasaOS running Nextcloud (for auto phone and PC/Mac backups), and want to be able to access the data while on the move as well. Note while I have CasaOS at the moment, I have experienced the exact same issues with Truenas (and Nextcloud), and Nextcloud base app. I can only get CasaOS to work externally if it has it's own instance of Cloudflare running within it. However the moment I start the CasaOS Cloudflare, my Home assistant URL becomes slow, might occasionally connect, but most of the time I get "Bad request:400" error. If I turn the CasaOS Cloudflare off, then Home Assistant runs perfectly. I do however lose access to CasaOs. I am not too bothered by CasaOS external access, just using it as a way to ensure things were working. Even with the CasaOs Cloudflare tunnel working, I still cannot get Nextcloud to work externally....

Images caching

If I store images with cloudflare images, and serve the images URLs through the cloudflare CDN (e.g. proxy enabled in the DNS settings), does each load (even cached through the CDN) count as one delivery? Is there a best practice guide for serving images somewhere? I looked but the docs weren't super helpful, apologies...

Above Average Number of Security Threats

I just got an email saying Cloudflare detected 633 Security Threats for my domain. It also says this is more than the average site on cloudflare... I am so confused as to why this would be the case?? Am I being targeted? My domain isn't really even out there right now! I just use it as a reverse proxy now, though my plan is to use it for a public facing domain in the future... but it's not out there at all right now? Why would I be getting this many security threats esp. when my domain isn't rea...

Dns isssues

From when i transfered my domain over to clouflare,My web pages were working fine but out of the blue i started getting too many redirects error,Any help?

CNAME CROSS-USER-BAN

I want to point the domain in my secondary account to the cname in my main account, but I am facing this problem (CNAME CROSS-USER-BAN). Do I want everyone to be able to use my cname? How do I do this?

Preview of Custom Pages for Challenges does not match production

Hey guys, the preview of Custom Pages for Challenges does not match production at all. In the preview, the ::CAPTCHA_BOX:: token inserts a container with the class main-content, which has a h2 header....
No description

Caching urls with side effects like a user browsing history.

Is it possible for, when cloudflare responds to a request with a cached response, forward the requested url in some forms so analytics, user history, ect can be coded to work even though the origin never saw the request? (would just need to give the user an auth token or some other identifying thing) Atm we avoid caching through servers we dont control, but if there some way our origins could still know what the user did it would work fine since most of our URLs are deterministic given a set of...

Is anyone actually attending to Support Tickets or the Cloudflare Community posts?

We had an urgent billing ticket submitted over one week ago without any replies from a Cloudflare employee (even after multiple follow-ups from us). Similarly, we've posted in the Cloudflare Community pages and also received radio silence. What's happening? Is Cloudflare losing / sacking employees?...

Paypal & Card Payment Failure

i tried to register a domain and it failed at payment steps, Tried both method and multiple times.
No description

Defining R2 Binding in wrangler.toml

Hi, I have an R2 bucket at EU named "foo". The corresponding S3 URL is like https://account_id.eu.r2.cloudflarestorage.com/foo. In my Workers project's wrangler.toml file, I've added it like: ```toml [[r2_buckets]] binding = "APP_BUCKET" bucket_name = "foo"...

it is possible to run purge everything cache via api?

There is a problem when launching technical works. CF caches 502 errors. After shutting down the tech job continues to give clients 502 errors from the cache. I have to clean it manually. We would like to purge the cache immediately after shutdown of technical work by accessing the necessary api....

Where did these IP access rules come from?

I am pretty sure I haven't added these IP addresses manually, so how were they added automatically? When I checked these IP addresses, they were from DigitalOcean, OVH, Namecheap, and IONOS. Should I remove them from here?
No description

Spam Emails

On my client website, there are thousands of bots coming and filling the email form with random emails. I am using turnstile but it is not good enough to stop all. How can i set up Cloudflare firewall to eliminate all bots? Is there a better way of doing it?

How to cache nextjs pages using cloudflare for non logged in users only using cookie set or not

is it possible serve cache pages from cloudflare if a cookie is set or not? I am trying to serve pages from cache if user is not logged in. We add a cookie if not logged in and another cookie if logged in. Problem is, after caching once, it always serve from the cache and it doesn't respect other request.

Domain transfer

If i transfer my domain to another register. and re add my name server as to same CF name server as on my old register i wont need to remake my records in CF. right? evething will just work right?...