Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Fix to connect Amazon S3 compatible endpoints with custom auth region #427

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

ftorregrossa
Copy link

@ftorregrossa ftorregrossa commented Aug 29, 2024

Hi,

I realised that it is not possible to connect to specific S3 compatible endpoints (such as those provided by OVH).

When trying to connect, you get the following error:

The authorization header is malformed; the region 'us-east-1' is wrong; expecting 'xxx'

where 'xxx' is the name of the region for your S3 endpoint (for OVH, it can be "gra", "uk", ...). This issue also happened elsewhere see here.

I propose a solution similar to the one in the link. A new field 'Override Auth Region' is added below the Other URL field and is only typable when dealing with endpoints different from Amazon. When you type your region, it works as expected. If you type nothing, it should do nothing.

As I don't own another S3 compatible bucket (non-Amazon and non OVH), I am not able to confirm that it didn't break the behavior for these.
I also don't know if the issue is specific to OVH.

Best regards.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant