Error when using Ceph Rados Gateway as an S3 backend

we use Cephs Rados Gateway as the S3 backend for Nuxeo. When an object gets fetched, an error:

com.amazonaws.services.s3.model.AmazonS3Exception: null (Service: Amazon S3; Status Code: 400; Error Code: InvalidArgument; Request ID: null), S3 Extended Request ID: null

we could only trigger this when we clicked the preview button for an object. I found a solution right here: https://github.com/elastic/elasticsearch-cloud-aws/issues/155 After adding:

clientConfiguration.setSignerOverride(“S3SignerType”);

to S3BinaryManager.java at line 78 everything works fine.

Regards Thomas

0 votes

1 answers

4733 views

ANSWER

Hi,

Would you like to submit a pull request ?

12/15/2015



FYI also see https://github.com/aws/aws-sdk-java/issues/372. We would accept a pull request to make the signer override configurable.

0 votes