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

i keep getting redirected to error page when i try to access workers

For the past hour ive been getting this instead of the workers page view
No description

Is there a working sample for Cloudflare Containers using a basic index.js & wrangler.toml ?

The docs are outdated. I'm looking for a really sample template. All existing examples use TypeScript & JSONC. I've a Ktor server (JVM) and I just want to deploy that....

Please enable R2 through the Cloudflare Dashboard

We've already enabled R2 from our dashboard and we have an active R2 subscription. But we keep getting errors saying "Please enable R2 through the Cloudflare Dashboard." Please help....

How long do static members declared in DurableObject persist?

I tested that it persists even when the object is idle. When exactly are static members destroyed? class Test {...

Hostname already has externally managed DNS records, use 'override_existing_dns_record' to override.

I'm getting the following error: ``` Hostname 'mysiteredacted.org.country' already has externally managed DNS records (A, CNAME, etc). Either delete them, try a different hostname, or use the option 'override_existing_dns_record' to override. [code: 100117] If you think this is a bug, please open an issue at: https://github.com/cloudflare/workers-sdk/issues/new/choose...

TURN Key endpoint failing

I think the endpoint to create a TURN generation key is failing. I cannot hit it with curl despite my API token being valid and having Calls Write access. Keeps saying authentication not valid for this resource. Anyone else have this issue?

WhatsApp Cloud API webhook verification not reaching my Worker

Hey all! I’m trying to set up a WhatsApp Cloud API webhook with a Cloudflare Worker, but Meta’s verification request never seems to hit my Worker. What I did:...

HTTP/3 (QUIC)

I hope the Cloudflare HTTP/3 (QUIC) packet issue gets fixed. Everything will work fine on Deutsche Telekom then. Right now, it looks like there is an SSL issue according to the status page.

browser rendering usage calculation errors

I’d like to report what appears to be an error in the browser rendering usage calculation. As shown in the attached logs, only two hours after my last check, the reported total browser rendering hours jumped from 17.1 hours to 41.5 hours. This does not align with my actual usage. I only run a simple site scraper on a 10-minute interval, and based on the logs, it is not possible for usage to have increased so dramatically within such a short time....

Philippines requests getting "proxy request failed, cannot connect to the specified address"

We've been getting "proxy request failed, cannot connect to the specified address" when connecting to our supabase backend from workers. Looking through the logs, it seems to be almost exclusively an issue faced by requests in the Philippines, with the odd request in Belgium also affected. (I've determined this via the "cf-ipcountry" and "accept-language" headers of affected requests). Is there an unreported outage happening, is anyone else seeing similar issues. Or anyone have any idea how to report the problem (on paid account)?...

Worker workflow with nextjs

Any idea on how to add workers workflow in nextjs project

workers vs self-host

is it more worth it to use workers then just using my already-owned server with 64gb ddr4 and 16 vcpus?

Setting up worker for multiple enviroments

I have spent days on this it is just not easy or clear from the docs. I run into many issues where, for example if you have a top level bindings for things, like D1 but have other [env] it failes to build. But then when I try and create env's for say having a local dev I need to have D1 binding ID. Can ya'll not fix it to be a bit easier to do this? I have given up on even having a local D1 DB created and just decided to now have a central remote "dev" D1 DB but now when I configure that I get this error: ⛅️ wrangler 4.33.2 (update available 4.36.0) ───────────────────────────────────────────── Support for remote bindings in wrangler dev is now available in public beta as a replacement for wrangler dev --remote. Try it out now by running wrangler dev --x-remote-bindings with the experimental_remote option enabled on your resources and let us know how it goes!...

How do I manage secrets across environments vs. preview URLs in Workers?

I’m a bit lost with how Cloudflare Workers handles environments and secrets. - If I define multiple environments in wrangler.toml (e.g. [env.prod], [env.preview], [env.dev]), Wrangler deploys them as separate Worker scripts (my-app-prod, my-app-preview, my-app-dev). Each of these can have its own secrets, which makes sense. - But when I use the Cloudflare dashboard’s Git integration, I get automatic Preview URLs for each deployment. That part is great, but I can’t figure out how to set different secrets for previews vs. production. It looks like they all share the same secrets because they’re the same Worker, just different versions. ...

800k+ms wall time? 3ms CPU time

I'm constantly getting massive wall time on a scheduled task that has very short CPU time. Does anyone have some insight they can lend? (See attached pic) The only code in the script is below, and the DB size is tiny (only about 400 records) const conditions = [ ularn=1 and winner=1, //...
No description

Error 1102 is happen frequently on paid plan

I have a nextjs app deployed from my GitHub up and running on a paid workers plan. The domain is on cloudflare as well. Somehow even with the paid plan and CPU time set at 300,000ms my users are getting this error and having to wait while this goes away. This is not good for my business. How am I supposed to scale my app with this happening frequently? I have done what I can to reduce calls to supabase that my app is connected to. I'm seeing this is frequently happening to others as well based on this discord and from searching the error online. One post on this discord 4 days ago said fixes were being looked into. What can I do or what is being done about this? Should I host my app elsewhere?...
No description

Errors deploying Worker with OTEL traces

I'm trying to use the new OTEL traces feature https://github.com/cloudflare/workers-sdk/releases/tag/wrangler%404.35.0 I enabled it by adding traces = { enabled = true } under observability, so: ```...
No description

2 Route worker

Can I make the worker work like Two routs Api.xyz.com ==> invokes worker ...

Cron in Workers

Hi guys, I am wondering is it possible to extend the timout when running cron in workers? I am using the paid $5 plan and it seems like the timeout is only increase 15s from 15 to 30s, am i doing something wrong or is there anything that i can do with the timeout?

Hi, Is managing the cloudflare cache inside the worker's entry point module the recommend way?

I’m working on a small Next.js project deployed to Cloudflare Workers using OpenNext. The app includes both frontend and backend — meaning there’s no separate Node.js server, everything runs directly in the Worker environment. The example usage of either Fetch-based caching or Cache API are all demonstrated inside the Worker’s entry point Is this the recommended way to manage caching in Cloudflare Workers? i.e., handling all caching logic in the entry point?...