Hi Jmix team.
I have an application under development, which connects to MinIO (VERSION 2023-11-15T20:43:25Z) with the AWS File Storage component, up to version 2.2 of Jmix it works fine, but since we updated to the new 2.3 it generates a connection error to the bucket.
2024-07-02T16:09:23.428-05:00 ERROR 32876 --- [nio-8080-exec-2] io.jmix.awsfs.AwsFileStorage : Error loading file from S3 storage
software.amazon.awssdk.services.s3.model.NoSuchBucketException: The specified bucket does not exist (Service: S3, Status Code: 404, Request ID: 17DE81900BDB6193, Extended Request ID: dd9025bab4ad464b049177c95eb6ebf374d3b3fd1af9251148b658df7ac2e3e8)
at software.amazon.awssdk.core.internal.http.CombinedResponseHandler.handleErrorResponse(CombinedResponseHandler.java:125) ~[sdk-core-2.25.60.jar:na]
Attached is a complete trace of the error.
AWS File Storage error.txt (22.1 KB)
The connection parameters of the MinIO bucket are the following:
# Bucket
jmix.core.default-file-storage = s3
jmix.awsfs.access-key = xzkWuLh...
jmix.awsfs.secret-access-key = Zdd9KD9...
jmix.awsfs.region = us-east-1
jmix.awsfs.bucket = fs-mediesfera
jmix.awsfs.endpoint-url = http://localhost:9000
Any idea about this?
Saludos,
Nelson F.