Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Support any S3 compliant provider #16

Open
imtomjorge opened this issue Aug 4, 2021 · 3 comments
Open

Support any S3 compliant provider #16

imtomjorge opened this issue Aug 4, 2021 · 3 comments

Comments

@imtomjorge
Copy link

Hello,
It could be a good idea to allow S3 compliant providers to work.

I've tried to use Scaleway and Alibaba Object Storage Service.
But as we can't modify the region, it's not working at all.

2021/08/04 21:00:29 error listing buckets: The authorization header is malformed; the region 'us-east-1' is wrong; expecting 'fr-par'
Here I've used Scaleway, and even tried to add the env. variable "REGION", but as it doesn't exists, it can't work at all.

Thanks! :)

@cloudlena
Copy link
Owner

Thanks, @imtomjorge. I just released v0.2.0 with support for regions. Can you test if that works for you?

@imtomjorge
Copy link
Author

imtomjorge commented Aug 5, 2021

Hello @mastertinner,

Thanks a lot for this update. 👌
After a fresh new deployment, the issue still persists:

root@s3manager:~#  docker run -p 8080:8080 -e 'ENDPOINT=s3.fr-par.scw.cloud' -e 'REGION=fr-par' -e 'ACCESS_KEY_ID=MyAccessKey' -e 'SECRET_ACCESS_KEY=MySecretKey' mastertinner/s3manager
2021/08/05 17:46:02 GET	/	33.15µs
2021/08/05 17:46:02 error listing buckets: The authorization header is malformed; the region 'us-east-1' is wrong; expecting 'fr-par'
2021/08/05 17:46:02 GET	/buckets	37.757674ms
2021/08/05 17:46:03 GET	/favicon.ico	27.91µs

And from the website part: there is only "Internal Server Error".
I really don't understand why it doesn't work at all, even with this "region" field.

@imtomjorge
Copy link
Author

Hello @cloudlena,
Any update? :)
Let me know if I can help you in any way! :)

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

No branches or pull requests

2 participants