Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Setting poContentMD5 causes authorization failure #243

Open
basvandijk opened this issue Feb 23, 2018 · 0 comments
Open

Setting poContentMD5 causes authorization failure #243

basvandijk opened this issue Feb 23, 2018 · 0 comments

Comments

@basvandijk
Copy link
Contributor

Setting the poContentMD5 field of the S3.PutObject record causes the following error:

S3Error 
{ s3StatusCode = Status {statusCode = 403, statusMessage = "Forbidden"}
, s3ErrorCode = "AccessDenied"
, s3ErrorMessage = "There were headers present in the request which were not signed"
, s3ErrorResource = Nothing
, s3ErrorHostId = Just "..."
, s3ErrorAccessKeyId = Nothing
, s3ErrorStringToSign = Nothing
, s3ErrorBucket = Nothing
, s3ErrorEndpointRaw = Nothing
, s3ErrorEndpoint = Nothing
}

Note that I'm using the following S3Configuration:

s3Cfg :: S3.S3Configuration Aws.NormalQuery
s3Cfg = S3.s3v4 Aws.HTTPS "..." False S3.SignWithEffort

When I set poContentMD5 to Nothing the request succeeds.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant