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

Failed: error occurred while installing tools or dependencies

My Workers Build started failing 3 days ago. I even tried to rerun an old build that previously worked, and it fails in the same way. I get the same error with or without using the build cache. ``` 23:05:24.942 Initializing build environment......

Cron trigger stopped working

I have worker with one cron trigger that triggers every minute (*/1 * * * *). It was working fine for several months, last change was like 54 days ago. For some reason it stopped working, last trigger was 8 hours ago. I don't see any errors, and usage is far from any limits....
No description

Get a list of workers bound to a KV

Is there a way to get a list of all workers (including workers for platforms) that are bound to a certain KV? We have a KV that is not supposed to get any requests but we still see a few coming, so we needed to know what workers are still bound to it to check if any of them do receive requests as well....

cron triggers stopped working

I have a worker with a cron trigger running every minute. About 1.5 hours ago, I've deployed a new version of the worker, and since that point, the cron trigger has stopped executing. The dashboard shows that: Schedule: Every minute [View events] Next:...

Dynamic Worker Loaders

Hoping to get an invite to this feature to acct f6e522d1d29f9af62cd07deecf06fcab thanks...

After committing pnpm patch my build is failing

log: Initializing build environment... Success: Finished initializing build environment Cloning repository... Restoring from dependencies cache...

Setting Different Env Vars & Build Commands for Preview/Prod

Hey, 👋 . Starting out a new project, and in the spirit of moving away from Pages to Workers, wanted to ask for some help with deploying a SvelteKit and Convex app. For starters, how does one set different environment variables for preview and prod?...

Worker Node version not updating

Good afternoon! I'm trying to deploy an update to my Docusaurus site, and I've run into an issue I can't seem to resolve. When building, I get this error in the log: ```...

The recent pages release

It mentions about ndoe js version. How is it even linked with node js ?? Isn't pages just the static web hosting? ...

Cloudflare Pages Soft Limit reached

Hello, I'm getting soft limit reached messages when deploying pages to my Cloudflare account, the actual message as below: You have reached the soft limit for the number of projects on your account. Please contact support to create more projects. My understanding is that the soft limit for pages should be 100, but I have only 20 pages deployed and running. Cloudflare Docs has mentioned the creation might be temporary disabled if large number of application is deployed in a short amount of time. Not sure if this is my case since I did created the 20 pages on same day. May I know if the limit is just temporary or do I require support assistance for this? I have submitted the limit increase request form too. ...

Worker runtime public keys deleted every build, secret keys ok

Hi all, I have a problem in my worker where whenever my push to git triggers a build all of my public runtime vars are deleted, but all of the secret vars remain. I attempted to set public key vars in wrangler (along with keep_vars:true) but still not working/completely ignored. the build variables persist no problem.thanks for any info!

Cloudflare NextJS Framework sudden An error occurred while loading the instrumentation hook

After modifying the home page.tsx and adding in prisma with KV and D1 suddenty upon build I get the following error ✘ [ERROR] Failed to prepare server Error: An error occurred while loading the instrumentation hook npm run dev wowrks fine so its just osmethiing on build?...

Node v20.17.0 is incompatible with "undici@7.14.0" | From Wrangler

Solved: - Add env var NODE_VERSION=22 Or - Remove wrangler package pnpm remove wrangler ...

Test driving PayLoad in Cloudflare Workers/Pages and unable to use this AI plugin for Payload

The plugin in question is this: https://www.npmjs.com/package/@ai-stack/payloadcms It allows me to have prompts to the AI model which utilize other fields in my collection. So say, a prompt like: ```...

How to enforce cron's location?

So I have cron which is doing single request to slow server in east europe. 3 out of 10 request is sucessful, the rest is failing beacuse of some random errors (530, 522) - probably because how slow is given API. Is there any solution to enforce location of cron ? So it is executed at least in europe (not in US - request across ocean to slow server always fails). Thanks...

Possible Bug with Worker + Worker AI + AI Gateway & Caching?

Hello, I been racking my head on why my I was not getting any audio from Aura 1. For context, I use a AI Gateway to monitor and cache my Worker AI responses, for audio I send it via Websocket to the Client which plays it via blob url as source. Every time i tried to use the response there was invalid data. At first, I thought I had just been coding bad and causing some issues, but as I started to run out of options, I purged my AI Gateway cache, in hopes that this might of just been a bad response CF end. I made a fresh request for Audio and it played straight away. Happy, that i got the audio, did the same request again just to check it cached and suddenly, no audio? Going back and forth with AI to find out why. For some reason, the first request has correct data, but the second cached request had invalid parts....

Struggling to set up purely SSG website

Hi, I am working on my first SSG website running on OpenNext (came from Vercel) and the website just won't work in SSG mode (i still get fresh content from CMS when a page is reloaded). - generateStaticParams are set for all pages (though I am unable to make them work with "export const dynamicParams = false", even in minimal setup - all pages return 404 with this setting) - in logs all pages are marked ● for SSG - open-next.config is set for SSG cache according to the docs ...

Worker failing with the error “JavaScript heap memory full.”

Hi, I'm facing a problem with my Cloudflare Worker building process: my NuxtJS build has recently been failing with a “JavaScript heap memory full” error. Everything looks fine at first, but during prerendering, when resvg is supposed to generate the OG images, I get an out-of-memory error:...

Cloudflare Vite Websocket -> Cloudflare Tunnel

I can't seem to get a websocket connection that goes from my Vite frontend, to the worker backend, to my Durable Object, to successfully connect through Cloudflare Tunnel with wss:// It is all part of the same monorepo and being run with the Cloudflare Vite plugin Any ideas of things to try?...

Hello, can't access Thai Lion Air website error 1015

Hello, can't access Thai Lion Air website error 1015