-
Notifications
You must be signed in to change notification settings - Fork 238
"Remote end closed socket abruptly" Node.js 12.16.3 #312
Copy link
Copy link
Closed
Description
Hey! The new patch release of Node.js (12.16.3) broke needle (we're using 2.4.0) and using needle with redirects now causes the following error:
Error: Remote end closed socket abruptly.
at TLSSocket.on_socket_end (/Users/ivan/local/node_modules/needle/lib/needle.js:473:17)
at processTicksAndRejections (internal/process/task_queues.js:79:11)You can reproduce it with the following piece of code:
await needle('get',
`https://github.com/kubernetes-sigs/kind/releases/download/v0.7.0/kind-linux-amd64`,
null,
{ follow_max: 2 },
);A similar issue was raised a while ago here: #261
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels