This commit changes how the region is determined, commenting out retrieval from the context. So it falls back on attempting to parse it from the url, which doesn't work with s3.amazonaws.com. There is a comment about how it won't work: "String[] urlParts = host.split("."); // everywhere except s3 and iam this is: service.region.amazonaws.com".
The error returned is:
org.dasein.cloud.aws.storage.S3Exception: The authorization header is malformed; the region 's3' is wrong; expecting 'us-east-1'
The commit:
08156e8
This commit changes how the region is determined, commenting out retrieval from the context. So it falls back on attempting to parse it from the url, which doesn't work with s3.amazonaws.com. There is a comment about how it won't work: "String[] urlParts = host.split("."); // everywhere except s3 and iam this is: service.region.amazonaws.com".
The error returned is:
org.dasein.cloud.aws.storage.S3Exception: The authorization header is malformed; the region 's3' is wrong; expecting 'us-east-1'
The commit:
08156e8