[2019-03-23T12:08:57.464] [ERROR] cps:utils:common - uploadFileToQiniu putFile: { ResponseTimeoutError: Response timeout for 120000ms, POST http://upload-z2.qiniup.com -1 (connected: true, keepalive socket: false)
headers: {}
at Timeout._onTimeout (/root/code-push-server/node_modules/urllib/lib/urllib.js:734:15)
at ontimeout (timers.js:386:11)
at tryOnTimeout (timers.js:250:5)
at Timer.listOnTimeout (timers.js:214:5)
name: 'ResponseTimeoutError',
requestId: 6,
data: undefined,
path: '/',
status: -1,
headers: {},
res:
{ status: -1,
statusCode: -1,
headers: {},
size: 0,
aborted: false,
rt: 120046,
keepAliveSocket: false,
data: undefined,
requestUrls: [ 'http://upload-z2.qiniup.com' ],
timing: null,
remoteAddress: '49.79.238.9',
remotePort: 80 } }
这是服务器的日志
我也遇到这个问题,上传视频大于30m, 我尝试了三种上传方式都不成功.请问最后是如何解决的?