Rclone sends TLS ClientHello to Google but no ServerHello

What is the problem you are having with rclone?

Rclone was working fine for months sync'ing Google drive, but now errors showing "oauth: cannot fetch token".

Ran a packet capture and can see the local server sending the ClientHello but then receive 3 x RST's from Google. It doesn't send back a ServerHello.

What is your rclone version (output from rclone version)

was 1.52.1 but upgraded to 1.53.1 to see if fixed but hasn't.

Which OS you are using and how many bits (eg Windows 7, 64 bit)

Windows Server 2016

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 -vv sync fred: D:\Drive --drive-impersonate fred@domain

The rclone config contents with secrets removed.

[fred]
type = drive
scope = drive.readonly
service_account_file = pathtojsonfile\jsonfile.json

A log from the command with the -vv flag

D:\RClone>rclone -vv sync fred: D:\Drive\fred --drive-impersonate fred@domain
2020/10/09 10:26:14 DEBUG : rclone: Version "v1.53.1" starting with parameters ["rclone" "-vv" "sync" "fred:" "D:\\Drive\\fred" "--drive-impersonate" "fred@domain"]
2020/10/09 10:26:14 DEBUG : Using config file from "C:\\Users\\<localuser>\\.config\\rclone\\rclone.conf"
2020/10/09 10:26:14 DEBUG : Creating backend with remote "fred:"
2020/10/09 10:26:14 Failed to create file system for "fred:": couldn't find root directory ID: Get "https://www.googleapis.com/drive/v3/files/root?alt=json&fields=id&prettyPrint=false&supportsAllDrives=true": oauth2: cannot fetch token: Post "https://oauth2.googleapis.com/token": read tcp <src.ip>:50296->216.58.204.138:443: wsarecv: An existing connection was forcibly closed by the remote host.

Could this be caused by a firewall, either one on the host or one locally?

Rclone will be likely be using TLS 1.3 which it is possible some middle boxes might have a problem with

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