Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upHTTP: Connection resets after 60 seconds in node.js upload application #35661
Comments
|
I'm facing the same issue on the same platform. |
|
Do you think you could try to create a more minimal repro? Maybe without using node-fetch? |
|
For the moment no, however I was able to fuss with this a bit more. Setting Setting |
|
Experiencing the same issue on Node 12.9.0 but not Node 12.8.2. Could this change be related to the issue? |
What steps will reproduce the bug?
The client depends on node-fetch v2.6.1
testServer.jstestClient.jsnpm i node-fetchnode testServer.js- This creates a new HTTP server listening on port 8081node testClient.jsHow often does it reproduce? Is there a required condition?
The value inside RandomStream needs to be high enough to cause the request to take longer than 60 seconds.
What is the expected behavior?
In Node.js 10:
What do you see instead?
In Node.js 12:
Additional information
If there is any workaround, please let me know.