You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Same issue here, the region seems to fall back to us-east-1 for some operations, even though AWS_REGION is specified correctly. Hopefully #331 can be merged soon.
Sorry to hear you're having this issue. We plan to fix it in the following months on v2.0.0 since changes in #331 breaks users of auto region detection.
Co-authored-by: Aykut Farsak <aykutfarsak@gmail.com>
This PR makes changes to predecense of region detection as below;
```
1. --source-region or --destination-region flags of cp command.
2. AWS_REGION environment variable.
3. Region section of AWS profile.
4. Auto detection from bucket region (via HeadBucket).
5. us-east-1 as default region.
```
Resolves#325, resolves#320.
Closes#317.
Hi,
When I try to upload objects to our own Openstack SWIFT S3 setup I get the following error.
AWS_ACCESS_KEY_ID=access_key AWS_SECRET_ACCESS_KEY=secret key AWS_REGION=NL ./s5cmd --endpoint-url https://my.endpoint cp /path/to/file s3://bucket
ERROR "cp /path/to/file s3://bucket/file": AuthorizationHeaderMalformed: The authorization header is malformed; the region 'us-east-1' is wrong; expecting 'NL' status code: 400, request id: txb0926a6d6af64ec1b4056-0060eeb559, host id: txb0926a6d6af64ec1b4056-0060eeb559
This is with version 1.3.0. Using version 1.1.0 it just works. Somehow it seems that only us-east-1 is allowed.
Could this be fixed?
Btw. I am really impressed by the performance.
Cheers,
Ron
The text was updated successfully, but these errors were encountered: