Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://eu-west-1.amazonaws.com/duk-assets-uat/. (Reason: CORS request did not succeed). #271
I've inherited a project from another dev which uses this gem. It used to work fine, but we've recently updated Rails from 4.2 to 5.0 (in an effort to take it all the way to 5.2), and it's stopped working.
The error we get when trying to use the form is:
Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://eu-west-1.amazonaws.com/duk-assets-uat/. (Reason: CORS request did not succeed).[Learn More]
We've checked the CORS setting on the bucket, and they're correct so far as we can tell:
I've inherited a project from another dev which uses this gem. It used to work fine, but we've recently updated Rails from 4.2 to 5.0 (in an effort to take it all the way to 5.2), and it's stopped working.
The error we get when trying to use the form is:
We've checked the CORS setting on the bucket, and they're correct so far as we can tell:
My config looks like this:
So I'm all out of ideas. Can anyone help? Thanks.