STOP and READ USE THIS TEMPLATE NO EXCEPTIONS - By not using this, you waste your time, our time and really hate puppies. Please remove these two lines and that will confirm you have read them.
What is the problem you are having with rclone?
we have copy job that copy from azure blob storage to gcp gcs bucket.
the way we setup authentication is:
it works fine when i setup storage account level sas token above but I could not find a way to setup container level sas token authentication.
i got 403 issue.
Any idea?
Run the command 'rclone version' and share the full output of the command.
output of rclone version:rclone v1.64.0
- os/version: centos 7.9.2009 (64 bit)
- os/kernel: 3.10.0-1160.59.1.el7.x86_64 (x86_64)
- os/type: linux
- os/arch: amd64
- go/version: go1.21.1
- go/linking: static
- go/tags: none
Which cloud storage system are you using? (eg Google Drive)
azure blob, gcs
The command you were trying to run (eg rclone copy /tmp remote:tmp
)
Paste command here
export RCLONE_CONFIG_SRC_TYPE="azureblob"
export RCLONE_CONFIG_SRC_ENDPOINT="http://blob.core.windows.net"
export RCLONE_CONFIG_SRC_ACCOUNT=${AZURE_STORAGE_ACCOUNT}
export RCLONE_CONFIG_SRC_SAS_URL="container sas token url"
Please run 'rclone config redacted' and share the full output. If you get command not found, please make sure to update rclone.
Paste config here
A log from the command that you were trying to run with the -vv
flag
Paste log here
2023/11/17 19:25:55 Failed to ls: GET https://storageaccount.blob.core.windows.net/container
RESPONSE 403: 403 Server failed to authenticate the request. Make sure the value of Authorization header is formed correctly including the signature.
ERROR CODE: AuthenticationFailed
<?xml version="1.0" encoding="utf-8"?>
AuthenticationFailed
Server failed to authenticate the request. Make sure the value of Authorization header is formed correctly including the signature.
RequestId:448100ef-801e-010c-0e8b-19c485000000
Time:2023-11-17T19:25:55.8260265Zsr is mandatory. Cannot be empty