Hi, I have a little Astro site that shows the changelog of the Astro and Starlight packages and recently, the builds are failing in Netlify and locally as well, and I get this error, which confuses me because I wasn't even aware that the website uses a certificate somewhere...
generating optimized images
node:internal/deps/undici/undici:15445
Error.captureStackTrace(err);
^
TypeError: fetch failed
at node:internal/deps/undici/undici:15445:13
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
at async loadRemoteImage (file:///Users/trueberryless/repos/trueberryless-org/astro-changelog/node_modules/.pnpm/astro@5.14.4_@types+node@24.7.2_rollup@4.52.4_sass@1.93.2_typescript@5.8.3/node_modules/astro/dist/assets/build/remote.js:4:15)
[...] // cutting to fit into Discord message limit
at async generateImagesForPath (file:///Users/trueberryless/repos/trueberryless-org/astro-changelog/node_modules/.pnpm/astro@5.14.4_@types+node@24.7.2_rollup@4.52.4_sass@1.93.2_typescript@5.8.3/node_modules/astro/dist/assets/build/generate.js:53:5)
at async file:///Users/trueberryless/repos/trueberryless-org/astro-changelog/node_modules/.pnpm/p-queue@8.1.1/node_modules/p-queue/dist/index.js:230:36 {
[cause]: Error: certificate has expired
at TLSSocket.onConnectSecure (node:_tls_wrap:1631:34)
at TLSSocket.emit (node:events:508:28)
at TLSSocket._finishInit (node:_tls_wrap:1077:8)
at ssl.onhandshakedone (node:_tls_wrap:863:12) {
code: 'CERT_HAS_EXPIRED'
}
}
Has someone stumbled upon this issue as well? It happens roughly since Sep 27...
Astro v5.14.4
Vite v6.3.6
Node v24.7.0
System macOS (arm64)
Package Manager pnpm
Output static
Adapter none
Integrations none