Closed uzysjung closed 5 years ago
what value of timeout do you use? and if you can provide complete isolated example it would be very useful.
I used 3s , 5s , 10s , default value this issue occurred all environments.
when i send l amount of requests, I have the same problem.
print this always,
{ Error: ETIMEDOUT at Timeout._onTimeout (C:\Users\Administrator\Desktop\yunnan\node_modules\request\request.js:772:15) at tryOnTimeout (timers.js:224:11) at Timer.listOnTimeout (timers.js:198:5) code: 'ETIMEDOUT', connect: false } 13535 { Error: ETIMEDOUT at Timeout._onTimeout (C:\Users\Administrator\Desktop\yunnan\node_modules\request\request.js:772:15) at tryOnTimeout (timers.js:224:11)
Same problem here
+1
Can anyone share code that we can use to reproduce / track this down? It's impossible to say what's happening here with the stack trace alone
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Hi, I found some issue which request lib didn't disconnect well It causes ETIMEDOUT periodically -- request version ^2.62.0 node version 0.12.7
It works fine only during 30min ~ 60min. but certain amount of time is reached, all request are ETIMEDOUT during 0.1~0.2sec and then It works fine only during 30~60min. and over and over
after I replace request library to node.js http.request it works fine. there's no ETIMEDOUT.
when I used forever options:true , certain amount of time is longer than I didn't.
I have relay servers.
client --- relay server(using request library) --- A server
this is relay server code below.