Error Failed to connect: The authorization header is malformed; the region is wrong; expecting 'us-east-1'

Hi!,

I’m trying to setup a minio S3 based destination for backups, the thing is it complains about malformed authorization, mentioning a region I didn’t setup. Trying to set a custom region and leaving “default”, but both configurations end up with that error.

On the backend, we have a test minio cluster on HTTP.

Client: 2.0.4.18_canary_2019-05-12
Server: Minio 2019-06-11T00:44:33Z

Any ideas?

For the record, needed to set s3-ext-authenticationregion to match the same as “region” in the default attributes.