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
undici: Since v26 reading body from fetched 301 response throws aborted exception #67996
How often does it reproduce? Is there a required condition?
It works fine with Node 24. It fails with Node 26.
What is the expected behavior? Why is that the expected behavior?
The response body to de deserialized
What do you see instead?
It thorws the following error:
node:internal/deps/undici/undici:15214
fetchParams.controller.controller.error(new TypeError("terminated", {
^
TypeError: terminated
at Fetch.onAborted (node:internal/deps/undici/undici:15214:53)
at Fetch.emit (node:events:514:20)
at Fetch.terminate (node:internal/deps/undici/undici:14330:14)
at fetchParams.controller.resume (node:internal/deps/undici/undici:15188:36)
at process.processTicksAndRejections (node:internal/process/task_queues:104:5) {
[cause]: DOMException [AbortError]: The operation was aborted.
at new DOMException (node:internal/per_context/domexception:79:18)
at Object.destroy (node:internal/deps/undici/undici:15070:33)
at httpFetch (node:internal/deps/undici/undici:14833:45)
at process.processTicksAndRejections (node:internal/process/task_queues:104:5)
at async mainFetch (node:internal/deps/undici/undici:14567:24)
}
changed the title [-]Since v26 reading body from fetched response throws aborted exception[/-][+]Since v26 reading body from fetched 301 response throws aborted exception[/+]on Dec 3, 2026
changed the title [-]Since v26 reading body from fetched 301 response throws aborted exception[/-][+]undici: Since v26 reading body from fetched 301 response throws aborted exception[/+]on Dec 3, 2026
Activity
[-]Since v26 reading body from fetched response throws aborted exception[/-][+]Since v26 reading body from fetched 301 response throws aborted exception[/+][-]Since v26 reading body from fetched 301 response throws aborted exception[/-][+]undici: Since v26 reading body from fetched 301 response throws aborted exception[/+]Renegade334 commentedon Dec 3, 2026
Refs: nodejs/undici#6178