Open jigrain opened 1 year ago
Try find config property of your MinioClient in debug mode and check it. Maybe I have similar problem, but I'm not sure https://github.com/minio/minio-dotnet/issues/887
Try this, the BaseUrl will be ok.
builder.Services.AddMinio(configureClient => configureClient .WithEndpoint(endpoint) .WithCredentials(accessKey, secretKey) .Build() );
Try this, the BaseUrl will be ok.
builder.Services.AddMinio(configureClient => configureClient .WithEndpoint(endpoint) .WithCredentials(accessKey, secretKey) .Build() );
Now I get an error: Connection error:The SSL connection could not be established, see inner exception.... Status code=0, response=The SSL connection could not be established, see inner exception. I don't use SSL for my MinIO and accordingly I write ".WithSSL(false)" but as far as I understand it doesn't work for Asp net core format.
I am trying to add MinIo to asp net core. In a regular non web application, I use the following code to create a MinioClient instance and perform operations:
But when I try to connect it to the asp net core api using the code sample I saw on the main page of this repository, I get an error:
The Access Key Id you provided does not exist in our records.
Has anyone faced such problems?