-
Notifications
You must be signed in to change notification settings - Fork 249
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
Region setting not working #262
Comments
Hi @kemege Have you tried with |
Yes, I guess the reason why |
I'm experiencing the same issue working with Scaleway's endpoint. |
I'm not familiar with the code of s5cmd, but after some searching, I think this issue might be caused by the removal of the region setting here: But I'm not sure whether adding this back will solve this issue or break the functionality of cross-region transfer support. |
It turns out that the problem is caused by the behavior of S3 service provider. The normalization happened within |
I'm currently using
s5cmd
to backup files to CTClouds (It provides S3-compitable storage, running by China Telecom).The
s5cmd
binary I'm using is compiled locally usinggo get
.I'm copying files to a bucket on region "sh2", and this information is specified in
~/.aws/config
. However, when uploading, s5cmd always tries to upload tous-east-1
, thus causing aAuthorizationHeaderMalformed
error. Setting envAWS_REGION
orAWS_DEFAULT_REGION
to "sh2" won't change anything.I noticed that since 1.2.0, s5cmd includes a feature "automatically determines region information of destination buckets". I'm wondering if it has anything to do with this feature, or is there any way I can confirm that, since adding
--log debug
won't give me any additional information.The text was updated successfully, but these errors were encountered: