JohnDotAwesome
JohnDotAwesome
CDCloudflare Developers
Created by img on 12/6/2023 in #pages-help
Deploying Nuxt to Pages - path errors
You'll want to sync your node versions. You're running a non-stable node release locally and LTS on Pages
80 replies
CDCloudflare Developers
Created by Jorge on 10/24/2023 in #pages-help
Deployments keep failing ❌
yeah, I'd bring that down quite a bit. I'd recommend 5s, but tweak as needed
56 replies
CDCloudflare Developers
Created by Jorge on 10/24/2023 in #pages-help
Deployments keep failing ❌
In that case, I'd make sure those requests timeout in a reasonable time. In some situations, I saw clients waiting 30s before retrying (or just failing). Most of these requests to your CMS should respond in less than 2s and really even that's pushing it
56 replies
CDCloudflare Developers
Created by Jorge on 10/24/2023 in #pages-help
Deployments keep failing ❌
Interesting!
56 replies
CDCloudflare Developers
Created by Jorge on 10/24/2023 in #pages-help
Deployments keep failing ❌
hrmmmm we've found with the keepAlive working properly, none of the requests end up timing out due to dropped packets. I wonder why your situation is ending up with longer builds. Presumably that's because some requests are still timing out. Do you have control over the time to abort the request?
56 replies
CDCloudflare Developers
Created by mikkel_w on 12/1/2023 in #pages-help
Nextjs deployment fails when I add another page
That's right!
5 replies
CDCloudflare Developers
Created by sten on 11/30/2023 in #pages-help
Build error when using adapter-cloudflare-workers
Looks like you're using the old Workers Sites setup, not Pages. I'm not sure if you want to use Pages or not but you are posting in the Pages Help, so I suggest following this guide https://kit.svelte.dev/docs/adapter-cloudflare
3 replies
CDCloudflare Developers
Created by mikkel_w on 12/1/2023 in #pages-help
Nextjs deployment fails when I add another page
I'm not sure why wrangler isn't telling you an error, but the error is your Functions/script is too large for Workers
5 replies
CDCloudflare Developers
Created by Jorge on 10/24/2023 in #pages-help
Deployments keep failing ❌
Y'all could always use something like https://www.npmjs.com/package/patch-package to modify your node_modules to set the keepAlive option. I know that's far from ideal, but it is an option
56 replies
CDCloudflare Developers
Created by Jorge on 10/24/2023 in #pages-help
Deployments keep failing ❌
Nothing significant to update on right now 😦
56 replies
CDCloudflare Developers
Created by Jorge on 10/24/2023 in #pages-help
Deployments keep failing ❌
Perhaps Prismic has a way to plumb http agents through to node-fetch? https://github.com/node-fetch/node-fetch#custom-agent <-- If node-fetch uses an http agent with keepAlive: true set, then it will work
56 replies
CDCloudflare Developers
Created by Jorge on 10/24/2023 in #pages-help
Deployments keep failing ❌
Interesting! The http clients in the previous version may have been explicitly not been using keepAlives. I really appreciate the follow-up. This was such a strange debugging saga for us
56 replies
CDCloudflare Developers
Created by Jorge on 10/24/2023 in #pages-help
Deployments keep failing ❌
The best advice here still is to upgrade to node v20 which re-uses TLS connections by default
56 replies
CDCloudflare Developers
Created by Jorge on 10/24/2023 in #pages-help
Deployments keep failing ❌
Hey, Jorge. Indeed. Google has shown us that it's actually Cloudfront dropping packets. We did a session with one of their engineers inspecting packets from GCP->Cloudfront and indeed, Cloudfront is the culprit. This is regional, Cloudfront is presumably only showing this behavior for select points of presence (and in particular, the PoP closest to the Pages Build cluster). We're still trying to find the right way to engage with AWS since we're not a customer
56 replies
CDCloudflare Developers
Created by Jorge on 10/24/2023 in #pages-help
Deployments keep failing ❌
Totally understand. I'm just saying if you specify only the value 18 you won't have that problem again. We are working internally on Tool Caching (rather than dependency and build output), but that won't be available for a while. In order to solve your problem more immediately, I was suggesting being fuzzy with your node verision rather than exact
56 replies
CDCloudflare Developers
Created by elijah on 10/19/2023 in #pages-help
Pages build times have gone from 20 mins to 35+ mins
I'm going to update this thread when we hear back from Google. As you might expect, you can't exactly get an engineer on Discord over there :p
179 replies