qoomon / aws-s3-bucket-browser

Single page application to browse AWS S3 bucket content
https://qoomon.github.io/aws-s3-bucket-browser/index.html?bucket=https://s3.amazonaws.com/spacenet-dataset#
MIT License
246 stars 85 forks source link

Previously working sites have stopped working with CORS errors #47

Closed antaenc closed 1 year ago

antaenc commented 1 year ago

A couple of sites that I've set up previously and were working last week are no longer showing the listing. Even a demo site mentioned in a previous issue isn't working: https://data.payless.health/

Failed to load resource: net::ERR_BLOCKED_BY_CLIENT
data.payless.health/:1 Access to script at 'https://unpkg.com/buefy@0.9.20/dist/buefy.min.js' from origin 'https://data.payless.health' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
buefy.min.js:1          Failed to load resource: net::ERR_FAILED
(index):364 Bucket REST API: https://s3-external-1.amazonaws.com/payless.health/
(index):375 Uncaught ReferenceError: Buefy is not defined
    at (index):375:13
DevTools failed to load source map: Could not load content for https://unpkg.com/moment@2.29.1/min/moment.min.js.map: HTTP error: status code 520, net::ERR_HTTP_RESPONSE_CODE_FAILURE
qoomon commented 1 year ago

Strange. https://data.payless.health/ is working for me, as expected.

qoomon commented 1 year ago

maybe it was a issue at unpkg.com, at least currently the access-control-allow-origin: * response header allows any origin. Does you problem still exist?

antaenc commented 1 year ago

Everything is working again, maybe it was unpkg.com.