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

Shared resources with multiple executions

So I'm just now finding out that resources might be shared acoss multiple instances. For instance, one library loading a cache and setting variables may end up being overwritten by a second execution. So if you cache language dictionaries and the users preferred language but another user with a different language runs code, it might switch to a totally different language. Just curious if this is true or not? 👀...

Adding a binding - not visible in worker bindings

I'm having trouble adding an R2 binding (or any binding for that matter) to a Worker. The chatbot has suggested redeploying my worker after saving the binding, but when I click "New Deployment", and select an updated file, it won't upload? Here are the steps I've taken: 1. Click on Workers & Pages > click on Worker 2. Click "+Binding" > select R2 bucket > select the variable name and R2 bucket > click "Save" in bottom right corner 3. Click "New deployment" on the worker overview page...
No description

Worker Deploys are Corrupted

18:02:39.394 Asset upload failed. Retrying... 18:02:39.394 APIError: A request to the Cloudflare API (/accounts/491ffb4e2aaea21bc19c73ec334e27c1/workers/assets/upload?base64=true) failed. --- ...

Just got banned from the game awards website for no reason

I was just casually voting for the games and it just shows up with "you are being rate limited" wtf did I do??? I just voted for the games to win awards

Need to create a worker, my dashboard doesn't show create from scratch, can't edit Hello World code

I need to create a worker for GitHub pages and my dashboard doesn't show a create a worker from scratch and if I try to use the Hello World option, I cannot change any of the code. The ai chatbot was useless and kept sending me in circles with the same result each time. How do I fix this? I did select the domain I want to use and if I click on worker routes and click create a worker I am right back to the beginning with no from scratch option and not being able to replace the Hello World code

Worker deploys are failing for non production branch

I've been trying to shift to new cicd architecture but it gives me the following error message: ```16:09:11.299 Executing user deploy command: npx wrangler versions upload 16:09:12.113
16:09:12.153 ✘ [ERROR] Unknown arguments: versions, upload 16:09:12.154 ...

NextJS images not showing.

Hi, everyone I just went through the tutorial and deployed my project but the images don't show up and in log this is showing up GET /_next/image 404 Not Found (2ms) . Doesn anyone know why its happening and is there any solution ?

Json Web Token verification

After setting up my worker's route I got a message say I need to verify my JWT. I did this after setting up my same origin domain settings. I don't under don't understand what the JWT is Authorizing in this case. I also don't understand where to paste the code in the attached file. I initially pasted it in my worker's script but I got the errors found in attachment #1. Furter, where do I paste the "AUD" and "JWK" strings?
No description

All workers/pages on account are getting 429 with no direct cause

Hi there. I have about 15-20 workers on my account but they've all suddenly getting 429 Too Many Requests. There is no indication of what is going on. I did see that Page Shield was having issues but once that was resolved, it was fixed but checking the status page, it's not that. Are there ongoing issues within CF atm?...

Cloudflare Pages + Custom Hostnames setup

Domain: www.camit.cl Error: HTTP/2 522 (Ray IDs e.g. 99f8ddaffb79cad4) Pages project: custom-origin.munityos.com (Worker site-worker) Summary:...

Can't enable Workers Logs on dashboard, no way to contact support

Current state: - Logpush was configured years ago for this worker, and the Workers Settings page says it's Enabled, but when I click the "Configure Logpush jobs" I get a 404 - Workers Logs is Disabled ...

Read local i18n json files

I have a worker running a Discord bot and want to start building up i18n for it. I have structure set up, but need a way to load the json lang files. If anything I may just fall back to a basic include and change up the files slightly. TIL this isn't Node.js, but "workerd". So fs.readFileSync isn't available. I tried reading over this blog post but it along with my messed up sleep is making my brain hurt. It's not making any sense. not sure if it's even relatable or not....

Do preview deployments count towards plan quota?

I have a free plan for cloudflare pages which allows up to 500 builds per month. Do preview deployments count? In the limits section it says you can have an unlimited number of preview deployments active on your project

Feature request: would be nice to have an ai site builder

So we have workers and pages. It would be nice if there as an ai builder that we just explain what we want and it will build it using cloudflare services like the worker, pages, R2 storage and database, etc

Time for my client to get request back is much longer than CFW wall time.

Hey guys, running into an issue that I'm not sure if it's CFW or me. Context: I'm just using CFW as middleware to authenticate session tokens using Jose. That's the only thing my instance is doing. The request is to the worker like /llm/request to be able to get a response back. ...

Could not resolve "vue" (and lots more) while deploying Nuxt 4 project as a CF Worker

Im trying to deploy nuxt 4 on cloudflare worker, that previously worked as a CF Pages. It works fine locally. but when deploying I see a bunch of errors like this. I've tried adding to nitro externals.external and external.inline. But I don't see why package.json and pnpm-lock aren't dealing with this. I have SSR: true, not sure if that matters. ```14:35:08.681 ╵ ~~~~~~~~~~~...

Bug when trying to switch Worker Placement

I've recently switched our worker placement from Default to Smart, and have seen increases from up to 3000ms in routing time. So I'd like to switch back, when I try and go back from Smart to Default and try to deploy it, it says: invalid placement mode specified. Which is ridiculous as it's selected from a radio button provided by Cloudflare themselves.

Getting 9523 errors when processing large images with R2 + Images API binding

Hi! 👋 We're experiencing an issue with our image-processing worker that uses R2 bucket bindings together with the Images API binding. Some large images are failing with error code 9523, and we'd appreciate some guidance on what might be causing this. ...

How to deploy dev branch on different custom domain?

I want to dev and prod branches on different custom domains. Application is static with no environment variables....