File upload on s3 with Minio (sail)
Hi,
I've alredy read the other posts about this topic but i can't get it working.
The scenario:
A category resource where i want to upload a picture that should be public (think about a sort of eccomerce).
In the resource (form) i have
in .env:
Using something like
What seems strange is that filament tries to upload directly the picture to minio:
livewire.js?id=11c49d7e:3953 PUT http://minio:9000/mybucketname/livewire-tmp/jiuIgVyZYQO9hFAyFvZT9bvf5q3zrx-metaYjMuanBn-.jpg?x-amz-acl=private&X-Amz-Content-Sha256=UNSIGNED-PAYLOAD&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=4VfWaDjtRdnIjFh1osj9%2F20230830%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20230830T081610Z&X-Amz-SignedHeaders=host%3Bx-amz-acl&X-Amz-Expires=300&X-Amz-Signature=0bac68f62bcceb8eeeab1ca27fe157095c927aa2df4924f8bb8f3e104f7f5c3a net::ERR_NAME_NOT_RESOLVED
am i missing something?
thanks
I've alredy read the other posts about this topic but i can't get it working.
The scenario:
A category resource where i want to upload a picture that should be public (think about a sort of eccomerce).
In the resource (form) i have
in .env:
Using something like
Storage::disk('s3')->put('categories/asd.txt','asd');works like a charm, but when i do it from web interface it gives me an error.What seems strange is that filament tries to upload directly the picture to minio:
livewire.js?id=11c49d7e:3953 PUT http://minio:9000/mybucketname/livewire-tmp/jiuIgVyZYQO9hFAyFvZT9bvf5q3zrx-metaYjMuanBn-.jpg?x-amz-acl=private&X-Amz-Content-Sha256=UNSIGNED-PAYLOAD&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=4VfWaDjtRdnIjFh1osj9%2F20230830%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20230830T081610Z&X-Amz-SignedHeaders=host%3Bx-amz-acl&X-Amz-Expires=300&X-Amz-Signature=0bac68f62bcceb8eeeab1ca27fe157095c927aa2df4924f8bb8f3e104f7f5c3a net::ERR_NAME_NOT_RESOLVED
am i missing something?
thanks