libcloud icon indicating copy to clipboard operation
libcloud copied to clipboard

providing ACL fails with SignatureDoesNotMatch

Open inevolin opened this issue 4 years ago • 1 comments

Summary

When uploading a file to Storage (S3 or DigitalOcean Spaces), with the ACL header/parameter, the request fails with "SignatureDoesNotMatch" exception.

Detailed Information

Demo code:

container = ...
src = 'somefile.txt'
dst = 'somewhere/somefile.txt'
extra = {'acl': 'public-read'}
obj = driver.upload_object(src, container, dst, extra=extra)

Providing meta_data, and/or other information in the extra dict works just fine, it fails as soon as I provide any acl key/value.

  • Libcloud version: 3.3.1
  • Python version: 3.9.1

Screenshots:

AWS S3:

Screenshot_1

DigitalOcean Spaces: Screenshot_4

inevolin avatar Sep 21 '21 11:09 inevolin

Thanks for contributing to this issue. As it has been 90 days since the last activity, we are automatically marking is as stale. If this issue is not relevant or applicable anymore (problem has been fixed in a new version or similar), please close the issue or let us know so we can close it. On the contrary, if the issue is still relevant, there is nothing you need to do, but if you have any additional details or context which would help us when working on this issue, please include it as a comment to this issue.

stale[bot] avatar Apr 17 '22 05:04 stale[bot]