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

Worker build is failing (Preview Build)

Hi, I am unsure why this is failing, but there might be an incident or issue?
2025-07-29T15:02:47.319Z Initializing build environment......
No description

Workers build queued with no other builds going on

I noticed my build is in queued status (which it never has been before), but I don't have any other builds going on. Why would it be queued? I also canceled and tried to rebuild it (it's auto triggered with code changes to github) but it still says queued. Any ideas why this would be happening?
No description

Worker Service Binding not working

Hello, we are trying to call a function of workerB like in the service binding demo article but get an error on Worker A:
ERROR: env.WORKER_B.myFunction is not a function.
ERROR: env.WORKER_B.myFunction is not a function.
The service binding is
{binding="WORKER_B", service = "worker-b-stage"}
{binding="WORKER_B", service = "worker-b-stage"}
and the worker b has: ```export default class extends WorkerEntry point { async fetch(..){..} ...

RangeError on workers

I am having this error only when deployed to cloud flare and I don’t encounter this locally. I am not returning any status codes response outside of the range 2xx to 5xx Error:...

Non-production branch deploy command

I'm starting to use workers as I'm adding workflow support to an application I'm serving with pages. I'm working on getting prod and no-prod environment alignment and I'm seeing some oddities when i'm deploying the worker for a PR. it seems to be running the "Non-production branch deploy command" which I have set to a pnpm script that runs this wrangler deploy --config workers/sync/wrangler.jsonc -e preview workers/sync/index.ts and passes the "-e preview" to send this to the preview environ...

Websocket Hibernation DO + Vite local dev

Hi all, im facing an issue and it’s making me pull my hair out I’m currently writing a Vite app (React Router 7) , using cloudflare’s official vite adapter. I’m enabling users to see who is connected to a given page (much like the tutorial on the cf docs itself) ...

Workers throwing 404 when live

I'm working on a Micro-services architecture but with CF workers and when the gateway forwards the API calls to other workers i get the error on the picture. This error only occurs when live
No description

Static asset file limits

Hi there! I opened a thread in #pages-help earlier this year about file count limits: https://discord.com/channels/595317990191398933/1361914707430080513 We're moving away from Pages to a Worker, and workers docs state the existing rate limits (20k files max) are still in place for Static Assets. I'm just checking in to see if that is still a hard limit, or if the limit can be increased on request? ...

Network Connection Lost on Fetch but Fetch not Attempted

Hello, I'm trying to send large content from workers and I'm getting a network connection lost error when attempting to send anything above roughly 100Mb. I don't appear to be getting any requests on the receiving end, so I am thinking my worker isn't even attempting to send the request at all. Is there some limit I'm hitting on outbound request size from a worker? ...

does CF workers include any kind of sortable Request ID like ULID/UUIDv7 into the request context?

Hi, I'm trying to improve logging in in R2 by generating an Request ID. Does Workers has any kind of Request ID included in the request context so I can save a few ms of generating an UUIDv7. This is really crucial to our system, since we are saving auditing data into R2 data catalog.

Next JS Git Deployment Help - Out of memory

I'm deploying a NextJS app via the git integration,which deploys fine from my local device, but when setting up the integration I get the following error when deploying. ``` 13:19:29.273 Populating Workers static assets... 13:19:30.175 opennextjs-cloudflare deploy...

help me

Hello, everyone. I have a question. I registered a website on Cloudflare, but I can't access it. What's going on?

Invalid Account ID" Error (ERROR 9426)

I am experiencing a persistent "Invalid Account ID" error (ERROR 9426) when attempting to deliver images via Cloudflare Images using a Worker on my domain, mrlipx.com. I have been troubleshooting this extensively without success, and it appears the issue lies outside of the Worker's code logic. My Cloudflare Images Account Hash is: HUDbG83RTduFMklKurMDw The exact error message I receive is:...

Worker dying after 30s even after changing limits to 5min

I'm on the paid plan, however I noticed a worker I have dies around 30000ms, even though i said my wrangler config with the 5 min limit as defined here https://developers.cloudflare.com/workers/platform/limits/#cpu-time

How to paste into the web code editor?

Attempting to paste into the web code editor just shows the "No code actions available" message. Is pasting just not allowed for the web editor? Why is that?

Smart Placement

I have three Workers apps (2 SSR/fullstack; 1 SPA) which connect to a Worker "service" that makes the API requests to the external services they need. The service is a WorkerEntrypoint and the app Workers connect to it via Service Bindings and make RPC calls to it and it calls the API endpoints. The users are mostly in South/East Africa but the origin servers are in Germany/Ireland. The reason I did the architecture this way was thinking that by enabling Smart Placement on the service it'd be moved close to the origins while the apps ran on the Workers near the users in Africa (or the US while we're developing it). However, the dashboard says "Your Worker has not received enough requests to make a placement decision". Production (with no real users) has gotten 455k requests in the last month. Dev (with US traffic from us developers) has 680k+ in the last moth. What's "enough"? ...

Worker build Error

I need help with a GitHub and Cloudflare issue, here's the overview, what should I do? Summary of Cloudflare Workers Pages Deployment Issue Problem Description...

vite build fails with ✘ [ERROR] A request to the Cloudflare API (/accounts/b50cxxxxx)

I have a monorepo powered by turborepo. it has a web app by tanstack-start(vite), a hono server app and some few packages. the boilerplate was generated by better-t-stack. I'm able to successfully deploy the web app but when deploying the backend server, it fails. It doesn't matter whether i use vite and raw wrangler as build step. Console logs generated when deploying the server can be found at https://gist.github.com/waptik/7560b4350ab30698981a5dc867e81514 first script is when i run pnpm run deploy script in the root folder and the second is i ran it inside apps/server...

Hot reloading with Sveltekit and npx wrangler dev - is it possible?

Hi team, I'm using Svelte5 - and would love to use npx wrangler dev to develop quickly. Did some research and apparently it does support Hot Reloading, however, I've never managed to get it working. Does anyone have any insights or know if this is possible or not?