libcloud-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] [libcloud] DrissiReda opened a new issue #1539: Bad request, region is wrong for s3 minio
Date Tue, 05 Jan 2021 09:01:09 GMT

DrissiReda opened a new issue #1539:
URL: https://github.com/apache/libcloud/issues/1539


   I'm trying to use minio driver with medusa (cassandra backup) and I'm getting error bad
request: Here is the response:
   
   ```
   {'connection': <libcloud.storage.drivers.minio.MinIOConnectionAWS4 object at 0x7f4d6f0e3be0>,
'headers': {'accept-ranges': 
   'bytes', 'content-length': '583', 'content-security-policy': 'block-all-mixed-content',
'content-type': 'application/xml', 'server': 
   'MinIO/RELEASE.2020-09-26T03-44-56Z', 'vary': 'Origin', 'x-amz-bucket-region': 'us-east-1',
'x-amz-request-id': 
   '16574A0C19BFA20A', 'x-xss-protection': '1; mode=block', 'date': 'Tue, 05 Jan 2021 08:53:27
GMT'}, 'error': 'Bad Request', 
   'status': 400, 'request': , 'iter_content': >, 'body': '\nAuthorizationHeaderMalformedThe
authorization header is malformed; the
   region is wrong; expecting 'us-east-1'.k8ssandra-dc1-default-sts-0.k8ssandra-dc1-service.kast.svc.cluster.local/test-dc1/meta
   /schema.cqlcass/cass/k8ssandra-dc1-default-sts-0.k8ssandra-dc1-service.kast.svc.cluster.local/test-dc1/meta/schema.cqlus-
   east-116574A0C19BFA20A0876c2f6-f423-4570-aa08-86ca582835e0', 'object': }
   ```
   
   You can see that the region header is 'us-east-1' and it says it's expecting us-east-1,
I don't understand what's wrong or what header is required.
   
   Does anyone have an idea what might be broken?


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



Mime
View raw message