简体   繁体   中英

boto3 upload_file() 403 forbidden with Wasabi S3

I've worked through all the threads concerning this problem but haven't found anything.

Whenever I try to download a file from Wasabi S3, I get a 403 forbidden error. The file is uploaded with a pre-signed url that was signed with the same access key as the one I am using for the download request.

For the signed url I tried setting the ACL to "private" as well as "public-read". But that hasn't changed anything. I did also experiment with different access keys with different permissions for signing and downloading. But also no change.

Any more suggestions would be highly appreciated.

长话短说,endpoint_url 参数在初始化 boto3.client 时不是可选的。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM