上传文件至对象存储报错

上传文件至阿里云对象存储出现如下错误(上传至s3对象存储也会出现类似的错),
2020-04-24 at 17:03:49 CST ERROR com.i2.dto.sync.OssOperator$PartUploader 627 run - com.aliyun.oss.ClientException: Failed to reset the request input stream:

at com.aliyun.oss.common.comm.ServiceClient.sendRequestImpl(ServiceClient.java:114)
at com.aliyun.oss.common.comm.ServiceClient.sendRequest(ServiceClient.java:70)
at com.aliyun.oss.internal.OSSOperation.send(OSSOperation.java:83)
at com.aliyun.oss.internal.OSSOperation.doOperation(OSSOperation.java:145)
at com.aliyun.oss.internal.OSSOperation.doOperation(OSSOperation.java:102)
at com.aliyun.oss.internal.OSSOperation.doOperation(OSSOperation.java:97)
at com.aliyun.oss.internal.OSSMultipartOperation.uploadPart(OSSMultipartOperation.java:354)
at com.aliyun.oss.OSSClient.uploadPart(OSSClient.java:824)
at com.i2.dto.sync.OssOperator$PartUploader.run(OssOperator.java:619)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)

Caused by: java.io.IOException: Resetting to invalid mark
at java.io.BufferedInputStream.reset(BufferedInputStream.java:448)
at com.aliyun.oss.common.comm.ServiceClient.sendRequestImpl(ServiceClient.java:111)
... 11 more

watrungloria
watrungloria 2020-04-24 at 17:03:49 CST ERROR com.i2.dto.sync.OssOperator$PartUploader 627 run - com.aliyun.oss.ClientException: Failed to reset the request input stream: [ErrorCode]: Unknown [RequestId]: Unknown at com.aliyun.oss.common.comm.ServiceClient.sendRequestImpl(ServiceClient.java:114) at com.aliyun.oss.common.comm.ServiceClient.sendRequest(ServiceClient.java:70) at com.aliyun.oss.internal.OSSOperation.send(OSSOperation.java:83) at com.aliyun.oss.internal.OSSOperation.doOperation(OSSOperation.java:145) at com.aliyun.oss.internal.OSSOperation.doOperation(OSSOperation.java:102) at com.aliyun.oss.internal.OSSOperation.doOperation(OSSOperation.java:97) at com.aliyun.oss.internal.OSSMultipartOperation.uploadPart(OSSMultipartOperation.java:354) at com.aliyun.oss.OSSClient.uploadPart(OSSClient.java:824) at com.i2.dto.sync.OssOperator$PartUploader.run(OssOperator.java:619) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at java.lang.Thread.run(Thread.java:748) Caused by: java.io.IOException: Resetting to invalid mark at java.io.BufferedInputStream.reset(BufferedInputStream.java:448) at com.aliyun.oss.common.comm.ServiceClient.sendRequestImpl(ServiceClient.java:111) ... 11 more
5 个月之前 回复

1个回答

Csdn user default icon
上传中...
上传图片
插入图片
抄袭、复制答案,以达到刷声望分或其他目的的行为,在CSDN问答是严格禁止的,一经发现立刻封号。是时候展现真正的技术了!
立即提问
相关内容推荐