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

Since this afternoon Error when deploying all our nuxt applications

App: xavi-blog-nuxt-wp.pages.dev 20:00:23.177 Deploying your site to Cloudflare's global network... 20:00:27.089 Uploading... (4/15) 20:00:27.727 Uploading... (8/15)...

Pages build times have gone from 20 mins to 35+ mins

Last week we started seeing our pages build step time increase by about 15 minutes with no code changes to warrant such a jump. This results in the project exceeding the Cloudflare Pages build time limit and failing. I've run tests locally, in Vercel, and Jenkins as a comparison to validate that claim. Vercel Production build time: 24:38 Local Production build time: 22:12 Jenkins production build time: 21:28 ...

NextJS: Unable to build a version that used to work

- Domain: account-5a9.pages.dev - Deployment: https://9e2e158b.account-5a9.pages.dev I got an error when building a new version today. Then I tried to rollback and rebuild the last working version but received the same error as below. The domain above refers to the successfully deployment of this same version which was built 3 days ago....

How can I deploy an artifact from a Github Workflow?

I am using a new technology from Jetbrains called Writerside. Its a markdown based documentation deployment system. I have the building to the point of where it compiles to an artifact with a .zip containg the entire website inside of it. How can I deploy this to cloudflare pages? Worflow with artifact: https://github.com/flytegg/flyte-docs/actions/runs/6567342130...

Nuxt on CF Pages?

Hello guys, have anyone of you seen this particular issue I am running into? Whole my build process for my Nuxt 3 applications run OK including publishing assets, but the last step "Deploying to Cloudflare's global network" keeps ending with this error: ``` 21:29:35.818 ✨ Success! Uploaded 2 files (717 already uploaded) (2.31 sec) 21:29:35.819 ...

How to have exact opposite behaviour of CF Pages pretty URL??

https://wiki-8j2.pages.dev https://github.com/flashcarts/wiki I've found that Cloudflare Pages' built in pretty URL system will rewrite links to .html to remove this suffix. ...

failing to fetch repo from github

I don't understand what exactly is happening. But I'm going to create a new page, connect to GitHub. My org already has a page published, so it takes me to permissions page to add a repo. But it fails
No description

Audit: HTTP Service without SSL/TSL found

Hi, I have deployed static pages to cloudflare pages for customer. Now I got a question from customer based on some secury audit reports that said only "HTTP Service without SSL/TSL found". What could this mean in context of CF pages?...

Testing R2 from Pages

I'm running my Cloudflare Pages app locally using wrangler pages dev I have R2 instances for preview and production, but locally in dev it uses a version that wrangler is running in the .wrangler/state/v3/r2 folder. However, the other part of my app runs on a container, and I need to get hold of the R2 files on there to test functionality before deploying. I don't want to have to deploy my whole architecture to test it, so it'd be great if I could get my Pages app to talk to the preview remote R2 ...

Deployment Not Found

The deployment is successfully built but the deployment domain (https://4481e515.iiefe.pages.dev) is not accessible. Account: 655a721c04bd71ab9f53819fd01a861e ``` 19:49:45.473 Success: Assets published! 19:49:47.360 Success: Your site was deployed!...

`cloudflare/pages-action` preview not deploying

cloudflare/pages-action isn't actually deploying, the branch preview URL is incorrect and Deployment Not Found ```yml - name: Publish uses: cloudflare/pages-action@1...
No description

Error 522 with new Cloudflare pages deployment

I've found the following thread through a quick google search: https://community.cloudflare.com/t/error-522-with-new-cloudflare-pages-deployment/361938 Walshy was part of the thread back then. The issue seems to have come back. Seems to affect only new sites this time....

Cloudflare Fonts not working

I've enabled Cloudflare Fonts on my site (https://physichemically.com, see image attached) and followed the Troubleshooting (https://developers.cloudflare.com/speed/optimization/content/fonts/troubleshooting/) but the feature doesn't seem to work (I still see a connection to fonts.googleapis.com after enabling it). Does anyone have any idea what might be going on? Thanks in advance!
No description

Custom domain stuck on “initializing”

It’s been stuck like this for hours. I did remove and re-add it again. Perhaps that’s made it worse? The site still loads if I visit the domain though 🤔
No description

Failed: an internal error occurred.

11:24:48.811 Success: Finished cloning repository files 11:40:07.159 Failed: an internal error occurred. If this continues, contact support: https://cfl.re/3WgEyrH...

Segmentation Fault - Failed Builds

Hello, I was deploying one of my Next.js Pages sites and it all of a suddent started throwing Segmentation fault and failing to deploy. I thought this was strange because not much code had changed, so I redeployed the last working deployment that was working and it throws the same error now. So this is not a problem with my code, but a problem with pages. Anyone have any thoughts?...

Sveltekit functions high request usage

I have a sveltekit application which has a few API endpoints. I have deployed to Cloudflare Pages with the cloudflare adapter. There is minimal traffic to this site but the functions are constantly running and I am hitting my daily request limit of 100,000 requests. Is there a way of disabling these edge functions without breaking the app?

functions

Need help calling helloworld on pages
No description

CSP issues with CF Fonts and CF Workers (execution order)

In my CF Pages site repo, I use a CF Worker (through functions/middleware.js) for, among other things, providing a Content Security Policy. One part of that CSP requires using a nonce to allow style statements, so — also with the Worker — I inject a nonce into any style statements that I must use for whatever reason. I'm now testing Cloudflare Fonts and see that my CSP is rejecting the style statements CF Fonts sets up because that nonce isn't getting injected, presumably because the CF Fonts stuff happens after the Worker runs. Am I correct in assuming that this order can't be changed? And, if that's the case, is my only option to add unsafe-inline and be done with it? (Also posted this on the Discourse. If I get an answer on either source, will indicate that and close each accordingly.)...

MIME issue

Hello everyone, I am facing issue after proxying a route checkoutv2 on cloudflare. The application is on next JS. A chunck JS file is returning HTML in response. here is the error : Refused to execute script from 'https://kapiva.in/_next/static/chunks/pages/checkoutv2-571404f0c18e2fed.js' because its MIME type ('text/html') is not executable, and strict MIME type checking is enabled. Please help here....