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

Providing external dependencies to Worker Loader modules

Is there a way to pass through external dependencies (from node_modules) to a dynamic Worker's modules? for example: ```js import mod from "@happy-dom/global-registrator";...

Loading a PNG in a worker returning unknown image

I have an image, https://code.superhighfives.workers.dev/social-default.png, that I'm trying to load in a worker to generate an og image. I'm getting the following error "Can't load image, unsupported image type: unknown". The offending line is here: https://github.com/superhighfives/code/blob/aedd457acb7d1987b4f1fe96010f9645f6c60e32/app/routes/resources/og-image.tsx#L94 I'm curious if there's some way to intonate to the worker that it is, indeed, an image. Or if there's some way to say "hey, this content type if png"....
No description

workers outbound trafic filtering for security

Hi all, Did someone had a certification audit and managed to put some way to deny workers outbound trafic filtering based on domain names? i didnt find any feature to really deny trafic at network level, to protect against sensitive data exfiltration from source code corruption, as security best practices needs. even outbound workers of cloudflare for platforms is still fully open to internet outbound. did i miss a feature somewhere? do the certifications audits have some complains about that?...

Error cloning submodules when deploying a git repo to Pages that _had_ submodules before

Hi, I'm trying to migrate from Vercel a bilingual (so 2 deployments) repo; i previously used github actions, that's why I had two other "deployment" repos (since you can't have multiple deployments of the same repo on gh pages) when i tried creating a cloudflare pages deployment, it errored while trying to clone the submodules, that I had deleted. I deleted the .gitmodules file from the repo, deleted the cloudflare projects and recreated them, but it still tries to initialize submodules :/ is it a git clone depth thing, and I just have to push a certain number of commits before trying again? the repo is https://github.com/gwennlbh/portfolio, and I'm basically doing 2 deployments, one with LANG=fr and another with LANG=en (when running the build command, it's a static astro site)...

Workers Paid not being applied

Hey, after running into a bunch of 'Worker exceeded CPU limit' errors, I upgraded to the Workers Paid plan. After the UI already confirmed that I was upgraded (there was a success banner), the dashboard still shows my 100k/day req limit as well as my workers still throwing the cpu issue. When trying to bump my workers cpu config using wrangler, I also get hit with an error saying that I'm still on the free plan. Does anyone have any experience with the upgrade process? Is it expected to take this long?...

I'm trying to deploy a Nuxt 4 project which works, but functions folder is not being served

I have ```// wangler.toml name = "<project>" compatibility_date = "2025-09-29" ...

Getting "Failed to create session: 500" when trying to start containers

Hi! I'm trying to use Cloudflare Containers with the @cloudflare/sandbox SDK but getting a "Failed to create session: 500" error when my Worker tries to start a container. What's working: - wrangler deploy succeeds ✓...

Observability Issues

About an hour ago, all of my CRON-based workers just stopped running. I've noticed intermittent "outages", but this one came after being online for 12 days without issue. Then as soon as I went to run a demo, it stopped processing the CRON job. ...
No description

How’s your experience hosting Nextjs on cloudflare worker?

I’m looking to host Nextjs on cloudflare worker but I’m not sure what things I should be aware of that might not still be compatible. As a small example, can we use axios? Either in frontend code or api route code?

Workers Outbound API Call: Error 525

Hi there! I'm currrently writing a small worker in Rust that needs to issue a call to an API - something trivial (and that works well on my machine). However, when deployed to workers, it seems to result in an "error code: 525" response to the external API Request! These are the request contents themselves: ```...

opennext build fails

By opennext starter project build never succeeds and it infinitely runs the build command in the build runner. Where can I find the definitive instructions for setting up automated github connect builds for OpenNext on workers?

Effect of AI bot blocking on AI overviews/search

I have a client with a small marketing site on Workers w/Static Assets and a custom domain that is now run through Cloudflare. He wants to know if Cloudflare's AI bot detection will prevent or degrade his site's ability to appear in all of the different types of AI overviews and searches that are becoming common online now. Understandably, his priority is to be featured as widely as possible. I've been looking at the Cloudflare documentation and also on Google, but haven't found anyone squarely addressing this....

Can a tail worker log to Observability

I have a tail handler defined within the same code as the fetch handler (so that the tail consumer service is the same worker in wrangler.toml). Should I be able to see tail invocations and any console.logs emitted by the tail handler code in the obervability UI in the dashboard?...

aiSearch does not vectorize files with Custom customMetadata inside the R2

Problem at: aiSearch does not vectorize files with Custom customMetadata inside the R2, I test without the customMetadata and it worked well, when I try to start sync, it shows an "unknown error at the files with metadata) Is customMetada allowed at r2 files inside aiSearch? Why is this happening? code snnipet that im using to scrape and upload the files inside my R2...
No description

no SHA in the new UI

Today i was noticing that a new UI has been deployed. it looks nice and clean, but the commit sha is missing, making the process of tracing a bit harder. Can it be readded?...
No description

Worker VPC

Hi, can someone enable Worker VPC and Private Links to my Cloudflare account? I need to invoke AWS’s ALB via CF...

"npm run dev " fails

Try to make a project using cloudflare with postgres as db. ```import { Hono } from 'hono' import { sign, verify } from 'hono/jwt' import { getPrisma } from '../prismaFunction'...
No description

Etag is removed by in wrangler preview:remote mode

in preview with local resources mode, the response header contains a etag (from Nextjs cache) and the subrequest could return 304 when cache hits. but in preview with --remote flag the etag is removed. i find the doc says about disabling Email Obfuscation and Automatic HTTPS Rewrites https://developers.cloudflare.com/cache/reference/etag-headers/. i tried it but not working (i suspect this is the solution though, because i am just doing preview with remote cloudfalre resources like kv, i don't...

Can't access my account, working on Workers

Can't access my account, working on Workers, did you blocked my account? API Request Failed: GET /api/v4/accounts/914c578f653149ef5e05c1786c1e0165/workers/observability/queries?perPage=50&page=1 (undefined)...

Deployment of static site failing

Hey folks I'm getting this error trying to deploy the static react router 7 template, why does it need a server folder:
11:20:25.691 ✓ built in 6.17s 11:20:25.797 Success: Build command completed...