Skip to content

Error during uploads to Openstack SWIFT S3 #325

@rontrompert

Description

@rontrompert

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    non-awsIssue related to other S3-Compatible Services

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions