ETIMEDOUT 504 when using remote url next/image
Unanswered
MyMy posted this in #help-forum
MyMyOP
I'm using s3 to host my image. It still show but it show me this error along
TypeError: fetch failed
at Object.fetch (node:internal/deps/undici/undici:11576:11)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async imageOptimizer (/path/node_modules/next/dist/server/image-optimizer.js:521:29)
at async cacheEntry.imageResponseCache.get.incrementalCache (/path/node_modules/next/dist/server/next-server.js:598:60)
at async /path/node_modules/next/dist/server/response-cache/index.js:99:36 {
cause: AggregateError
at internalConnectMultiple (node:net:1114:18)
at internalConnectMultiple (node:net:1177:5)
at Timeout.internalConnectMultipleTimeout (node:net:1687:3)
at listOnTimeout (node:internal/timers:575:11)
at process.processTimers (node:internal/timers:514:7) {
code: 'ETIMEDOUT',
[errors]: [ [Error], [Error], [Error], [Error] ]
}
}