You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Global fetch produces unhelpful Error for ENOTFOUND #42804
An error indicating that fetch failed with a cause of Error: [object Object]:
TypeError: fetch failed at Object.processResponse (node:internal/deps/undici/undici:7188:34) at node:internal/deps/undici/undici:7516:42 at node:internal/process/task_queues:140:7 at AsyncResource.runInAsyncScope (node:async_hooks:202:9) at AsyncResource.runMicrotask (node:internal/process/task_queues:137:8) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) { cause: Error: [object Object] at makeNetworkError (node:internal/deps/undici/undici:6317:51) at httpNetworkFetch (node:internal/deps/undici/undici:7810:16) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async httpNetworkOrCacheFetch (node:internal/deps/undici/undici:7703:33) at async httpFetch (node:internal/deps/undici/undici:7557:37) at async schemeFetch (node:internal/deps/undici/undici:7489:18) at async node:internal/deps/undici/undici:7342:20 at async mainFetch (node:internal/deps/undici/undici:7338:20) { [cause]: undefined }}
Activity
meixg commentedon Apr 21, 2022
This seems to be a bug of
undici, I tried on the same code on theundicimaster branch and get the same output.fix(fetch): makeNetworkError called twice when httpNetworkFetch run e…
meixg commentedon Apr 21, 2022
reopen as we need to update
undicizadmarbella commentedon Apr 25, 2022
Seeing this error also. update to what version? does anyone know the cause? @meixg
mcollina commentedon May 4, 2022
This was fixed in #42939