[ 
https://issues.apache.org/jira/browse/JCLOUDS-1611?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17562048#comment-17562048
 ] 

Mingquan Zhang commented on JCLOUDS-1611:
-----------------------------------------

Hi [~gaul],

   I know Aliyun OSS is not officially supported, since it's compatible with 
AWS S3, how could we overcome this error?

   I found the same error at [https://github.com/gomods/athens/issues/1296,] 
the solution is to use parameter EnableSSL = true, I guess it is [minio 
|[https://github.com/minio/minio-go]] specific, are there similar configuration 
parameters in jclouds? Thank you for your time.

Best Regards,

Mike

> Aliyun incompatibility error Aws MultiChunkedEncoding not supported
> -------------------------------------------------------------------
>
>                 Key: JCLOUDS-1611
>                 URL: https://issues.apache.org/jira/browse/JCLOUDS-1611
>             Project: jclouds
>          Issue Type: Bug
>          Components: jclouds-blobstore, jclouds-labs-aws
>    Affects Versions: 2.3.0
>         Environment: Aliyun OSS
>            Reporter: Mingquan Zhang
>            Priority: Blocker
>
> 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)

Reply via email to