r/CloudFlare

I built Fluxychat – realtime chat on Cloudflare Workers, Durable Objects and D1 [open beta]
▲ 2 r/CloudFlare+2 crossposts

I built Fluxychat – realtime chat on Cloudflare Workers, Durable Objects and D1 [open beta]

Spent the last couple months building FluxyChat on:

  • Workers
  • Durable Objects
  • D1

The core pattern is:

>one Durable Object per room

The Room DO handles:

  • WebSocket sessions
  • ordering
  • realtime broadcast
  • coordination

D1 stores:

  • messages
  • quotas
  • metadata

A few things that worked well:

  • single-writer room ownership
  • simpler fan-out logic
  • idle room hibernation

Things that became harder later:

  • reconnect storms
  • cross-room analytics
  • replay consistency
  • D1 write amplification

Implementation is here:
https://github.com/AlessandroFare/fluxychat/tree/main/apps/worker/src/durable-objects

Questions for people running DOs in production:

  1. How are you handling reconnect storms after hibernation?
  2. Are you batching D1 writes aggressively?
  3. Have you kept the “one DO = one room” model long term?
u/Brilliant_Sweet_731 — 1 day ago

Unauthorized Cloudflare Worker injected fake CAPTCHA / ClickFix page on my domains

One of my sites started showing a fake “Cloudflare human verification” page asking visitors to press Windows + R, then Ctrl + V, then Enter. The clipboard contained a suspicious command using cmd / rundll32, so it was clearly not a real Cloudflare challenge.

At first I thought the problem was on the website/server side: WordPress, plugins, theme, .htaccess, injected JavaScript, cache, etc.

But after checking, the origin server looked clean.

The real issue was inside Cloudflare.

In my Cloudflare dashboard I found an unknown Worker named something like:

holy-recip-aeba

It had been attached to multiple domains through Worker Routes.

In the Cloudflare Audit Log I found the full sequence:

  • LOGIN success from suspicious IP
  • Create Token: "Cloudflare Agent (auto-generated)"
  • Upload Worker Module
  • Create Worker Routes on several domains

The Worker was then injecting the fake Cloudflare / ClickFix page before the request reached users.

So in my case, this was not caused by WordPress, not by the hosting server, and not by Cloudflare itself intentionally. It was an unauthorized Cloudflare Worker created after the account was compromised.

What I did to fix it:

  • Removed all Worker Routes linked to the unknown Worker.
  • Deleted the malicious Worker.
  • Purged Cloudflare cache on all affected domains.
  • Changed my Cloudflare password.
  • Enabled 2FA.
  • Regenerated the Global API Key.
  • Checked and removed suspicious API tokens.
  • Reviewed Audit Logs for login, token creation, Worker upload, and route creation events.
  • Checked Google/Gmail security and local PC/browser extensions.

My advice: if you ever see a fake Cloudflare CAPTCHA asking users to run commands with Win + R, don’t only scan WordPress. Also check:

  • Cloudflare → Workers & Pages
  • Cloudflare → Worker Routes
  • Cloudflare → Audit Log
  • Cloudflare → API Tokens
  • Cloudflare → Global API Key
  • Cloudflare → Account Members

This type of attack can make a clean site look infected because the malicious code is injected at the Cloudflare edge.

Hope this helps someone.

reddit.com
u/mobileos-it — 1 day ago
▲ 76 r/CloudFlare+2 crossposts

Cloudflare just gave me a grant for my startup!

Im suuuuuuuper happy rn! Just got a grant from Cloudflare!

Solo building is difficult, especially cross platform. I'm currently running yaps.ai, offline dictation and notetaking (like wispr flow + obsidian having a baby with beautiful UX 😅), but it's quite intense. Anyway, my whole backend runs on Cloudflare and so I checked and found out they do startup grants.

Anyway, I applied on a whim and turns out I got it! Credits sure, but since I work with local AI models for privacy, this was the final real cost that would hit me at scale.

Even if you just have an idea, you can probably apply here:
https://www.cloudflare.com/startups/

u/rich_awo — 1 day ago

Alchemy ?

Is anyone using https://v2.alchemy.run/ For managing CloudFlare with infrastructure as code

Would love to know your experience with it. I've started to experiment with it in our product suite, and while it's in beta, it does seem quite useful and easier than the more mature alternatives

u/socratifyai — 1 day ago

warp-cli rocks!

After learning to use the Cloudflare app on the Android, I discovered warp-cli for Linux. After going through a pretty simple install process, I'm happily using it all the time on my LXDE desktop.

One awesome feature is that after getting everything setup, it maintains its status across reboots. Most of the time, I leave it in warp mode.

When I want to watch Hulu, which is notorious for detecting VPN activity, I execute this command:

warp-cli mode doh

and then I watch Hulu. Afterwards, I execute this command:

warp-cli mode warp

which reestablishes the encrypted tunnel.

reddit.com
u/jexukay — 1 day ago

Cloudflare Solutions Engineer interview

Hello ! I had a 6 rounds interview with cloudflare regarding a solutions engineer role, i did the RH screening , the hiring manager interview, the take home tasks, the technical , the orange cloud round and finally a role play. the last round was last week . do you have an idea when will i get response ? and how likely will i get hired ? thank youu

reddit.com
u/Last_Sleep_7743 — 2 days ago

Does my home external up address changing (which could happen) stop my tunnels from working?

Hi all,

I started my Cloudflare journey tonight and wanted to check that my setup will continue working correctly.

I bought a cheap domain through Cloudflare and pointed it at my external IP address (94.175.xxx.xx). I’ve recently learned that this IP isn’t fixed and my ISP could change it at any time.

I followed this YouTube guide:
https://youtu.be/o4OFKBev6hU?si=hWZ6k9UMQQbNDbOS

The video walked me through setting up external access to my Sonarr/Radarr Unraid Docker using a cloudflare tunnel using subdomains like:

sonarr.DOMAIN.co.uk

Everything is working great so far, but now I’m worried that if my ISP changes my external IP address, everything will suddenly stop working.

Am I understanding this correctly? If so, what’s the proper way to handle this?

Thanks!

u/GenericUser104 — 1 day ago

What?

This looks so suspicious, I'm going to pass up. The terminal command it asks to execute has a lot of cryptography in it, and I'm not in the mood to deconstruct it to see what exactly it does.

u/Nanohaystack — 2 days ago

So bummed...upgraded on an older machine!

Hi all. I LOVE CloudFlare and all it does.

I have it installed on a 10yr old MacBook Air that I use when traveling, because my wonderful sling bag will fit it. Apple stopped making the 11" Air, and I'm kinda stuck with it.

Sadly I blithely accepted the usual CF update today, and got a message back that I can no longer use CF because my OS is too old, and no longer supported. Bummer!

Is there any way to revert back to an older version and keep using it?

Thanks for any advice.

EDIT: Ah, apparently I know nothing about CF. I'm talking about using CF Warp, 1.1.1.1. It's a nice little safety net for me, that's all. Sorry if my post didn't make a lot of sense to you power users! 😉

reddit.com
u/Ok-Prize-6217 — 2 days ago

Considering using Cloudflare for my DNS - is there any downside?

My domain is currently using GoDaddy Nameservers. I'm considering pointing my Nameservers to Cloudflare and copying my DNS records over. Are there any downsides in doing so?

I plan on exporting my current DNS records from GoDaddy and importing them over to Cloudflare. I'm a beginner, so if there are any 'gotchas' that I should be aware of, I'd appreciate the tips. Thanks!

reddit.com
u/skipthedrive — 2 days ago

An Update from Cloudflare’s Community Champions

Tl;dr: Cloudflare laid off much of their Community team and then unexpectedly disbanded the Community Champions program (Discord moderation and early feedback group), leaving the Cloudflare Discord server effectively unmoderated and without the very folks who gave years of their free time to help the community. We’ve decided to create a new unofficial home for Cloudflare users on Discord, a space run by the community, for the community: https://discord.gg/TrPNVKaagR

During the unexpected recent layoffs at Cloudflare, folks involved in leading community efforts unfortunately lost their jobs. This left us (the Community Champions) in an odd spot where we were looking after Cloudflare's own Discord server while having no direct community contacts at Cloudflare. You may have seen many of us in Discord before - we had the green names!

This week, we then received an unexpected message letting us know that, effective almost immediately, the Community Champions program was being disbanded, and our volunteer assistance in the server (moderating the place 24/7 and providing support to Cloudflare’s users) was no longer needed. No real explanation was given as to why, just that it is happening and that the decision had already been made.

The Community Champions program has operated since very early 2021, and has become a staple in Cloudflare’s developer ecosystem, support offerings, and more. Countless users are sent by Cloudflare’s own support team or via product dashboards to the Discord server every single day, and in the vast majority of cases, support for products was offered by a Community Champion purely out of joy and love for the community and Cloudflare.

This news has resulted in many active folks leaving the server already, both community and employees. Therefore, we’re announcing a new unofficial Orange Cloud Discord server, where folks can engage with the same folks who have always helped them, get support for Cloudflare products, and which will be moderated and run by humans who care. Join the server today: https://discord.gg/TrPNVKaagR

---

FAQ

We’ll try to keep this updated as common questions arise in the comments on this post.

What will happen with the old “official” server?

At this point, we don’t know, and it doesn’t seem that Cloudflare does either. There are currently discussions around rebooting it later this summer, but in the meantime, we expect it to be quickly overrun with spam, scams, or worse content now that there’s no longer any active and dedicated moderation team, and the few active employees who were providing support have mostly left. This has already started to happen in the couple of days the server has been unmoderated. We’ve also seen those at Cloudflare who now hold moderation powers unfairly removing negative messages about Cloudflare’s products and decisions (as well as the users posting them), including this very change, which leaves us concerned about the future of open discussion and feedback there.

Why should we believe what you’re saying vs. Cloudflare?

Consider that we are a group of friends who have volunteered our free time over the last many years to help the community, and that Cloudflare is a publicly traded corporation with an image and bottom line to protect. We anticipate that Cloudflare may try to spin their own narrative on what has happened with us posting this, and recognise that this may cause some confusion for the community. While we don’t think what Cloudflare has done is the right move, we don’t want to burn bridges and trust that we don’t need to, so we intend to keep the conversations involved here private if we can. That being said, rest assured that we do have plenty of receipts for what we’ve said Cloudflare has done in this post (including suppressing negative messages from users and outright banning users posting those), and we will share these if we decide it is necessary to preserve the true narrative.

Can I still get support from Cloudflare directly in the new server?

This is unclear. Activity from Cloudflare employees even in the official server is few and far between, with most support coming from the community directly. While there are some Cloudflare employees already in the server, they’re not there in any official capacity, and in time, we hope that many other Cloudflare folks can find a home in the new server.

What happened to the XYZ channel?

One of the issues in the official server that we would raise regularly was the sheer number of channels that ended up abandoned by their product teams. To combat this, we’re starting small but centralising on a few product categories, and will evaluate and increase the number of channels over time as needed.

Can issues still be escalated from the Discord?

In the old server, we had a direct tap to many of Cloudflare’s customer support and engineering folks, including multiple custom integrations allowing us to quickly escalate issues to the right folks. Many of those folks lost their jobs or have left the server after the recent news.

However, lots of us still have very good friends at Cloudflare, and other methods of escalation that we’ll use as needed should issues arise that can’t be solved in the community. We’re confident resolution times won’t be any slower than they currently are.

Will Cloudflare still (officially) use this subreddit?

This subreddit has always been community-moderated, much like the Discord (though unlike the previous Discord server, the community runs the subreddit and holds ownership of it). There are some Cloudflare employees present here, and sometimes you’ll see a response from an executive when a post gets a lot of public attention, but moderation from employees has always been near-zero.

We have no current intentions to remove anyone at Cloudflare from the subreddit - we want to continue collaborating with them to benefit the community, and their integrations for blog posts and things should continue to work without issue.

reddit.com
u/CherryJimbo — 3 days ago

Cloudflare image hosting & transformation question

I'm building a project that has users uploading images and want to use Cloudflare infrastructure for this. The pricing on it is good. However, I can't quite figure out this pipeline.

Cloudflare Images + Transformations seems to be an account-level situation. Media gets all mixed up in one gigant bucket from all of the projects in my account that are leveraging this. Keys are also at an acount level. If I have media coming in from two different projects, I have no way of knowing which ones belong to which project.

The second option I presume is leveraging R2 and putting something in front to transform incoming images. Does Cloudflare offer image transformation for R2 buckets? I can't find anything. I could sure use the free egress, but I don't want to serve up a 3 MB image for a 200x200 profile picture.

Any other options that are cheap and do what CF does? (ie. transform, store, edge caching, free egress)

reddit.com
u/puckpuckgo — 2 days ago

Questions about free-tier tunnels and streaming audiobooks.

My Goal:

I want my wife’s phone to use a single server URL in her app (e.g., audiobooks.mydomain.com) at all times. I don't want her to have to switch servers in the app manually.

  • Away from home: It should route through the Cloudflare Tunnel so she can stream her books.
  • At home: It should route entirely over our local Wi-Fi so she can bulk-download large audiobooks at gigabit speeds without piping gigabytes of raw media files through the free tier tunnel, keeping me completely safe from getting banned by Cloudflare for high media bandwidth.

The Plan (and the IPv4 / IPv6 Hurdle):

To achieve this, I am planning to implement Split-Brain DNS using my local AdGuard Home instance to intercept audiobooks.mydomain.com internally and point it straight to my server's local IPv4 address (e.g., 192.168.1.50).

However, my server is strictly IPv4-only (IPv6 is enabled on my local LAN however), but our cellular carriers use native IPv6.

I'm worried about a specific caching/fallback scenario: When my wife walks back into the house and her phone reconnects to the local Wi-Fi, it will query AdGuard Home and get the local IPv4 address. But because smartphones aggressively prefer IPv6, I am concerned the phone might try to reuse a cached public IPv6 address it received while on cellular data or bypass the local IPv4 override entirely to hit Cloudflare's public edge network anyway.

My Questions for the Community:

  1. Is my concern about the phone bypassing the local IPv4 DNS override via a cached public IPv6 AAAA record valid?
  2. If I add a custom filtering rule in AdGuard Home to completely block/nullify IPv6 queries for that specific domain (e.g., ||audiobooks.mydomain.com^$v6), will that successfully force her phone to drop back to the local IPv4 address while at home?
  3. For those running Audiobookshelf or similar low-bandwidth audio services through Tunnels, is the trickle-bandwidth from streaming a single book small enough that Cloudflare doesn't care, or is the Split-Brain DNS approach strictly necessary to protect my account during bulk-sync downloads?

Appreciate any insight, configurations, or advice you guys have!

Sorry for having to use AI to write this but if I wrote it, you probably wouldn't have any idea what I was asking as I tend to ramble, but this is the gist of what I'm trying to figure out.

reddit.com
u/Punk_Says_Fuck_You — 2 days ago
▲ 1 r/CloudFlare+1 crossposts

Applying for Cloudflare Startup Program via Stripe Atlas ($100k perk) - Missing "Atlas" option?

Hi everyone,

I’m currently trying to apply for the Cloudflare Startup Program. I saw the recent (May) update on the Stripe Atlas perks page offering $100k USD in Cloudflare credits.

The instructions on the Atlas dashboard explicitly say: "Select 'Atlas' when applying to the Cloudflare Startup Program."

However, when I go to the Cloudflare application form (https://www.cloudflare.com/startups/), there is absolutely no "Atlas" or "Stripe Atlas" option in the partner/accelerator dropdown menu.

I’ve already reached out to Cloudflare support regarding this but haven't heard back yet. Since this perk was just recently updated in May, I'm wondering if their form is just outdated?

Has anyone else successfully applied for this recently? Should I just select "Other" and manually type in "Stripe Atlas", or is there a specific referral link hidden in the Stripe dashboard that I missed?

Any insights would be hugely appreciated. Thanks!

u/Training-Channel3441 — 2 days ago

what's with the bright idea of removing "exit" from warp?

do Cloudfare think we won't just Task Manager it? Why makes it inconvenient for users?

reddit.com
u/nhansieu1 — 2 days ago

NXDOMAIN error on browser even though Firebase says "Connected" and nslookup returns the correct Firebase IP via Cloudflare (DNS Only)

Hi everyone,

I'm running into a bizarre NXDOMAIN issue with my new domain and Firebase Hosting, and I'm completely stuck.

Here is my current setup and what I've verified so far:

  1. Domain Registrar & DNS: Purchased directly via Cloudflare.

  2. Hosting: Firebase Hosting.

  3. Proxy Status: Set to DNS Only (Grey cloud) on Cloudflare for both root (@) and www A records.

  4. Firebase Status: Shows as "Connected" (Green) in the Firebase Console.

  5. DNSSEC: Completely Disabled on Cloudflare.

  6. Email Verification: Fully verified ICANN registrant email immediately after purchasing the domain (Status is Active on Cloudflare).

When I try to access; however,[https://example.com](https://example.com) or [https://www.example.com](https://www.example.com) on any browser, I get DNS_PROBE_FINISHED_NXDOMAIN.

I also tested

  1. Tried multiple devices, including mobile data (cellular) and different computers, but they all return NXDOMAIN.
  2. When I run nslookup example.com 8.8.8.8 (or 1.1.1.1), it successfully returns the correct Firebase IP (123.45.67.89).
  3. No typos in the Cloudflare DNS settings or the Firebase Console.

If nslookup can resolve the IP globally, why are browsers still throwing an NXDOMAIN error across different networks? Could this be an ongoing SSL propagation issue on Firebase’s end masquerading as a DNS error, or am I missing something specific to Cloudflare-purchased domains?

Any insights or advice would be greatly appreciated. Thank you!

reddit.com
u/J-1Studio — 2 days ago

(RANT) Is there any way to bypass the F***ING CLOUDFARE CAPTCHA?

Long story short, I've had enough of the absolutely abysmal Cloudfare turnstile that every bloody website seem to be using. It has wasted in total hours and hours of my time. What happened to the good old "click car picture" Captchas?

WHY IS LITERALLY EVERY WEBSITE I AM ON USING A F***ING CLOUDFARE CAPTCHA?

Literally every day, I have to go through the sweaty process of switching between different WIFIs and different browsers to get it to work. Most of the times the Captcha won't work on my personal WIFI without VPN, and I LITERALLY have to switch between two different VPNs to have a possibility of it working. And no, I'm not doing resource heavy stuff, nor am I doing shady stuff. I am merely reading blogs, downloading game mods, and searching for info online.

It gets SO TEDIOUS AND ABSOLUTELY DEPRESSING to waste my time on the turnstile for literally tens of minutes every single time I open any of these websites. NONE OF THE TIMES have the captcha completed as fast as the speed advertised by Cloudflare.

WTF do you mean "Verify I am human"? How does clicking a bloody button make me human? They could've at least built a fallback option to use image verification, but NO. They decided to force the captcha to load again and again and again until it completes.

So far, I've tried: using different reputable VPN services, not using VPN, clearing cookies, switching browser, restarting PC, and NONE fixes this problem.

Rant over. I really miss the old days when most of the sites had HCaptcha.

reddit.com
u/HarrisonDou — 3 days ago