Paya Ashkan created JCLOUDS-1310:
------------------------------------
Summary: Use AWS S3 Transfer Acceleration
Key: JCLOUDS-1310
URL: https://issues.apache.org/jira/browse/JCLOUDS-1310
Project: jclouds
Issue Type: Bug
Affects Versions: 2.0.1
Reporter: Paya Ashkan
Fix For: 2.1.0, 2.0.2
When I enabled S3 Transfer Acceleration on my bucket, it gave me the following
endpoint:
* accelaration-test-11.s3-accelerate.amazonaws.com
Then when I tried to use it in order to create my BlobStoreContext and
BlobStore objects accordingly and issue an operation, I faced the following
error:
* ... request GET https://accelaration-test-11.s3-accelerate.amazonaws.com/
HTTP/1.1 failed with code 400, error: AWSError{requestId='XX',
requestToken='XXX, code='AuthorizationHeaderMalformed', message='The
authorization header is malformed; the region 'accelerate' is wrong; expecting
'us-west-1'', context='{Region=us-west-1, HostId=XXX}'}
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)