What is the problem you are having with rclone?
I am trying to use rclone to access Alibaba Cloud OSS.
The OSS endpoint only supports OSS4-HMAC-SHA256 authentication.
The same AK/SK and endpoint work correctly with Alibaba ossutil, but rclone returns:
"Only support authorization for OSS4-HMAC-SHA256"
I have tried both:
- provider = Alibaba
- provider = Other
but the error remains.
My purpose is to migrate data between Alibaba OSS and Huawei OBS, and I need rclone to access the Alibaba OSS bucket for data verification.
Run the command 'rclone version' and share the full output of the command.
rclone v1.74.4
- os/version: ubuntu 20.04 (64 bit)
- os/kernel: 5.4.0-216-generic (x86_64)
- os/type: linux
- os/arch: amd64
- go/version: go1.26.5
- go/linking: static
- go/tags: none
Which cloud storage system are you using? (eg Google Drive)
Alibaba Cloud OSS (S3 compatible API) Endpoint: http://oss-cn-jinan-acdr-ut-1-internal.aliyuncs.com
The command you were trying to run:
rclone lsd aliyun:
Output:
2026/07/30 15:47:08 ERROR : error listing:operation error S3: ListBuckets, https response error StatusCode: 400,RequestID: 6A6B017CF88AD832395C968F,HostID: http://oss-cn-jinan-acdr-ut-1-internal.aliyuncs.com,api error InvalidArgument:Only support authorization for OSS4-HMAC-SHA256
The rclone config contents with secrets removed.
[aliyun] type = s3
provider = Alibaba
env_auth = false
access_key_id = REDACTED
secret_access_key = REDACTED
region = cn-jinan-acdr-ut-1
endpoint = http://oss-cn-jinan-acdr-ut-1-internal.aliyuncs.com
force_path_style = false
v2_auth = false
A log from the command with the -vv flag:
rclone -vv lsd aliyun:
Additional information:
2026/07/30 15:47:08 ERROR : error listing:operation error S3: ListBuckets,https response error StatusCode: 400,RequestID: 6A6B017CF88AD832395C968F,HostID: http://oss-cn-jinan-acdr-ut-1-internal.aliyuncs.com,api error InvalidArgument:Only support authorization for OSS4-HMAC-SHA256