wire-server icon indicating copy to clipboard operation
wire-server copied to clipboard

Cargohold v2.88.0 won't upload objects to s3 because of BadDigest error

Open obstenu opened this issue 4 years ago • 1 comments

Describe the bug After updated to v.2.88.0 Cargohold just won't upload any objects to s3 (I'm using Google Storage, and v.2.87.0 did work for me). After brief research it came out what in v,2.88.0 the following PR has been applied, so it may probably be the reason.

To Reproduce

  1. Use Google Storage (tbc I haven't tested if it works with AWS S3)
  2. Upgrade to v2.88.0
  3. See the bug as described above

Expected behavior Everything just works

Log file cut _5-UwRn[REDACTED]VWfX9Sw"),("Content-Type","application/xml; charset=UTF-8"),("Content-Length","262"),("Vary","Origin"),("Date","Wed, 09 Sep 2020 11:41:28 GMT"),("Server","UploadServer")], _serviceCode = ErrorCode "BadDigest", _serviceMessage = Just (ErrorMessage "The MD5 you specified in Content-MD5 or x-goog-hash did not match what we computed."), serviceRequestId = Nothing}),

obstenu avatar Sep 09 '20 12:09 obstenu

Unfortunately, we do not officially support the GCP platform and its native resources. After all, Amazonka is a comprehensive Amazon Web Services SDK. You may want to replace Google Storage with your own deployment of min.io (Andible role).

lucendio avatar Sep 10 '20 11:09 lucendio