request / request-promise

The simplified HTTP request client 'request' with Promise support. Powered by Bluebird.
ISC License
4.77k stars 297 forks source link

read ECONNRESET #321

Open Webjiacheng opened 5 years ago

Webjiacheng commented 5 years ago

为什么用户访问一多起来,就会报这个错误?需要怎么解决,配置超时时间timeout吗?

2019-06-25 11:59:50,926 ERROR 28200 [-/61.129.8.199/-/10307ms POST /brandWCPayObj] nodejs.ECONNRESETError: read ECONNRESET at _errnoException (util.js:1024:11) at TCP.onread (net.js:615:25) code: "ECONNRESET" errno: "ECONNRESET" syscall: "read" headerSent: true name: "ECONNRESETError" pid: 28200 hostname: izuf6c8yxws7kjcym2krnpz