cos-nodejs-sdk-v5
cos-nodejs-sdk-v5 copied to clipboard
[ESOCKETTIMEDOUT]上传文件超时
使用 sdk v2.11.4 putObject 接口进行多个文件排队上传时,会报超时错误(ESOCKETTIMEDOUT)
{
ESOCKETTIMEDOUT: ESOCKETTIMEDOUT
at ClientRequest.<anonymous> (/usr/lib/node_modules/@futu/cos/node_modules/request/request.js:816:19)
at Object.onceWrapper (events.js:286:20)
at ClientRequest.emit (events.js:198:13)
at TLSSocket.emitRequestTimeout (_http_client.js:673:40)
at Object.onceWrapper (events.js:286:20)
at TLSSocket.emit (events.js:198:13)
at TLSSocket.Socket._onTimeout (net.js:443:8)
at ontimeout (timers.js:436:11)
at tryOnTimeout (timers.js:300:5)
at listOnTimeout (timers.js:263:5)
message: 'ESOCKETTIMEDOUT',
code: 'ESOCKETTIMEDOUT',
connect: false,
error:
{ message: 'ESOCKETTIMEDOUT',
code: 'ESOCKETTIMEDOUT',
connect: false
}
}