Fetch timeout on dynamic rendered pages
Unanswered
Polar bear posted this in #help-forum
Polar bearOP
I get a timeout error on every page with dynamic server rendering. But I get this error only on the AWS ETC container. I tried to upload the site to Vercel and I don't have such problems there. What is the difference and how to fix it?
TypeError: fetch failed
at node:internal/deps/undici/undici:12618:11
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async globalThis.fetch (/app/.next/server/chunks/638.js:1:36495)
at async r (/app/.next/server/chunks/450.js:1:25993)
at async o (/app/.next/server/chunks/450.js:1:26122)
at async j (/app/.next/server/app/travel/[id]/page.js:3:24574)
at async E (/app/.next/server/app/travel/[id]/page.js:3:24675) {
cause: ConnectTimeoutError: Connect Timeout Error
at onConnectTimeout (node:internal/deps/undici/undici:7760:28)
at node:internal/deps/undici/undici:7716:50
at Immediate._onImmediate (node:internal/deps/undici/undici:7748:13)
at process.processImmediate (node:internal/timers:476:21)
at process.callbackTrampoline (node:internal/async_hooks:128:17) {
code: 'UND_ERR_CONNECT_TIMEOUT'
}
}2 Replies
Polar bearOP
up
Asian black bear
i faced the same issue even when uploading to Vercel the problem was still there