Running On Prem Retool and Minio and Im trying to make a simple file upload to the Minio server using either s3 Uploader or a query w/button.
On Minio Ive got the bucket and IAM set to * . Access policy in Minio is public. Bucket resources are set to all, etc.
In the resource setup it tests successfully but when I attempt to upload, Retool throws "Network error when attempting to fetch resource". However, I get this specific error only when I set all the Minio policies to *.
Now if I specify "s3:PutObject" and "s3:GetObject" for the bucket, Retool errors with a "system error 400" (Message:Access Denied). The resource setup:
(In case anyone is wondering Im using the NODE_TLS_REJECT_UNAUTHORIZED=0 param in the docker.env since Im using self-signed certs)
I tried changing the resource CORS to public-read-write, public, and public-readwrite but nothing seems to work.
I can download and read files- thats all good. Its just the uploading that keeps failing. Also, changing the content-type does nothing but interesting that when I manually (outside of retool) upload a text file to Minio its listed as an application/octet-stream. But I can download it from Retool just fine. Not sure if thats really relevant though.
Heres the query:
The s3 Uploader essentially does the same thing.
If anyone has a working Minio upload working any advice would be greatly appreciated. Thanks!