Answer the question
In order to leave comments, you need to log in
How to cure ESOCKETTIMEDOUT error in nodejs?
I send an http request to the server
. From time to time I get this error:
Error: ESOCKETTIMEDOUT
at ClientRequest. (/home/master/TESTANUS0.005/node_modules/request/request.js:816:19)
at Object.onceWrapper (events.js:285:13)
at ClientRequest.emit (events.js:197:13)
at TLSSocket .emitRequestTimeout (_http_client.js:669:40)
at Object.onceWrapper (events.js:285:13)
at TLSSocket.emit (events.js:197:13)
at TLSSocket.Socket._onTimeout (net.js:447: eight)
at listOnTimeout (timers.js:327:15)
at processTimers (timers.js:271:5) code: 'ESOCKETTIMEDOUT', connect: false
process.env.UV_THREADPOOL_SIZE=128;
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question