-
-
Notifications
You must be signed in to change notification settings - Fork 84
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
bug: AWS S3 SDK v3 (PR #221) does not seem to work with Digital Ocean Spaces #230
Comments
Thanks for opening this issue! |
So this commit here: mman@0f8e404 swallows the To support using the limited |
And this commit here: mman@8fb6f0e uses |
Thank you for reporting this and for taking the time to dig into it and experiment with the PR I think the first fix (swallowing I’m open to discussion if you feel otherwise let me know your thoughts |
@vahidalizad The second fix and usage of |
I am experimenting a bit with the PR #221 and although it works nicely with AWS S3, it does not seem to work with DO spaces. There are two issues.
Read/Write/Delete
bucket scoped access key, the s3 adapter fails withAccessDenied
error when trying to create already existing bucket. We always try tocreateBucket
before performing any other operation.FullAccess
access key, the s3 adapter fails withBucketAlreadyExists
error. If the bucket does not exist, first save will create it, and any other use of the adapter will fail withBucketAlreadyExists
error.Looks like there is a difference in how AWS S3 JS SDK v2 and v3 handled the response of
createBucket
API call, although I could not find (yet) the offending line of code to confirm it.In any way, PR #221 does not seem to work with DO Spaces as is.
The text was updated successfully, but these errors were encountered: