libcloud-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] [libcloud] inevolin opened a new issue #1605: providing ACL fails with SignatureDoesNotMatch
Date Tue, 21 Sep 2021 11:02:13 GMT

inevolin opened a new issue #1605:
URL: https://github.com/apache/libcloud/issues/1605


   ## 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:
   ```py
   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](https://user-images.githubusercontent.com/53948000/134159218-d51e6c0d-134f-4246-b0bc-518f35fcd894.png)
   
   
   DigitalOcean Spaces:
   ![Screenshot_4](https://user-images.githubusercontent.com/53948000/134159275-96a70a40-9da5-4338-a081-a4a293178706.png)
   
   
   


-- 
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.

To unsubscribe, e-mail: notifications-unsubscribe@libcloud.apache.org

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



Mime
View raw message