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 says file size is above limit, but the file doesn't exist in the repo

There was an image file in my deployment which was above the 26.2 MB limit, so I removed it and pushed a new commit, however when pages tries to deploy this commit, it still claims the file is there. Any idea how this could be?

Issue updating custom domain page.

Hi so as the title says i have this page (https://working-portfolio.pages.dev/) and i added my custom domain to it (https://sebastianbuzdugan.com/) as it can be seen even on the front page my name in the bottom left is missing. Is it because this domain was attached to another page before? What should I do in order to fix this issue? Thank you so much!!

How to tune automatic deployment

Is there any way to only auto build and deploy when only the folder web-app changes
No description

Sveltekit Error: Function called outside component initialization

Migrating from adapter-node. Finished initial setup, got public pages working. But stuck after authentication. In my app user getting redirected to internal pages. Those pages are rendered on server side usually. CF throws 500 and gives following error in the log: ``` "logs": [...

Some images not uploading to Cloudfare Pages

I host fluidgroup.pages.dev on Cloudfare Pages using GoHugo as the website framework. When I build locally, all images display. All images were also successfully pushed to GitHub. But on the actual site, specifically the team page (https://e032ee8d.fluidgroup.pages.dev/team/), the images are missing. My account ID is: 69c15dad39b09cbeb231c806439ccc27...

routes.json limit

Hi, we are developing a site with astro and we are currently exceeding the limits for routes.json
Error: Failed to publish your Function. Got error: Error 8000057: Rules in `_routes.json` are over the 100 rule limit. Refer to https://cfl.re/3FsE4aF.
Error: Failed to publish your Function. Got error: Error 8000057: Rules in `_routes.json` are over the 100 rule limit. Refer to https://cfl.re/3FsE4aF.
We are on a free plan for noe as we are in development. However we looking to launch in october. Our "exclude" list has almost 600 entries. Can we pay to allow a larger amount of entries? (I looked but could not find any information on this)...

Error configuring Cloudflare Pages custom domain

I set up a custom domain on Cloudflare Pages, but when I access the address, an ERR_SSL_VERSION_OR_CIPHER_MISMATCH error is returned. The pages.dev address works, but the domain does not. https://redelimpanome-parceiros-app.pages.dev https://parceiro.redelimpanome.com.br...

the deployment failed

https://dash.cloudflare.com/445cf4e5f5179f92b804f9dbcc99b4fb/pages/view/bnm-dev-sa/64aac6f3-b5fb-45ed-88f3-fd22663584e0 Hello, my deployment is failed, but I can not see its reason. Could you please help me? accountId: 445cf4e5f5179f92b804f9dbcc99b4fb deploymentId: 64aac6f3-b5fb-45ed-88f3-fd22663584e0 https://64aac6f3.bnm-dev-sa.pages.dev/...
No description

What is a "concurrent build"?

Browsing Pages plans and notice a limit to "concurrent builds". Features states "1 build at a time" for Free and "5 concurrent builds" for Pro. What does that mean?

Deploying Preview & Production

I have a Cloudflare Pages app. So far I've been deploying from the wrangler CLI straight to prod, but I want to transition to a pipeline that's driven from Github. Firstly: it seems if you started using the CLI you can't transition to using Github as a trigger for deployment. Secondly: if you do setup a trigger using Github pushes it doesn't sync the static assets and the build fails...

✘ [ERROR] Error: Pages only supports files up to 26.2 MB in size

I am not sure if there is a workaround but currently our whole CI CD is stuck because of this. What is the recommended workaround for this?

Custom domain not verifying, stuck in Inactive (Requires DNS setup)

We're migrating an application to Cloudflare Pages and its domain is not verifying even though the CNAME setup is as expected (verified with dig and online tools) Pages domain: mixttickets-dashboard.pages.dev Account ID: 2a0caec453d32b2f6453885e08ee6118 ...

Still can't get breakpoint debugging working in wrangler 3.9.1

Seems like a lot of work went in getting breakpoint debugging working in the last couple of releases (Thanks! I know this is hard and tedious, but Cloudflare Pages is a hard sell if debugging doesn't work 😦 ), but I still can't get it working. Neither in the cloudflare hosted devtool, or in VSCode. The issue can be reproed with with the Remix cloudflare pages template and a simple action. For the devtool I documented what I found there (probably not the best place since I posted after the issue was closed, my bad):...

D1 and KV bindings not showing up in production?

I'm using SvelteKit with @sveltejs/adapter-cloudflare, and I have all of my bindings listed in wrangler.toml. Wrangler picks these up locally, but when I deploy, the bindings aren't in platform.env. The only keys I see there are ASSETS, CF_PAGES, CF_PAGES_BRANCH, CF_PAGES_COMMIT_SHA, and CF_PAGES_URL.

Custom domains always errors with Inactive (Error)

I have custom domains setup and have 10x verified the DNS is correct. But no matter what the domain keeps coming up with Inactive (Error). Is there any debugging here? We're trying to launch and unsure what's wrong. I have verified the deployment is working fine....
No description

Adding custom domain is blocked

When trying to add a custom domain to a project, it is being blocked. If I try a subdomain that has never been used, it will briefly display an orange indicator with verifying, shortly followed by a grey indicator and "Error (Inactive)", otherwise it will immediately show that error. The zone is managed by Cloudflare so the CNAME is created automatically as part of adding the custom domain in the Pages project. Looking in the audit log, I see that it is being blocked ("Pending to blocked") but I can't see any information as to why, e.g....

Not loading files in files

Hello. I have my react-website. I used /dist because I am using react + vite. The problem is that I have files of images inside main image folder. As you can see on pictures. What are steps to build it to work?
No description

My Custom domain efashion.club going to Plesk page

My domain https://efashion.club is redirecting to a plesk domain. My page is https://efashion.pages.dev/ In my DNS: CNAME efashion.club to...

Proxied CNAME to pages deployment returns host error 522

I am using the environments feature of Pages to setup a dev/staging/prod workflow based on repo branches. The production branch works just fine. However, when I create a cname in my main domain (iom.ai) and point it to the branch specific or deployment specific URLs, I get a "Connection timed out" 522 error (Cloudflare Ray ID: 80c46d9b483d2279). Doesn't work - CNAME: dev.iom.ai => dev.marketplace-front-end.pages.dev Doesn't work - CNAME: dev.iom.ai => c0a2ff51.marketplace-front-end.pages.dev Does work - CNAME: www.iom.ai => marketplace-front-end.pages.dev...

wrangler pages dev when functions are not in root?

I keep my pages functions in a subfolder of my application, not at the top-level, but that causes problems when calling npx wrangler pages dev. I can't point it to that folder, or else the app does not start correctly (I get 404's), and I can't use npx wrangler pages dev -- <COMMAND> or else my functions are not found. Is there any way to support this structure?