Hi everybody.
I’m trying for the first time Digital Ocean and I created a Spaces (S3 correspondent of AWS) to upload files.
I used the S3 Upload Component but I m getting CORS errors continously.
CORS rules are done as per How-To:
By the way this is the difference between AWS and Digital Ocean:
(upload://a73ymdb3PWJZmKws95ubRIgkdzt.png)
This is what Digital Ocean replied to me:
*I see you are creating a presigned URL to do a PUT request with, I’d recommend testing without one to see if the issue persists. In addition one caveat with Ceph (what we use to implement object storage) is that all parameters that the object is signed with also need to be sent in the request to the Space as well.
I’m happy to take an extra review, could you provide the code/configuration of the PHP file as well as the s3upload.js. I’m thinking the JS uploader is not putting the parameters of the signed URL in the PUT request.
I’d also look at the network tab at the failed request and look at the request/response headers directly (or right click and copy all as HAR content).
It may also be following up with the Wappler community further too as some clients/services are built directly for AWS s3. Ceph only replicates the behavior by following s3 specification so there can be some things that don’t work quite the same.
Let us know if the problem persists and those and as many details you can, and we can try to review and replicate this from our end further!*
Any ideas about? some of the @wappler_ambassadors already use Digital Ocean??
Thank you
Roberto