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?
When I config remote with a service account file, "rclone about gd:" reports:
Get "https://www.googleapis.com/drive/v3/files/root?alt=json&fields=id&prettyPrint=false&supportsAllDrives=true": private key should be a PEM or plain PKCS1 or PKCS8; parse error: asn1: syntax error: sequence truncated
When I config remote with a web authorisation(success!), "rclone about god:" reports:
Failed to create file system for "god:": couldn't find root directory ID: Get "https://www.googleapis.com/drive/v3/files/root?alt=json&fields=id&prettyPrint=false&supportsAllDrives=true": read tcp 10.246.99.2:47392->172.217.160.74:443: read: connection reset by peer
Run the command 'rclone version' and share the full output of the command.
- os/version: ubuntu 20.04 (64 bit)
- os/kernel: 4.19.91-012.ali4000.alios7.x86_64 (x86_64)
- os/type: linux
- os/arch: amd64
- go/version: go1.20.2
- go/linking: static
- go/tags: none
Which cloud storage system are you using? (eg Google Drive)
Google Drive
The command you were trying to run (eg rclone copy /tmp remote:tmp
)
rclone about gd:
rclone about god:
The rclone config contents with secrets removed.
[god]
type = drive
client_id = xx.apps.googleusercontent.com
client_secret = xxx
scope = drive
token = {"access_token":"ya29.a0AWY7CknGZDarTO1FrIFg6L69MbpYnuzydo5UVsH6XLbShP2jhVWV75Z5kO4CjDjZ6fuZGCxjR2Yl7L5UvQwRPNu_ZCb6v__7OGT4jofDqZp-a9mEYXaaye5qRmjRpPhd3b3Ed7AjoM8AK_rDGaoTVS72w2w2aCgYKAc0SARISFQG1tDrplpkyLGnY0ojMxP5CYyf3Rw0163","token_type":"Bearer","refresh_token":"1//039Fi51X0-5o5CgYIARAAGAMSNwF-L9IrBxWp7nIxVw4oQbBuuLTTGHVKzSuH8T6tnulA5PiG1tC2u6OfNxan8Fj9UXH5C6zVhBY","expiry":"2023-05-18T16:38:18.7126157+08:00"}
team_drive =
[gd]
type = drive
client_id = xxx.apps.googleusercontent.com
client_secret = xxx
scope = drive
service_account_file = gd.json
team_drive =
~
A log from the command with the -vv
flag
Paste log here