You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have L-LM working a dream with filepond until I canged my storage to s3 / MinIO on my stack (TALL8 / Jetstream / Sail / MacOS) and now get CORS failure so nothing can upload.
Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at http://minio:9000/local/livewire-tmp/4Bo4ZSKKZOjOjpKkHz5f5DHYnuur4e-metabWFuaWMtbWluZXIucG5n-.png?x-amz-acl=private&X-Amz-Content-Sha256=UNSIGNED-PAYLOAD&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=sail%2F20210909%2Feu-west-1%2Fs3%2Faws4_request&X-Amz-Date=20210909T095154Z&X-Amz-SignedHeaders=host%3Bx-amz-acl&X-Amz-Expires=300&X-Amz-Signature=570750ca2be339c8b480c6778bbc60aad00f8a73808513d45c93a755454cc2c4. (Reason: CORS request did not succeed).
I have tried cobinations of true/false for:
config/cors: 'supports_credentials' => true,
config/media-library: 'enable_vapor_uploads' => env('ENABLE_MEDIA_LIBRARY_VAPOR_UPLOADS', true),
*I don't know if either are required but it's as per some web posts.
should enable_vapor_uploads be true or false for Livewire? (it only mentions Vue/React)
*I don't know if MinIO buckets need some special CORS config but can't find anything about it on the web.
FYI: The seeder still "uploads" files perfectly so I'm sure the minio is installed and working too (maybe not fully?).
I'm sure it's just a config issues but am stumpped and can't find anything on google/laracasts of any help. Pointers to reseach, resolve or debug further would be hugely appreciated. thanks.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I have L-LM working a dream with filepond until I canged my storage to s3 / MinIO on my stack (TALL8 / Jetstream / Sail / MacOS) and now get CORS failure so nothing can upload.
I have tried cobinations of true/false for:
config/cors:
'supports_credentials' => true,
config/media-library:
'enable_vapor_uploads' => env('ENABLE_MEDIA_LIBRARY_VAPOR_UPLOADS', true),
*I don't know if either are required but it's as per some web posts.
enable_vapor_uploads
be true or false for Livewire? (it only mentions Vue/React)*I don't know if MinIO buckets need some special CORS config but can't find anything about it on the web.
FYI: The seeder still "uploads" files perfectly so I'm sure the minio is installed and working too (maybe not fully?).
I'm sure it's just a config issues but am stumpped and can't find anything on google/laracasts of any help. Pointers to reseach, resolve or debug further would be hugely appreciated. thanks.
Beta Was this translation helpful? Give feedback.
All reactions