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

Error rendering dynamic pages: Internal Server Error

I get this error when trying to render a dynamic page on Cloudflare workers. [wrangler:info] GET /forms/public/superteam-feedback-35aed5d7 500 Internal Server Error (11ms) ✘ [ERROR] Error: No such module "next-on-pages-dist/functions/forms/public/[slug].func.js". ...

Browser Rendering API – Active Sessions Unusable

I’m seeing a consistent issue where sessions marked as active are actually unhealthy and unusable. It's been around 7 hours since this issue started. 🧪 I ran a health-check script across 30 active sessions (browser rendering logs don't show these 30 sessions - only can be seen through the puppeteer.limits API): - Healthy: 0...

Probably an extremely common problem. How can i fix the 'ERR_SSL_VERSION_OR_CIPHER_MISMATCH' error

I have a API endpoint (api.domain.com) as a cloudflare worker custom-domain binding. DNS resolves to the proxied record; and the routes deliver the traffic to my worker. I can see the traffic in my workers log. However my client visiging https://api.domain.com/api/health (which is handled by js returning 200 when i test this offline).. fails with 'ERR_SSL_VERSION_OR_CIPHER_MISMATCH' 500 internal server error. I suspect this is something to do with the SSL/TLS Full vs Strict etc.. but no matter what setting I apply - i'm stuck. ...

Is it possible to deploy an arbitrary Worker using Workers for Platforms?

The title may sound unclear, so that I will give more context. Recently, I've made an application that generates a React App, compiles it using Cloudflare Containers, and deploys it to a dispatch using Workers for Platforms(WfP). John Spurlock helped me with that But now I'm unsure what WfP can and cannot do. But as you can see in both screenshots, it looks like I must use dispatcher bind to call the script I deployed. I was able to render the React app as expected, but I needed to do it inside my own worker by creating a new route nd returning my script: ```js...
No description

RPC calls to Durable Object throw "internal error" when Tail Worker is connected

OAuth callback failed: internal error; reference = lgppsme4v6d7pl47h57npdvq The tail worker for the main worker seems to be working (it's a simple fetch() call to Axiom) but the Durable Object seems to be throwing "internal error" when the tail consumer is set ```...

Workers Cache vs Pages Cache

I'm seeing intermittent issues where font awesome icons are rendered strangely. I dealt with this when our app was on pages and resolved it by purging the cache via our github action ``` - name: Purge Cache run: |...
No description

R2 Bucket File multichunk upload doesn't work.

const chunk = await request.arrayBuffer();
const multipartUpload = env.BRIEFLI_PUBLIC_FILES.resumeMultipartUpload(key, uploadId);
const chunkUint8Array = new Uint8Array(chunk);
const uploadedPart: R2UploadedPart = await multipartUpload.uploadPart(partNumber, chunkUint8Array);
const chunk = await request.arrayBuffer();
const multipartUpload = env.BRIEFLI_PUBLIC_FILES.resumeMultipartUpload(key, uploadId);
const chunkUint8Array = new Uint8Array(chunk);
const uploadedPart: R2UploadedPart = await multipartUpload.uploadPart(partNumber, chunkUint8Array);
In the last part it's getting error of this:...

If a worker configuration has assets and service binding both, then the service throws 500

It seems that it's not possible to have assets and service bindings both and not sure if there is a way to get it working. Docs don't mention this so not sure if this is by design or I am missing something. i.e. This doesn't work...

build failing for html/css build/deploy using github for workers

i have a simple html/css site im trying to deploy, but the build keeps failing and i only see the default "hello world". i have linked to my github repo, and it seemed that when building it was having trouble finding the index.html so i edited the deploy command to npx wrangler deploy ./index.html. but i still have the error and the build is failing: ```Success: Finished initializing build environment 14:26:21.460 Cloning repository... 14:26:23.103 Detected the following tools from environment: 14:26:23.106 Executing user deploy command: npx wrangler deploy ./index.html...

Cron jobs not triggering

Cron jobs are not triggering the CF worker since 6 hours ago.

Cloudflare vite plugin and optimizeDeps don't seem to work.

I have a RR7 app that I just migrated to the Cloudflare vite plugin (historically used the Remix cloudflare dev proxy). When I run the app, it tries to optimize deps, and is extremely slow (program reload that Vite triggers are really slow when combined with the Cloudflare runtime startup). I've tried everything to get the dependencies to optimize ahead of time configuring vite OptimizeDeps in every ways possible. I discussed with the Vite and RR7 teams, nothing seems to work. Right now I'm wondering if there's something in the Cloudflare plugin preventing optimizeDeps from working. I see in the source code it sets optimizeDeps but mostly for excludes, and doesn't seem to mess with includes. You can see the behavior if you create a new RR7 app using the react-router-template "cloudflare". If you clear the vite cache and run the app, you'll see dependencies getting optimized lazily, and you won't be able to prevent them from doing so even configuring optimizeDeps. Not sure its an issue with the Cloudflare vite plugin, but no one else seems to know whats up 🙂...

mail worker to multiple emails?

hey, i want to forward mails to multiple other mails using workers, but its not working, here is my setup: ```js export default { async email(message, env, ctx) {...
No description

Can cloudflare help with hosting map tiles somehow ?

I building hobby project and looking for a way to host map tiles for maplibre. Is there any service with cloudflare which cloud either help me to cache or host map tilers ? I am using sveltekit + workers + d1.

Trying to get OAuth2 tokens for Google Auth just fails

I'm currently trying to implement OAuth callback, but when trying to fetch tokens like so: ```ts const body = new URLSearchParams({ code, client_id: this.clientId,...
No description

I'm getting "Queues are unavailable on the free plan. " after upgrading my account."

How long does it take after upgrading your account before you can create queues.

Version preview alias URL returns "Page not found"

I'm trying to deploy a fully static site and support automatically creating preview URLs for PRs (manually rather than using the Git integration), but I'm having issues getting the alias URL to work. When uploading a new version, the Version Preview URL works just fine, but Version Preview Alias URL just returns the standard "There is nothing here yet" 404 page. ```
npx wrangler versions upload --env preview --preview-alias test2
...

x-real-ip no longer has the client IP address, is always "unix:"

Title says it all - I have some middleware that needs to send the client IP in a payload which started erroring with 400s since last night. When I check the logs I can see the x-real-ip headers on these requests are always "unix:"

Occassionally facing internal errors with Cloudflare worker running at scale

Hi guys, I occasionally face errors when using Cloudflare Workers at scale (multiple million requests per minute). Here's an error reference for one of them: internal error; reference = 9778gldg2k4jc0fme0p16i78 Could anyone offer insight into the possible cause?...

Running out of memory in build step of SvelteKit App (Workers)

We're trying to build our SvelteKit-based app from our Monorepo (Turborepo) with Workers Builds, but are facing the typical Node OOM errors as we're seemingly hitting the 8GB limit inside the build step. Running the same process with busted caches, mirrored commands and everything leads to ~4GB of used memory at the end of bundling the whole application on my local machine (Macbook Pro M1). We haven't had this issue with our old builds with Pages, but wanted to move to the new builds and Workers runtime as it provides better logging out of the box and is now recommended on the CF dashboard....

Error connecting to git account

Hi, I'm getting an error attempting to connect a GitHub organization for Workers GitHub import, however even after uninstalling and reinstalling the Cloudflare integration on GitHub, I keep getting the same error: ``` "errors": [ { "code": 8000010,...