[
https://issues.apache.org/jira/browse/JCLOUDS-1611?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17562167#comment-17562167
]
Andrew Gaul commented on JCLOUDS-1611:
--------------------------------------
As far as I understand, Aliyun uses the S3 protocol but a proprietary AWS
signature. See the acs token here:
[https://help.aliyun.com/document_detail/130804.html]
I believe that you will need to add a new signer for jclouds to support this.
You might want to check other language bindings, e.g., libcloud, to see how
they do this. Given that most Aliyun resources are in Chinese I cannot help
you with this further.
Also, please don't spam random other projects with your bug symptoms.
> Aliyun incompatibility error Aws MultiChunkedEncoding not supported
> -------------------------------------------------------------------
>
> Key: JCLOUDS-1611
> URL: https://issues.apache.org/jira/browse/JCLOUDS-1611
> Project: jclouds
> Issue Type: New Feature
> Components: jclouds-blobstore
> Affects Versions: 2.3.0
> Environment: Aliyun OSS
> Reporter: Mingquan Zhang
> Priority: Minor
> Labels: s3
>
> Dear all,
> We actively use jclouds with AWS S3, but when to consume AliCloud
> object-store service to store application content, while trying to put the
> content, we got the following error, could you please help to check or
> suggest a workaround?
> {code:java}
> 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:838)
> Caused by: org.jclouds.aws.AWSResponseException: request PUT
> https://xxx-xx-f50f9696-e3d9-41cd-a624-4840ae4478c5.oss-cn-shanghai.aliyuncs.com/89b3ead9-a01c-47f6-8d15-917f256e285c/com.xxx.content.insighttoactionxxxxxxxx/applications/insighttoactionxxxxxxxx/InsightToActionxxxxxxxx_1.0.1.zip
> HTTP/1.1 failed with code 400, error:
> AWSError{requestId='62BD534078C4B5383597ED90', requestToken='null',
> code='NotImplemented', message='Aws MultiChunkedEncoding is not supported.',
> context='{HostId=xxx-xx-f50f9696-e3d9-41cd-a624-4840ae4478c5.oss-cn-shanghai.aliyuncs.com}'}
> at
> org.jclouds.aws.handlers.ParseAWSErrorFromXmlContent.handleError(ParseAWSErrorFromXmlContent.java:76)
> at
> org.jclouds.http.handlers.DelegatingErrorHandler.handleError(DelegatingErrorHandler.java:65)
> at
> org.jclouds.http.internal.BaseHttpCommandExecutorService.shouldContinue(BaseHttpCommandExecutorService.java:138)
> at
> org.jclouds.http.internal.BaseHttpCommandExecutorService.invoke(BaseHttpCommandExecutorService.java:107)
> at org.jclouds.rest.internal.InvokeHttpMethod.invoke(InvokeHttpMethod.java:91)
> at org.jclouds.rest.internal.InvokeHttpMethod.apply(InvokeHttpMethod.java:74)
> at org.jclouds.rest.internal.InvokeHttpMethod.apply(InvokeHttpMethod.java:45)
> at
> org.jclouds.rest.internal.DelegatesToInvocationFunction.handle(DelegatesToInvocationFunction.java:156)
> at
> org.jclouds.rest.internal.DelegatesToInvocationFunction.invoke(DelegatesToInvocationFunction.java:123)
> at com.sun.proxy.$Proxy109.putObject(Unknown Source)
> at org.jclouds.s3.blobstore.S3BlobStore.putBlob(S3BlobStore.java:269)
> at org.jclouds.aws.s3.blobstore.AWSS3BlobStore.putBlob(AWSS3BlobStore.java:85)
> at org.jclouds.s3.blobstore.S3BlobStore.putBlob(S3BlobStore.java:248){code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)