What is the problem you are having with rclone?
Rclone is great!
I have been trying to create a remote for azure gen 1 storage account using service principal option. Created the service principal file, put it in the path and Rclone is reading it but unfortunately receiving the following error:
2021/08/04 06:47:09 ERROR : : error listing: -> github.com/Azure/azure-storage-blob-go/azblob.newStorageError, github.com/Azure/azure-storage-blob-go@v0.13.0/azblob/zc_storage_error.go:42
===== RESPONSE ERROR (ServiceCode=) =====
Description=failed to unmarshal response body, Details: (none)
GET https://storageaccountname.azuredatalakestore.net/webhdfs/v1/?comp=list&include=&maxresults=5000&timeout=31536001
Authorization: REDACTED
User-Agent: [rclone/v1.56.0]
X-Ms-Client-Request-Id: [xxxxxxx]
X-Ms-Version: [2019-12-12]
--------------------------------------------------------------------------------
RESPONSE Status: 401 Unauthorized
Cache-Control: [private, no-cache, no-store, max-age=0]
Content-Type: [application/json; charset=utf-8]
Date: [Wed, 04 Aug 2021 06:47:08 GMT]
Strict-Transport-Security: [max-age=15724800; includeSubDomains]
Www-Authenticate: [Bearer authorization_uri="https://login.windows.net/xxxxxxxx", error="invalid_token", error_description="The access token audience is invalid.", resource="https://datalake.azure.net/"]
X-Content-Type-Options: [nosniff]
X-Ms-Request-Id: [xxxxxxxx]
$ rclone config show azure
--------------------
[azure]
type = azureblob
account = xxxxxxx
service_principal_file = ./azure-principal.json
endpoint = azuredatalakestore.net/webhdfs/v1/
--------------------
What is your rclone version (output from rclone version
)
rclone v1.56.0
Which OS you are using and how many bits (eg Windows 7, 64 bit)
linux , 64 bit
Which cloud storage system are you using? (eg Google Drive)
Azure Gen 1 Storage
The command you were trying to run (eg rclone copy /tmp remote:tmp
)
rclone lsd azure:
The rclone config contents with secrets removed.
[azure]
type = azureblob
account = xxxxxxx
service_principal_file = ./azure-principal.json
endpoint = azuredatalakestore.net/webhdfs/v1/
A log from the command with the -vv
flag
Paste log here