Your browser app fails on its first request to the bucket. Firefox reports Reason: CORS header 'Access-Control-Allow-Origin' missing ( MDN ); Chromium’s internal name for it is MissingAllowOriginHeader ( Chromium source ).
A MinIO CORS error is harder to fix than the same error on Amazon S3, because where CORS lives depends on which MinIO you run: an S3-style bucket CORS document stores nothing on community MinIO ( dummy-handlers.go ). Find your build, set CORS at the layer it supports, then prove it with curl.
Nothing here was run against a live server. The community MinIO responses below are what MinIO’s source code says you should see, read from the archived minio/minio repository.
In this post:
Where MinIO sets CORS depends on the build
Which browser error do you have?
Find out which MinIO you are running
Fix it on community MinIO
Fix it on AIStor
Test the preflight with curl
Behind a reverse proxy
Presigned URLs and CORS
Where MinIO sets CORS depends on the build
Community MinIO has no…