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

Cargohold does not support AWS4-HMAC-SHA256 authorization mechanism for AWS #1123

Closed
kvaps opened this issue May 30, 2020 · 1 comment
Closed

Comments

@kvaps
Copy link

kvaps commented May 30, 2020

Describe the bug
Hi, when I deploy wire-server on AWS eu-central-1 region I see the following error:

The authorization mechanism you have provided is not supported. Please use AWS4-HMAC-SHA256.

To Reproduce
Deploy cargohold on aws with next values:

cargohold:
  replicaCount: 3
  config:
    aws:
      region: "eu-central-1"
      s3Bucket: cargohold-s3-bucket
      s3Endpoint: https://s3.eu-central-1.amazonaws.com

Expected behavior
S3 is working

Full log

1:I,25:Listening on 0.0.0.0:8080,
1:E,7:request,1:=,32:9682a9e0e2f22dbcd77e555074b30014,497:S3Error {s3StatusCode = Status {statusCode = 400, statusMessage = "Bad Request"}, s3ErrorCode = "InvalidRequest", s3ErrorMessage = "The authorization mechanism you have provided is not supported. Please use AWS4-HMAC-SHA256.", s3ErrorResource = Nothing, s3ErrorHostId = Just "ELdlnrJNzsEmSFWgz2BCO6EGSAlmlXDsX5gDqyX8+hjadVE9tXY7DlfjDNKw7xhOniEwRm7yV2U=", s3ErrorAccessKeyId = Nothing, s3ErrorStringToSign = Nothing, s3ErrorBucket = Nothing, s3ErrorEndpointRaw = Nothing, s3ErrorEndpoint = Nothing},
1:E,7:request,1:=,32:9682a9e0e2f22dbcd77e555074b30014,378:Error {code = Status {statusCode = 500, statusMessage = "Internal Server Error"}, label = "server-error", message = "\US\65533\b\NUL\NUL\NUL\NUL\NUL\EOT\ETX\65533VJ\65533OIU\65533\&250\65533Q\65533M-.NL\a\65533\65533\65533S\65533\65533R\65533\DC4\\\65533\65533\65533\65533\65533\65533t\65533r\DC2\65533Rs\65533\65533\65533`q\65533T\65533\65533R-\NULv,\65533\65533=\NUL\NUL\NUL"},

Additional context
I installed wire-server on AWS using standard helm chart, with scylla, elasticsearchand and redis operators for the databases.
Cargohold image: quay.io/wire/cargohold:2.83.0

@kvaps
Copy link
Author

kvaps commented May 30, 2020

Probably duplicated #876

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