Rclone is not able to list s3 bucket contents while aws cli is doing it perfectly

What is the problem you are having with rclone?

After configuring rclone in my system, trying to list the bucket contents. AWS  cli is able to list down but rclone is failing with below error -

Failed to create file system for "s3:*****": LoadCustomCABundleError: unable to load custom CA bundle, HTTPClient's transport unsupported type
caused by: unsupported transport, *fshttp.Transport

Run the command 'rclone version' and share the full output of the command.

$ rclone version
rclone v1.59.2
- os/version: Microsoft Windows 10 Enterprise 20H2 (64 bit)
- os/kernel: 10.0.19042.2006 (x86_64)
- os/type: windows
- os/arch: amd64
- go/version: go1.18.6
- go/linking: static
- go/tags: cmount

No

Which cloud storage system are you using? (eg Google Drive)

AWS S3

The command you were trying to run (eg rclone copy /tmp remote:tmp)

rclone ls s3:<bucket name> 

The rclone config contents with secrets removed.

[s3]
type = s3
provider = AWS
region = ap-east-1
location_constraint = ap-east-1
env_auth =true

A log from the command with the -vv flag

Not able to paste due to security issue. Attached after customizing
![error|690x57](upload://i1rRXl3Xg64EDYNPRZzcLcWq7hE.jpeg)

hello and welcome to the forum,

might need to add the environment variable AWS_CA_BUNDLE and then pass that to rclone.
https://forum.rclone.org/t/mounting-an-amazon-s3-bucket/15106

can you post that debug log, perhaps to pastebin?

Hi, Thanks for your response.
The Env variable (AWS_CA_BUNDLE) is already in place and having a valid cert.pem file in place.

$echo $AWS_CA_BUNDLE
/C/Swdtools/Certificates/cert.pem

Also, i am not able to put the debug logs due to enterprise security restriction. Thus, copied the key debug error messages while created the post. The flow of debug messages are as below -

DEBUG : rclone: Version .......
DEBUG : Creating backend with remote "s3: ....."
DEBUG : Using config file from "C:\\Users\\.......\\rclone.conf"
Failed to create file system for "s3:*****": LoadCustomCABundleError: unable to load custom CA bundle, HTTPClient's transport unsupported type
caused by: unsupported transport, *fshttp.Transport

Would appreciate your suggestion based on this available info.

Thanks

hi,
did you read that link i shared, as it offered other suggestion(s)?

might try one of these ssl flags
https://rclone.org/docs/#ssl-tls-options

can get more debug info using --dump=headers

Thanks for your reply. Unsetting the Env variable (AWS_CA_BUNDLE) solved the issue.

ok, good that it is working now!

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.