[ https://issues.apache.org/jira/browse/JCLOUDS-1347?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16607358#comment-16607358 ]
Ignasi Barrera commented on JCLOUDS-1347: ----------------------------------------- Indeed. [~gaul] can we mark this as resolved too? > Using BlobStore to copy a blob with non-ascii characters in its name fails to > AWS signature error > ------------------------------------------------------------------------------------------------- > > Key: JCLOUDS-1347 > URL: https://issues.apache.org/jira/browse/JCLOUDS-1347 > Project: jclouds > Issue Type: Bug > Components: jclouds-blobstore > Affects Versions: 2.0.2 > Reporter: Joosa Kurvinen > Priority: Minor > Labels: s3 > > The copyBlob method with Amazon S3 provider fails if the copied blob name has > for example a scandinavian letter รค included in its name. Some encoding must > be missing which breaks the AWS request signature verification. Older methods > like putBlob work fine with scandinavian letters. > Stacktrace: > {noformat} > org.jclouds.rest.AuthorizationException: The request signature we calculated > does not match the signature you provided. Check your key and signing method. > at > org.jclouds.aws.handlers.ParseAWSErrorFromXmlContent.refineException(ParseAWSErrorFromXmlContent.java:122) > ~[sts-2.0.2.jar:2.0.2] > at > org.jclouds.s3.handlers.ParseS3ErrorFromXmlContent.refineException(ParseS3ErrorFromXmlContent.java:97) > ~[s3-2.0.2.jar:2.0.2] > at > org.jclouds.aws.handlers.ParseAWSErrorFromXmlContent.handleError(ParseAWSErrorFromXmlContent.java:89) > ~[sts-2.0.2.jar:2.0.2] > at > org.jclouds.http.handlers.DelegatingErrorHandler.handleError(DelegatingErrorHandler.java:65) > ~[jclouds-core-2.0.2.jar:2.0.2] > at > org.jclouds.http.internal.BaseHttpCommandExecutorService.shouldContinue(BaseHttpCommandExecutorService.java:140) > ~[jclouds-core-2.0.2.jar:2.0.2] > at > org.jclouds.http.internal.BaseHttpCommandExecutorService.invoke(BaseHttpCommandExecutorService.java:109) > ~[jclouds-core-2.0.2.jar:2.0.2] > at > org.jclouds.rest.internal.InvokeHttpMethod.invoke(InvokeHttpMethod.java:90) > ~[jclouds-core-2.0.2.jar:2.0.2] > at > org.jclouds.rest.internal.InvokeHttpMethod.apply(InvokeHttpMethod.java:73) > ~[jclouds-core-2.0.2.jar:2.0.2] > at > org.jclouds.rest.internal.InvokeHttpMethod.apply(InvokeHttpMethod.java:44) > ~[jclouds-core-2.0.2.jar:2.0.2] > at > org.jclouds.rest.internal.DelegatesToInvocationFunction.handle(DelegatesToInvocationFunction.java:156) > ~[jclouds-core-2.0.2.jar:2.0.2] > at > org.jclouds.rest.internal.DelegatesToInvocationFunction.invoke(DelegatesToInvocationFunction.java:123) > ~[jclouds-core-2.0.2.jar:2.0.2] > at com.sun.proxy.$Proxy202.copyObject(Unknown Source) ~[?:?] > at org.jclouds.s3.blobstore.S3BlobStore.copyBlob(S3BlobStore.java:322) > ~[s3-2.0.2.jar:2.0.2] > {noformat} -- This message was sent by Atlassian JIRA (v7.6.3#76005)