Open pandapknaepel opened 2 months ago
Could be related to the ticket: https://github.com/minio/minio-dotnet/issues/1131
@ebozduman
@pandapknaepel
You are right. This is also related to the #1118 of which #1131 is a duplicate. We are working on a fix for 1118
Also doesn't throw an error when uploading when the region is not set in the client but the server has one. It just fails silently
We use the Contabo S3 and I can see in the TraceLog that the PUT sometimes fails. However, the SDK does not seem to handle the invalid status, which leads to further errors in our system.
As a workaround, we have written a Verify method that uses the PublicUrl of a file to download it and check the StatusCode.
Here is an example trace log of a request.
My code is following (splitted parts):
The output of the verify method is
So we can see that the SDK still processes a non-OK status code without throwing an exception.