java分块上传怎么处理_java使用bos分块上传出错,求正确姿势?

com.baidubce.BceServiceException: The specified multipart upload does not exist. The upload ID might be invalid, or the multipart upload might have been aborted or completed. (Status Code: 404; Error Code: NoSuchUpload; Request ID: a66b870c-3c00-4cc7-a9dd-d434799e26a9)

at

6564com.baidubce.http.handler.BceErrorResponseHandler.handle(BceErrorResponseHandler.java:51) ~[bce-java-sdk-0.10.16.jar:na]

at com.baidubce.http.BceHttpClient.execute(BceHttpClient.java:227) ~[bce-java-sdk-0.10.16.jar:na]

at com.baidubce.AbstractBceClient.invokeHttpClient(AbstractBceClient.java:187) [bce-java-sdk-0.10.16.jar:na]

at com.baidubce.services.bos.BosClient.uploadPart(BosClient.java:1090) [bce-java-sdk-0.10.16.jar:na]

at baiduBucket.Sample.main(Sample.java:171) [bin/:na]

14:00:08.109 [main] DEBUG com.baidubce.http.BceHttpClient - Entity not repeatable, stop retrying

14:00:08.109 [main] DEBUG o.a.h.i.n.c.PoolingNHttpClientConnectionManager - Connection manager is shutting down

14:00:08.109 [main] DEBUG o.a.h.i.n.c.ManagedNHttpClientConnectionImpl - http-outgoing-0 192.168.1.102:56034220.181.172.34:80[ACTIVE][r:r]: Close

14:00:08.111 [I/O dispatcher 1] DEBUG o.a.h.n.p.HttpAsyncRequestExecutor - http-outgoing-0 [CLOSED]: Disconnected

14:00:08.114 [main] DEBUG o.a.h.i.n.c.PoolingNHttpClientConnectionManager - Connection manager shut down

Exception in thread "main" com.baidubce.BceServiceException: The specified multipart upload does not exist. The upload ID might be invalid, or the multipart upload might have been aborted or completed. (Status Code: 404; Error Code: NoSuchUpload; Request ID: a66b870c-3c00-4cc7-a9dd-d434799e26a9)

at com.baidubce.http.handler.BceErrorResponseHandler.handle(BceErrorResponseHandler.java:51)

at com.baidubce.http.BceHttpClient.execute(BceHttpClient.java:227)

at com.baidubce.AbstractBceClient.invokeHttpClient(AbstractBceClient.java:187)

at com.baidubce.services.bos.BosClient.uploadPart(BosClient.java:1090)

at baiduBucket.Sample.main(Sample.java:171)

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值