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

Pages Deployment Error

My Cloudflare Pages Project built with Remix is often failing to deploy with below error, is there anyway to increase startup limit or find which one is creating the problem? ```txt 15:09:33.006 ✨ Upload complete!...
No description

Using past deployments in production?

Can the past deployments be used in production, or are there limitations (e.g. caching) when using the deployment specific domains? How long do deployments stay available?...

can I create a page rule to redirect for example domain.com/r2/ to a public domain r2 bucket?

as the message said is it posible to create a page rule redirect so when i type in that url it will automatically redirect me to my public r2 bucket url so i can download the file easier

app.osmosis.zone

When entering the website app.osmosis.zone, I was denied entry, saying my IP address was blocked. Can someone help what to do7

build limit problem

Failed: build exceeded the time limit and was terminated. Refer to https://developers.cloudflare.com/pages/platform/limits/#builds for build limits I added webhook but how to avoid the termination after 20 min

522 Error - Custom domain and www. won't redirect.

Hello, Today I was working on my site and noticed that www. doesn't redirect as I expect it to. The domain in question is https://debauc.us...
No description

“wrangler pages functions build” yields output with different filenames

I'm building my Pages' functions with the following command wrangler pages functions build ./functions --sourcemap --compatibility-flags=nodejs_compat --outdir=./dist-functions/ Its output is either index.js + index.js.map...

500 Internal Server Error on Cloudflare Page

Hi everyone! I got this error after deploying a Next.js project. Please let me know how to fix it. Thanks so much!...
No description

I have a git repo that deploys through pages, what would be the best way to share the deployment log

I looked into the account management , it seems I have to also give worker admin/ admin read-only privileges to them. Is there a way to only share the deployment logs for them?

Pelican command not found in deployment to Cloudflare pages

I'm trying to deploy a Python Pelican static blog to Cloudflare. It correctly pulls the repo from GitHub and goes through the whole build process and finishes with a green tick next to anything so I was a bit surprised when I couldn't access the site. Looking through the build log though it appears that Cloudflare does not know where the pelican command is. It all works perfectly on my system and the repo has all dependencies set using Poetry - can someone give me some ideas on how to fix this p...

MiniflareCoreError

I have an error while running wrangler pages dev ./. Please check on https://discord.com/channels/595317990191398933/1207671960767565884, and help me....

ETA for wildcard subdomains support on pages

Is there an ETA for this? It's really the only thing preventing me from moving from vercel. https://community.cloudflare.com/t/wildcard-custom-domain-alternative-for-pages/509081/3...

`wrangler pages dev -- astro dev` fails to follow Astro redirects

Astro project with wrangler pages dev -- astro dev and default adapter fails to properly execute an Astro redirect return context.redirect("/login", 302) with [wrangler] Could not proxy request: TypeError: fetch failed. Deployed version works. Only dev fails. Astro runs on localhost:3000, and Wrangler on localhost:8788...

Wrangler upload succeeds, but deployment fails

Is there any way to get logs for a deployment on the CF side? My wrangler deployment is all green, but the deployment itself has a caution icon with a deployment message in the CF UI.

MailChannels with an external domain?

If my domain is hosted through an external registrar (Namecheap or Porkbun), will that affect my ability to use MailChannels to send email via a contact form / MailChannels pages plugin? Does the domain need to be hosted on Cloudflare for the MailChannels plugin to work?...

Add dependencies needed by build script?

Is there a way to add a dependency that is needed by my build script for a pages deploy? In my case, it is jq. Things I tried: * apt-get install jq - "E: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), are you root?" * sudo apt-get install jq - "sudo: The "no new privileges" flag is set, which prevents sudo from running as root."...

Pages Functions Bundle post-processing

I need to upload Functions bundle's source map to Sentry + post-process both the bundle and its source map to inject Sentry's debug-id https://docs.sentry.io/platforms/javascript/sourcemaps/uploading/cli/#3-inject-debug-ids-into-artifacts AFAIU I need to do the following: 1. use wrangler pages functions build --sourcemap to generate the bundle and its source map. 2. do the necessary post-processing of the generated files...

Cloudflare Could not load virtual:astro-icon

I was trying to update something on my cloudflare pages site, and suddenly I'm getting the following error. All I did was change an HTML lang tag. I'm guessing Astro Icons have changed in some way since 2 months ago? ```js 17:21:39.655 > astro build 17:21:39.655 ...

bindings deployed with wrangler.toml

when I deploy pages, why doesn't the deploy pick up the bindings specified in my wrangler.toml?

Passing env variables when deploying page application with wrangler

Hello, Is there a way to pass environment variables when deploying with "wrangler pages deploy" ? I tried creating a wrangler.toml and configured the vars there as in Workers docs, but it seemns that it doesn't work....