Project

General

Profile

Actions

Bug #17520

open

Java aws-java-sdk-s3 Signature XAmzContentSHA256Mismatch

Added by Olivier HENRY over 7 years ago. Updated almost 7 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Target version:
-
% Done:

0%

Source:
other
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

Hi,

I'm a java developper and I'm trying to make some calls to ceph with the aws-java-sdk-s3.

When I try with the 1.10.30 everything works quite well, but when I try to upgrade to a newer version, it fails : com.amazonaws.services.s3.model.AmazonS3Exception: null (Service: Amazon S3; Status Code: 400; Error Code: XAmzContentSHA256Mismatch; Request ID: tx0000000000000000fc7c4-0057f607bb-8e3f-default).

Does anyone has a solution ?

Thx
Olivier

Actions #1

Updated by Olivier HENRY over 7 years ago

Ok ... well ... I found a workaround : if I put a clientConfiguratin which override the signer to the old version, it works quite well again :
clientConfig.setSignerOverride("S3SignerType");

But I don't know if this is the good issue ....

Actions #2

Updated by Greg Farnum almost 7 years ago

  • Project changed from Ceph to rgw
Actions

Also available in: Atom PDF