3 ms·
I've been using Cloudflare Pages for a few of my sites. Been getting issues on one of them for the past few weeks and getting "Failed: an internal error occurre
by cheeaun 5y ago
I've been using Cloudflare Pages for a few of my sites. Been getting issues on one of them for the past few weeks and getting "Failed: an internal error occurred" on the deployment step. I've asked for support and also tweeted [1] but to no avail.
I eventually moved it back to GitHub Pages. My other sites seems okay tho'.
[1] https://twitter.com/cheeaun/status/1378709230765580293 https://twitter.com/cheeaun/status/1378709230765580293
- libeclipse 5y agoNetlify is quite good. Allows you to install Cloudflare's 10 year backend certificate on it so you can turn on Strict HTTPS checking.
- cheeaun 5y agoI'm using Netlify for one of my side projects. Liking it so far but been getting annoyed by the limited _headers/netlify.toml config these days (especially custom redirects).
- swyx 5y agowhat limitation are you running into? did something change recently?
- cheeaun 5y agoI think it's been the same, just recently I need a way to set custom headers for specific paths. Documentation [1] says that I can use * or :placeholder(s?), but there's no examples other than "/*" (which matches everything). I thought it can do matches like "/folder/*/*.html" but... actually can't. I try look around in the forums, seeing others got confused as well and in the end I gave up :D As for redirects, I really like :splat [2], but for my use case, I need something can be matched in the middle of the URL string, e.g.: /blog/:splat/whatever. Maybe this is like a weird use-case, or rather I'm thinking of it like glob patterns or regex. [1] https://docs.netlify.com/routing/headers/ https://docs.netlify.com/routing/headers/ [2] https://docs.netlify.com/routing/redirects/redirect-options/#splats https://docs.netlify.com/routing/redirects/redirect-options/...
- kmf 5y agokristian from pages team here - just DM-ed you, let's get this sorted!
- FalconSensei 5y agoTrying for like an hour to set it up, but it keeps failing on cloning repository. That is definitely not a good first impression, specially because the message doesn't say anything, just 'internal error', so it's impossible to debug and try to fix. Googling for the error, I found a few similar questions, but all were responded with: go to discord. So... there's absolutely no way to sort it out by myself or without using discord? ``` 20:54:21.533 Initializing build environment. This may take up to a few minutes to complete 20:54:56.056 Success: Finished initializing build environment 20:54:56.056 Cloning repository... 20:54:59.840 Failed: an internal error occurred ```
- sebseb111 5y agoI have a lot problems with builds with this "internal error" too. I have 2 websites, both gatsby I tried both: 1) gatsby build 2) fully static files (gatsby build on my local computer) and only public dir added to github repo Websites 10.000 files and 13.000 files (small files 1kB to 300kB) html, css, js, png and webp Sometimes my build is succefull for this 10.000 files website - like 1 of 5 tries But most build tries fail when deploying: 06:58:47.583 Finished 06:58:48.061 Deploying your site to Cloudflare's global network... 07:18:07.790 Failed due to an internal error it looks like timeout after 20 minutes.. :(
- ashconnor 5y agoI got that error too but it still worked.