issues
search
Sunny264
/
vite-plugin-upload-oss
0
stars
0
forks
source link
七牛上传失败
#2
Open
xlanghejianfeng
opened
5 months ago
xlanghejianfeng
commented
5 months ago
node环境版本18.20.
Cannot read properties of undefined (reading 'needRetry') 3.[31m上传失败原因:ResponseError: socket hang up, POST
http://upload.qiniup.com/
-1 (connected: true, keepalive socket: false, socketHandledRequests: 1, socketHandledResponses: 0) headers: {}[39m [1000D[0K[1A[1000D[0K上传进度: 80.43% ████████████████████░░░░░ 37/46 [urllib:warn] [Fri May 31 2024 17:59:26 GMT+0800 (China Standard Time)] [22] [worker:32010] POST
http://upload.qiniup.com/
callback twice!!! [urllib:warn] [Fri May 31 2024 17:59:26 GMT+0800 (China Standard Time)] [22] [worker:32010] ResponseError: socket hang up, POST
http://upload.qiniup.com/
-1 (connected: true, keepalive socket: false, socketHandledRequests: 1, socketHandledResponses: 0) headers: {} stack: ResponseError: socket hang up, POST
http://upload.qiniup.com/
-1 (connected: true, keepalive socket: false, socketHandledRequests: 1, socketHandledResponses: 0) headers: {} at connResetException (node:internal/errors:720:14) at Socket.socketOnEnd (node:_http_client:525:23) at Socket.emit (node:events:529:35) at endReadableNT (node:internal/streams/readable:1400:12) at process.processTicksAndRejections (node:internal/process/task_queues:82:21) /data/app/jenkins/jenkins_home/workspace/data-platform_prod/node_modules/qiniu/qiniu/storage/form.js:63 onBeforeRetry: context => retryable && context.result.needRetry()
xlanghejianfeng
commented
5 months ago
是七牛自己官方的bug吧,烦请看看有没有办法解决,catch里处理下重试上传