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:
[email protected]


Reply via email to