Dropped internet connection: long failure time due to token refresh retries

What is the problem you are having with rclone?

With a good network connection, but a dropped or very low quality internet connection RClone is taking ~ 15 minutes to fail. There is a token refresh retry loop occurring for every low-level-retry leading to a large number of total retries.

The command line options being used can be seen in log file output.

The first failure works as expected. I have --retries=3 and --low-level-retires=5 and there are 15 total attempts failing with i/o timeouts in 3:52. I'm unclear what timeout value is being used by RClone, but the number of attempts matches.

The next rclone attempt some minutes later takes 14:17 to fail. It has a series of nested retries. Each retry fails with an i/o timeout.

--retries=3
--low-level-retires=5
some kind of token refresh retry loop that is set to 5

This leads to over 75 retries before failure..

--contimeout --timeout or --max-duration do not abort this operation.

When the interent connection is restored, final log entries show a successful run in 13 seconds with token being refreshed.

The attached log shows a series of successive runs with 4 failed attempts and then a final successful run, all with identical command line and setup, with a few minutes separating runs.

Are there any parameters to have better control over this retry and failure process? In the end I really would just like to retry until a total elapsed time has passed.

What is your rclone version (output from rclone version)

1.54.0

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

Raspbian

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

GDrive

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

rclone: Version "v1.54.0" starting with parameters ["rclone" "-vv" "--drive-root-folder-id=myrootfolderid" "--retries=3" "--retries-sleep=10s" "--low-level-retries=5" "--timeout=30s" "--contimeout=1m" "--expect-continue-timeout=20s" "--max-duration=5m" "--checkers=1" "--multi-thread-streams=0" "--transfers=1" "--check-first" "--use-mmap" "--buffer-size=16M" "move" "/my/local/directory/path" "gdrive:" "--delete-empty-src-dirs"]

The rclone config contents with secrets removed.

[gdrive]
type = drive
client_id = mycleintidhere.apps.googleusercontent.com
client_secret = mysecrethere
scope = drive
token = {"access_token":"blah, blah","expiry":"2021-03-16T11:45:43.535713341-07:00"}

A log from the command with the -vv flag

Full log here at pastebin: 
<script src="https://pastebin.com/embed_js/sse4M0Kc"></script>

Partial log follows

DEBUG/10[1632]---------- updating data files to GDrive ----------
INFO/20[1171]Sending updated data files to GDrive: gdrive:
DEBUG/10[1176]RClone return code:5:5
DEBUG/10[1177]RClone output:>>>><7>DEBUG : rclone: Version "v1.54.0" starting with parameters ["rclone" "-vv" "--drive-root-folder-id=mydriverootfolderid" "--retries=3" "--retries-sleep=10s" "--low-level-retries=5" "--timeout=30s" "--contimeout=1m" "--expect-continue-timeout=20s" "--max-duration=5m" "--checkers=1" "--multi-thread-streams=0" "--transfers=1" "--check-first" "--use-mmap" "--buffer-size=16M" "move" "/my/home/directory/path" "gdrive:" "--delete-empty-src-dirs"]
DEBUG : rclone: systemd logging support activated
DEBUG : Creating backend with remote "/my/home/directory/path"
DEBUG : Using config file from "/home/pi/.config/rclone/rclone.conf"
DEBUG : Creating backend with remote "gdrive:"
INFO  : Google drive root '': Running all checks before starting transfers
INFO  : Google drive root '': Transfer session deadline: 2021/03/16 00:12:12
DEBUG : pacer: low level retry 1/5 (error Get "https://www.googleapis.com/drive/v3/files?alt=json&fields=files%28id%2Cname%2Csize%2Cmd5Checksum%2Ctrashed%2CexplicitlyTrashed%2CmodifiedTime%2CcreatedTime%2CmimeType%2Cparents%2CwebViewLink%2CshortcutDetails%2CexportLinks%29%2CnextPageToken%2CincompleteSearch&includeItemsFromAllDrives=true&pageSize=1000&prettyPrint=false&q=trashed%3Dfalse+and+%28%27mydriverootfolderid%27+in+parents%29&supportsAllDrives=true": dial tcp: lookup www.googleapis.com on 192.168.1.1:53: read udp 192.168.1.214:44624->192.168.1.1:53: i/o timeout)
DEBUG : pacer: Rate limited, increasing sleep to 1.44726943s
DEBUG : pacer: low level retry 2/5 (error Get "https://www.googleapis.com/drive/v3/files?alt=json&fields=files%28id%2Cname%2Csize%2Cmd5Checksum%2Ctrashed%2CexplicitlyTrashed%2CmodifiedTime%2CcreatedTime%2CmimeType%2Cparents%2CwebViewLink%2CshortcutDetails%2CexportLinks%29%2CnextPageToken%2CincompleteSearch&includeItemsFromAllDrives=true&pageSize=1000&prettyPrint=false&q=trashed%3Dfalse+and+%28%27mydriverootfolderid%27+in+parents%29&supportsAllDrives=true": dial tcp: lookup www.googleapis.com on 192.168.1.1:53: read udp 192.168.1.214:57253->192.168.1.1:53: i/o timeout)
DEBUG : pacer: Rate limited, increasing sleep to 2.818033179s
DEBUG : pacer: low level retry 3/5 (error Get "https://www.googleapis.com/drive/v3/files?alt=json&fields=files%28id%2Cname%2Csize%2Cmd5Checksum%2Ctrashed%2CexplicitlyTrashed%2CmodifiedTime%2CcreatedTime%2CmimeType%2Cparents%2CwebViewLink%2CshortcutDetails%2CexportLinks%29%2CnextPageToken%2CincompleteSearch&includeItemsFromAllDrives=true&pageSize=1000&prettyPrint=false&q=trashed%3Dfalse+and+%28%27mydriverootfolderid%27+in+parents%29&supportsAllDrives=true": dial tcp: lookup www.googleapis.com on 192.168.1.1:53: read udp 192.168.1.214:60559->192.168.1.1:53: i/o timeout)
DEBUG : pacer: Rate limited, increasing sleep to 4.622350907s
DEBUG : pacer: low level retry 4/5 (error Get "https://www.googleapis.com/drive/v3/files?alt=json&fields=files%28id%2Cname%2Csize%2Cmd5Checksum%2Ctrashed%2CexplicitlyTrashed%2CmodifiedTime%2CcreatedTime%2CmimeType%2Cparents%2CwebViewLink%2CshortcutDetails%2CexportLinks%29%2CnextPageToken%2CincompleteSearch&includeItemsFromAllDrives=true&pageSize=1000&prettyPrint=false&q=trashed%3Dfalse+and+%28%27mydriverootfolderid%27+in+parents%29&supportsAllDrives=true": dial tcp: lookup www.googleapis.com on 192.168.1.1:53: read udp 192.168.1.214:36306->192.168.1.1:53: i/o timeout)
DEBUG : pacer: Rate limited, increasing sleep to 8.630992809s
DEBUG : pacer: low level retry 5/5 (error Get "https://www.googleapis.com/drive/v3/files?alt=json&fields=files%28id%2Cname%2Csize%2Cmd5Checksum%2Ctrashed%2CexplicitlyTrashed%2CmodifiedTime%2CcreatedTime%2CmimeType%2Cparents%2CwebViewLink%2CshortcutDetails%2CexportLinks%29%2CnextPageToken%2CincompleteSearch&includeItemsFromAllDrives=true&pageSize=1000&prettyPrint=false&q=trashed%3Dfalse+and+%28%27mydriverootfolderid%27+in+parents%29&supportsAllDrives=true": dial tcp: lookup www.googleapis.com on 192.168.1.1:53: read udp 192.168.1.214:57175->192.168.1.1:53: i/o timeout)
DEBUG : pacer: Rate limited, increasing sleep to 16.580600979s
ERROR : : error reading destination directory: couldn't list directory: Get "https://www.googleapis.com/drive/v3/files?alt=json&fields=files%28id%2Cname%2Csize%2Cmd5Checksum%2Ctrashed%2CexplicitlyTrashed%2CmodifiedTime%2CcreatedTime%2CmimeType%2Cparents%2CwebViewLink%2CshortcutDetails%2CexportLinks%29%2CnextPageToken%2CincompleteSearch&includeItemsFromAllDrives=true&pageSize=1000&prettyPrint=false&q=trashed%3Dfalse+and+%28%27mydriverootfolderid%27+in+parents%29&supportsAllDrives=true": dial tcp: lookup www.googleapis.com on 192.168.1.1:53: read udp 192.168.1.214:57175->192.168.1.1:53: i/o timeout
DEBUG : Google drive root '': Waiting for checks to finish
INFO  : Google drive root '': Checks finished, now starting transfers
DEBUG : Google drive root '': Waiting for transfers to finish
ERROR : Attempt 1/3 failed with 1 errors and: couldn't list directory: Get "https://www.googleapis.com/drive/v3/files?alt=json&fields=files%28id%2Cname%2Csize%2Cmd5Checksum%2Ctrashed%2CexplicitlyTrashed%2CmodifiedTime%2CcreatedTime%2CmimeType%2Cparents%2CwebViewLink%2CshortcutDetails%2CexportLinks%29%2CnextPageToken%2CincompleteSearch&includeItemsFromAllDrives=true&pageSize=1000&prettyPrint=false&q=trashed%3Dfalse+and+%28%27mydriverootfolderid%27+in+parents%29&supportsAllDrives=true": dial tcp: lookup www.googleapis.com on 192.168.1.1:53: read udp 192.168.1.214:57175->192.168.1.1:53: i/o timeout
INFO  :
Transferred:                    0 / 0 Bytes, -, 0 Bytes/s, ETA -
Elapsed time:       1m0.9s
INFO  : Google drive root '': Running all checks before starting transfers
INFO  : Google drive root '': Transfer session deadline: 2021/03/16 00:13:12
DEBUG : pacer: low level retry 1/5 (error Get "https://www.googleapis.com/drive/v3/files?alt=json&fields=files%28id%2Cname%2Csize%2Cmd5Checksum%2Ctrashed%2CexplicitlyTrashed%2CmodifiedTime%2CcreatedTime%2CmimeType%2Cparents%2CwebViewLink%2CshortcutDetails%2CexportLinks%29%2CnextPageToken%2CincompleteSearch&includeItemsFromAllDrives=true&pageSize=1000&prettyPrint=false&q=trashed%3Dfalse+and+%28%27mydriverootfolderid%27+in+parents%29&supportsAllDrives=true": dial tcp: lookup www.googleapis.com on 192.168.1.1:53: read udp 192.168.1.214:39652->192.168.1.1:53: i/o timeout)
DEBUG : pacer: Rate limited, increasing sleep to 16.4720026s
DEBUG : pacer: low level retry 2/5 (error Get "https://www.googleapis.com/drive/v3/files?alt=json&fields=files%28id%2Cname%2Csize%2Cmd5Checksum%2Ctrashed%2CexplicitlyTrashed%2CmodifiedTime%2CcreatedTime%2CmimeType%2Cparents%2CwebViewLink%2CshortcutDetails%2CexportLinks%29%2CnextPageToken%2CincompleteSearch&includeItemsFromAllDrives=true&pageSize=1000&prettyPrint=false&q=trashed%3Dfalse+and+%28%27mydriverootfolderid%27+in+parents%29&supportsAllDrives=true": dial tcp: lookup www.googleapis.com on 192.168.1.1:53: read udp 192.168.1.214:33156->192.168.1.1:53: i/o timeout)
DEBUG : pacer: Rate limited, increasing sleep to 16.786772355s
DEBUG : pacer: low level retry 3/5 (error Get "https://www.googleapis.com/drive/v3/files?alt=json&fields=files%28id%2Cname%2Csize%2Cmd5Checksum%2Ctrashed%2CexplicitlyTrashed%2CmodifiedTime%2CcreatedTime%2CmimeType%2Cparents%2CwebViewLink%2CshortcutDetails%2CexportLinks%29%2CnextPageToken%2CincompleteSearch&includeItemsFromAllDrives=true&pageSize=1000&prettyPrint=false&q=trashed%3Dfalse+and+%28%27mydriverootfolderid%27+in+parents%29&supportsAllDrives=true": dial tcp: lookup www.googleapis.com on 192.168.1.1:53: read udp 192.168.1.214:54617->192.168.1.1:53: i/o timeout)
DEBUG : pacer: Rate limited, increasing sleep to 16.781796469s
INFO  :
Transferred:                    0 / 0 Bytes, -, 0 Bytes/s, ETA -
Elapsed time:       2m0.9s
DEBUG : pacer: low level retry 4/5 (error Get "https://www.googleapis.com/drive/v3/files?alt=json&fields=files%28id%2Cname%2Csize%2Cmd5Checksum%2Ctrashed%2CexplicitlyTrashed%2CmodifiedTime%2CcreatedTime%2CmimeType%2Cparents%2CwebViewLink%2CshortcutDetails%2CexportLinks%29%2CnextPageToken%2CincompleteSearch&includeItemsFromAllDrives=true&pageSize=1000&prettyPrint=false&q=trashed%3Dfalse+and+%28%27mydriverootfolderid%27+in+parents%29&supportsAllDrives=true": dial tcp: lookup www.googleapis.com on 192.168.1.1:53: read udp 192.168.1.214:48580->192.168.1.1:53: i/o timeout)
DEBUG : pacer: Rate limited, increasing sleep to 16.521199579s
DEBUG : pacer: low level retry 5/5 (error Get "https://www.googleapis.com/drive/v3/files?alt=json&fields=files%28id%2Cname%2Csize%2Cmd5Checksum%2Ctrashed%2CexplicitlyTrashed%2CmodifiedTime%2CcreatedTime%2CmimeType%2Cparents%2CwebViewLink%2CshortcutDetails%2CexportLinks%29%2CnextPageToken%2CincompleteSearch&includeItemsFromAllDrives=true&pageSize=1000&prettyPrint=false&q=trashed%3Dfalse+and+%28%27mydriverootfolderid%27+in+parents%29&supportsAllDrives=true": dial tcp: lookup www.googleapis.com on 192.168.1.1:53: read udp 192.168.1.214:46390->192.168.1.1:53: i/o timeout)
DEBUG : pacer: Rate limited, increasing sleep to 16.083577748s
ERROR : : error reading destination directory: couldn't list directory: Get "https://www.googleapis.com/drive/v3/files?alt=json&fields=files%28id%2Cname%2Csize%2Cmd5Checksum%2Ctrashed%2CexplicitlyTrashed%2CmodifiedTime%2CcreatedTime%2CmimeType%2Cparents%2CwebViewLink%2CshortcutDetails%2CexportLinks%29%2CnextPageToken%2CincompleteSearch&includeItemsFromAllDrives=true&pageSize=1000&prettyPrint=false&q=trashed%3Dfalse+and+%28%27mydriverootfolderid%27+in+parents%29&supportsAllDrives=true": dial tcp: lookup www.googleapis.com on 192.168.1.1:53: read udp 192.168.1.214:46390->192.168.1.1:53: i/o timeout
DEBUG : Google drive root '': Waiting for checks to finish
INFO  : Google drive root '': Checks finished, now starting transfers
DEBUG : Google drive root '': Waiting for transfers to finish
ERROR : Attempt 2/3 failed with 1 errors and: couldn't list directory: Get "https://www.googleapis.com/drive/v3/files?alt=json&fields=files%28id%2Cname%2Csize%2Cmd5Checksum%2Ctrashed%2CexplicitlyTrashed%2CmodifiedTime%2CcreatedTime%2CmimeType%2Cparents%2CwebViewLink%2CshortcutDetails%2CexportLinks%29%2CnextPageToken%2CincompleteSearch&includeItemsFromAllDrives=true&pageSize=1000&prettyPrint=false&q=trashed%3Dfalse+and+%28%27mydriverootfolderid%27+in+parents%29&supportsAllDrives=true": dial tcp: lookup www.googleapis.com on 192.168.1.1:53: read udp 192.168.1.214:46390->192.168.1.1:53: i/o timeout
INFO  : Google drive root '': Running all checks before starting transfers
INFO  : Google drive root '': Transfer session deadline: 2021/03/16 00:14:38
DEBUG : pacer: low level retry 1/5 (error Get "https://www.googleapis.com/drive/v3/files?alt=json&fields=files%28id%2Cname%2Csize%2Cmd5Checksum%2Ctrashed%2CexplicitlyTrashed%2CmodifiedTime%2CcreatedTime%2CmimeType%2Cparents%2CwebViewLink%2CshortcutDetails%2CexportLinks%29%2CnextPageToken%2CincompleteSearch&includeItemsFromAllDrives=true&pageSize=1000&prettyPrint=false&q=trashed%3Dfalse+and+%28%27mydriverootfolderid%27+in+parents%29&supportsAllDrives=true": dial tcp: lookup www.googleapis.com on 192.168.1.1:53: read udp 192.168.1.214:51409->192.168.1.1:53: i/o timeout)
DEBUG : pacer: Rate limited, increasing sleep to 16.012301555s
DEBUG : pacer: low level retry 2/5 (error Get "https://www.googleapis.com/drive/v3/files?alt=json&fields=files%28id%2Cname%2Csize%2Cmd5Checksum%2Ctrashed%2CexplicitlyTrashed%2CmodifiedTime%2CcreatedTime%2CmimeType%2Cparents%2CwebViewLink%2CshortcutDetails%2CexportLinks%29%2CnextPageToken%2CincompleteSearch&includeItemsFromAllDrives=true&pageSize=1000&prettyPrint=false&q=trashed%3Dfalse+and+%28%27mydriverootfolderid%27+in+parents%29&supportsAllDrives=true": dial tcp: lookup www.googleapis.com on 192.168.1.1:53: read udp 192.168.1.214:32948->192.168.1.1:53: i/o timeout)
DEBUG : pacer: Rate limited, increasing sleep to 16.18818945s
INFO  :
Transferred:                    0 / 0 Bytes, -, 0 Bytes/s, ETA -
Elapsed time:       3m0.9s
DEBUG : pacer: low level retry 3/5 (error Get "https://www.googleapis.com/drive/v3/files?alt=json&fields=files%28id%2Cname%2Csize%2Cmd5Checksum%2Ctrashed%2CexplicitlyTrashed%2CmodifiedTime%2CcreatedTime%2CmimeType%2Cparents%2CwebViewLink%2CshortcutDetails%2CexportLinks%29%2CnextPageToken%2CincompleteSearch&includeItemsFromAllDrives=true&pageSize=1000&prettyPrint=false&q=trashed%3Dfalse+and+%28%27mydriverootfolderid%27+in+parents%29&supportsAllDrives=true": dial tcp: lookup www.googleapis.com on 192.168.1.1:53: read udp 192.168.1.214:60270->192.168.1.1:53: i/o timeout)
DEBUG : pacer: Rate limited, increasing sleep to 16.250635921s
DEBUG : pacer: low level retry 4/5 (error Get "https://www.googleapis.com/drive/v3/files?alt=json&fields=files%28id%2Cname%2Csize%2Cmd5Checksum%2Ctrashed%2CexplicitlyTrashed%2CmodifiedTime%2CcreatedTime%2CmimeType%2Cparents%2CwebViewLink%2CshortcutDetails%2CexportLinks%29%2CnextPageToken%2CincompleteSearch&includeItemsFromAllDrives=true&pageSize=1000&prettyPrint=false&q=trashed%3Dfalse+and+%28%27mydriverootfolderid%27+in+parents%29&supportsAllDrives=true": dial tcp: lookup www.googleapis.com on 192.168.1.1:53: read udp 192.168.1.214:36722->192.168.1.1:53: i/o timeout)
DEBUG : pacer: Rate limited, increasing sleep to 16.208898325s
DEBUG : pacer: low level retry 5/5 (error Get "https://www.googleapis.com/drive/v3/files?alt=json&fields=files%28id%2Cname%2Csize%2Cmd5Checksum%2Ctrashed%2CexplicitlyTrashed%2CmodifiedTime%2CcreatedTime%2CmimeType%2Cparents%2CwebViewLink%2CshortcutDetails%2CexportLinks%29%2CnextPageToken%2CincompleteSearch&includeItemsFromAllDrives=true&pageSize=1000&prettyPrint=false&q=trashed%3Dfalse+and+%28%27mydriverootfolderid%27+in+parents%29&supportsAllDrives=true": dial tcp: lookup www.googleapis.com on 192.168.1.1:53: read udp 192.168.1.214:40130->192.168.1.1:53: i/o timeout)
DEBUG : pacer: Rate limited, increasing sleep to 16.887682368s
ERROR : : error reading destination directory: couldn't list directory: Get "https://www.googleapis.com/drive/v3/files?alt=json&fields=files%28id%2Cname%2Csize%2Cmd5Checksum%2Ctrashed%2CexplicitlyTrashed%2CmodifiedTime%2CcreatedTime%2CmimeType%2Cparents%2CwebViewLink%2CshortcutDetails%2CexportLinks%29%2CnextPageToken%2CincompleteSearch&includeItemsFromAllDrives=true&pageSize=1000&prettyPrint=false&q=trashed%3Dfalse+and+%28%27mydriverootfolderid%27+in+parents%29&supportsAllDrives=true": dial tcp: lookup www.googleapis.com on 192.168.1.1:53: read udp 192.168.1.214:40130->192.168.1.1:53: i/o timeout
DEBUG : Google drive root '': Waiting for checks to finish
INFO  : Google drive root '': Checks finished, now starting transfers
DEBUG : Google drive root '': Waiting for transfers to finish
ERROR : Attempt 3/3 failed with 1 errors and: couldn't list directory: Get "https://www.googleapis.com/drive/v3/files?alt=json&fields=files%28id%2Cname%2Csize%2Cmd5Checksum%2Ctrashed%2CexplicitlyTrashed%2CmodifiedTime%2CcreatedTime%2CmimeType%2Cparents%2CwebViewLink%2CshortcutDetails%2CexportLinks%29%2CnextPageToken%2CincompleteSearch&includeItemsFromAllDrives=true&pageSize=1000&prettyPrint=false&q=trashed%3Dfalse+and+%28%27mydriverootfolderid%27+in+parents%29&supportsAllDrives=true": dial tcp: lookup www.googleapis.com on 192.168.1.1:53: read udp 192.168.1.214:40130->192.168.1.1:53: i/o timeout
INFO  :
Transferred:                    0 / 0 Bytes, -, 0 Bytes/s, ETA -
Errors:                 1 (retrying may help)
Elapsed time:      3m52.3s
DEBUG : 2 go routines active
Failed to move: couldn't list directory: Get "https://www.googleapis.com/drive/v3/files?alt=json&fields=files%28id%2Cname%2Csize%2Cmd5Checksum%2Ctrashed%2CexplicitlyTrashed%2CmodifiedTime%2CcreatedTime%2CmimeType%2Cparents%2CwebViewLink%2CshortcutDetails%2CexportLinks%29%2CnextPageToken%2CincompleteSearch&includeItemsFromAllDrives=true&pageSize=1000&prettyPrint=false&q=trashed%3Dfalse+and+%28%27mydriverootfolderid%27+in+parents%29&supportsAllDrives=true": dial tcp: lookup www.googleapis.com on 192.168.1.1:53: read udp 192.168.1.214:40130->192.168.1.1:53: i/o timeout
<<<<
ERROR/40[1184]ERROR:RClone update to GDrive returned error code:5.  GDrive data probably not updated.



DEBUG/10[1632]---------- updating data files to GDrive ----------
INFO/20[1171]Sending updated data files to GDrive: gdrive:
DEBUG/10[1176]RClone return code:5:5
DEBUG/10[1177]RClone output:>>>><7>DEBUG : rclone: Version "v1.54.0" starting with parameters ["rclone" "-vv" "--drive-root-folder-id=mydriverootfolderid" "--retries=3" "--retries-sleep=10s" "--low-level-retries=5" "--timeout=30s" "--contimeout=1m" "--expect-continue-timeout=20s" "--max-duration=5m" "--checkers=1" "--multi-thread-streams=0" "--transfers=1" "--check-first" "--use-mmap" "--buffer-size=16M" "move" "/my/home/directory/path" "gdrive:" "--delete-empty-src-dirs"]
DEBUG : rclone: systemd logging support activated
DEBUG : Creating backend with remote "/my/home/directory/path"
DEBUG : Using config file from "/home/pi/.config/rclone/rclone.conf"
DEBUG : Creating backend with remote "gdrive:"
INFO  : Google drive root '': Running all checks before starting transfers
INFO  : Google drive root '': Transfer session deadline: 2021/03/16 00:27:13
DEBUG : gdrive: Loaded invalid token from config file - ignoring
DEBUG : gdrive: Token refresh failed try 1/5: Post "https://oauth2.googleapis.com/token": dial tcp: lookup oauth2.googleapis.com on 192.168.1.1:53: read udp 192.168.1.214:37765->192.168.1.1:53: i/o timeout
DEBUG : gdrive: Loaded invalid token from config file - ignoring
DEBUG : gdrive: Token refresh failed try 2/5: Post "https://oauth2.googleapis.com/token": dial tcp: lookup oauth2.googleapis.com on 192.168.1.1:53: read udp 192.168.1.214:43892->192.168.1.1:53: i/o timeout
DEBUG : gdrive: Loaded invalid token from config file - ignoring
DEBUG : gdrive: Token refresh failed try 3/5: Post "https://oauth2.googleapis.com/token": dial tcp: lookup oauth2.googleapis.com on 192.168.1.1:53: read udp 192.168.1.214:57282->192.168.1.1:53: i/o timeout
DEBUG : gdrive: Loaded invalid token from config file - ignoring
DEBUG : gdrive: Token refresh failed try 4/5: Post "https://oauth2.googleapis.com/token": dial tcp: lookup oauth2.googleapis.com on 192.168.1.1:53: read udp 192.168.1.214:36399->192.168.1.1:53: i/o timeout
DEBUG : gdrive: Loaded invalid token from config file - ignoring
DEBUG : gdrive: Token refresh failed try 5/5: Post "https://oauth2.googleapis.com/token": dial tcp: lookup oauth2.googleapis.com on 192.168.1.1:53: read udp 192.168.1.214:60278->192.168.1.1:53: i/o timeout
DEBUG : pacer: low level retry 1/5 (error Get "https://www.googleapis.com/drive/v3/files?alt=json&fields=files%28id%2Cname%2Csize%2Cmd5Checksum%2Ctrashed%2CexplicitlyTrashed%2CmodifiedTime%2CcreatedTime%2CmimeType%2Cparents%2CwebViewLink%2CshortcutDetails%2CexportLinks%29%2CnextPageToken%2CincompleteSearch&includeItemsFromAllDrives=true&pageSize=1000&prettyPrint=false&q=trashed%3Dfalse+and+%28%27mydriverootfolderid%27+in+parents%29&supportsAllDrives=true": couldn't fetch token - maybe it has expired? - refresh with "rclone config reconnect gdrive:": Post "https://oauth2.googleapis.com/token": dial tcp: lookup oauth2.googleapis.com on 192.168.1.1:53: read udp 192.168.1.214:60278->192.168.1.1:53: i/o timeout)
DEBUG : pacer: Rate limited, increasing sleep to 1.890105632s
DEBUG : gdrive: Loaded invalid token from config file - ignoring
INFO  :
Transferred:                    0 / 0 Bytes, -, 0 Bytes/s, ETA -
Elapsed time:       1m0.9s
DEBUG : gdrive: Token refresh failed try 1/5: Post "https://oauth2.googleapis.com/token": dial tcp: lookup oauth2.googleapis.com on 192.168.1.1:53: read udp 192.168.1.214:54729->192.168.1.1:53: i/o timeout
DEBUG : gdrive: Loaded invalid token from config file - ignoring
DEBUG : gdrive: Token refresh failed try 2/5: Post "https://oauth2.googleapis.com/token": dial tcp: lookup oauth2.googleapis.com on 192.168.1.1:53: read udp 192.168.1.214:34595->192.168.1.1:53: i/o timeout
DEBUG : gdrive: Loaded invalid token from config file - ignoring
DEBUG : gdrive: Token refresh failed try 3/5: Post "https://oauth2.googleapis.com/token": dial tcp: lookup oauth2.googleapis.com on 192.168.1.1:53: read udp 192.168.1.214:38869->192.168.1.1:53: i/o timeout
DEBUG : gdrive: Loaded invalid token from config file - ignoring
DEBUG : gdrive: Token refresh failed try 4/5: Post "https://oauth2.googleapis.com/token": dial tcp: lookup oauth2.googleapis.com on 192.168.1.1:53: read udp 192.168.1.214:51957->192.168.1.1:53: i/o timeout
DEBUG : gdrive: Loaded invalid token from config file - ignoring
DEBUG : gdrive: Token refresh failed try 5/5: Post "https://oauth2.googleapis.com/token": dial tcp: lookup oauth2.googleapis.com on 192.168.1.1:53: read udp 192.168.1.214:57592->192.168.1.1:53: i/o timeout
DEBUG : pacer: low level retry 2/5 (error Get "https://www.googleapis.com/drive/v3/files?alt=json&fields=files%28id%2Cname%2Csize%2Cmd5Checksum%2Ctrashed%2CexplicitlyTrashed%2CmodifiedTime%2CcreatedTime%2CmimeType%2Cparents%2CwebViewLink%2CshortcutDetails%2CexportLinks%29%2CnextPageToken%2CincompleteSearch&includeItemsFromAllDrives=true&pageSize=1000&prettyPrint=false&q=trashed%3Dfalse+and+%28%27mydriverootfolderid%27+in+parents%29&supportsAllDrives=true": couldn't fetch token - maybe it has expired? - refresh with "rclone config reconnect gdrive:": Post "https://oauth2.googleapis.com/token": dial tcp: lookup oauth2.googleapis.com on 192.168.1.1:53: read udp 192.168.1.214:57592->192.168.1.1:53: i/o timeout)
DEBUG : pacer: Rate limited, increasing sleep to 2.912252186s
DEBUG : gdrive: Loaded invalid token from config file - ignoring
INFO  :
Transferred:                    0 / 0 Bytes, -, 0 Bytes/s, ETA -
Elapsed time:       2m0.9s
DEBUG : gdrive: Token refresh failed try 1/5: Post "https://oauth2.googleapis.com/token": dial tcp: lookup oauth2.googleapis.com on 192.168.1.1:53: read udp 192.168.1.214:52190->192.168.1.1:53: i/o timeout
DEBUG : gdrive: Loaded invalid token from config file - ignoring
DEBUG : gdrive: Token refresh failed try 2/5: Post "https://oauth2.googleapis.com/token": dial tcp: lookup oauth2.googleapis.com on 192.168.1.1:53: read udp 192.168.1.214:54586->192.168.1.1:53: i/o timeout
DEBUG : gdrive: Loaded invalid token from config file - ignoring
DEBUG : gdrive: Token refresh failed try 3/5: Post "https://oauth2.googleapis.com/token": dial tcp: lookup oauth2.googleapis.com on 192.168.1.1:53: read udp 192.168.1.214:35087->192.168.1.1:53: i/o timeout
DEBUG : gdrive: Loaded invalid token from config file - ignoring
DEBUG : gdrive: Token refresh failed try 4/5: Post "https://oauth2.googleapis.com/token": dial tcp: lookup oauth2.googleapis.com on 192.168.1.1:53: read udp 192.168.1.214:44941->192.168.1.1:53: i/o timeout
DEBUG : gdrive: Loaded invalid token from config file - ignoring
DEBUG : gdrive: Token refresh failed try 5/5: Post "https://oauth2.googleapis.com/token": dial tcp: lookup oauth2.googleapis.com on 192.168.1.1:53: read udp 192.168.1.214:60404->192.168.1.1:53: i/o timeout
DEBUG : pacer: low level retry 3/5 (error Get "https://www.googleapis.com/drive/v3/files?alt=json&fields=files%28id%2Cname%2Csize%2Cmd5Checksum%2Ctrashed%2CexplicitlyTrashed%2CmodifiedTime%2CcreatedTime%2CmimeType%2Cparents%2CwebViewLink%2CshortcutDetails%2CexportLinks%29%2CnextPageToken%2CincompleteSearch&includeItemsFromAllDrives=true&pageSize=1000&prettyPrint=false&q=trashed%3Dfalse+and+%28%27mydriverootfolderid%27+in+parents%29&supportsAllDrives=true": couldn't fetch token - maybe it has expired? - refresh with "rclone config reconnect gdrive:": Post "https://oauth2.googleapis.com/token": dial tcp: lookup oauth2.googleapis.com on 192.168.1.1:53: read udp 192.168.1.214:60404->192.168.1.1:53: i/o timeout)
DEBUG : pacer: Rate limited, increasing sleep to 4.152452109s
DEBUG : gdrive: Loaded invalid token from config file - ignoring
DEBUG : gdrive: Token refresh failed try 1/5: Post "https://oauth2.googleapis.com/token": dial tcp: lookup oauth2.googleapis.com on 192.168.1.1:53: read udp 192.168.1.214:40165->192.168.1.1:53: i/o timeout
DEBUG : gdrive: Loaded invalid token from config file - ignoring
INFO  :
Transferred:                    0 / 0 Bytes, -, 0 Bytes/s, ETA -
Elapsed time:       3m0.9s
DEBUG : gdrive: Token refresh failed try 2/5: Post "https://oauth2.googleapis.com/token": dial tcp: lookup oauth2.googleapis.com on 192.168.1.1:53: read udp 192.168.1.214:48396->192.168.1.1:53: i/o timeout
DEBUG : gdrive: Loaded invalid token from config file - ignoring
DEBUG : gdrive: Token refresh failed try 3/5: Post "https://oauth2.googleapis.com/token": dial tcp: lookup oauth2.googleapis.com on 192.168.1.1:53: read udp 192.168.1.214:46187->192.168.1.1:53: i/o timeout
DEBUG : gdrive: Loaded invalid token from config file - ignoring
DEBUG : gdrive: Token refresh failed try 4/5: Post "https://oauth2.googleapis.com/token": dial tcp: lookup oauth2.googleapis.com on 192.168.1.1:53: read udp 192.168.1.214:56646->192.168.1.1:53: i/o timeout
DEBUG : gdrive: Loaded invalid token from config file - ignoring
DEBUG : gdrive: Token refresh failed try 5/5: Post "https://oauth2.googleapis.com/token": dial tcp: lookup oauth2.googleapis.com on 192.168.1.1:53: read udp 192.168.1.214:48365->192.168.1.1:53: i/o timeout
DEBUG : pacer: low level retry 4/5 (error Get "https://www.googleapis.com/drive/v3/files?alt=json&fields=files%28id%2Cname%2Csize%2Cmd5Checksum%2Ctrashed%2CexplicitlyTrashed%2CmodifiedTime%2CcreatedTime%2CmimeType%2Cparents%2CwebViewLink%2CshortcutDetails%2CexportLinks%29%2CnextPageToken%2CincompleteSearch&includeItemsFromAllDrives=true&pageSize=1000&prettyPrint=false&q=trashed%3Dfalse+and+%28%27mydriverootfolderid%27+in+parents%29&supportsAllDrives=true": couldn't fetch token - maybe it has expired? - refresh with "rclone config reconnect gdrive:": Post "https://oauth2.googleapis.com/token": dial tcp: lookup oauth2.googleapis.com on 192.168.1.1:53: read udp 192.168.1.214:48365->192.168.1.1:53: i/o timeout)
DEBUG : pacer: Rate limited, increasing sleep to 8.003896619s
DEBUG : gdrive: Loaded invalid token from config file - ignoring
DEBUG : gdrive: Token refresh failed try 1/5: Post "https://oauth2.googleapis.com/token": dial tcp: lookup oauth2.googleapis.com on 192.168.1.1:53: read udp 192.168.1.214:47156->192.168.1.1:53: i/o timeout
DEBUG : gdrive: Loaded invalid token from config file - ignoring
INFO  :
Transferred:                    0 / 0 Bytes, -, 0 Bytes/s, ETA -
Elapsed time:       4m0.9s
DEBUG : gdrive: Token refresh failed try 2/5: Post "https://oauth2.googleapis.com/token": dial tcp: lookup oauth2.googleapis.com on 192.168.1.1:53: read udp 192.168.1.214:36984->192.168.1.1:53: i/o timeout
DEBUG : gdrive: Loaded invalid token from config file - ignoring
DEBUG : gdrive: Token refresh failed try 3/5: Post "https://oauth2.googleapis.com/token": dial tcp: lookup oauth2.googleapis.com on 192.168.1.1:53: read udp 192.168.1.214:52160->192.168.1.1:53: i/o timeout
DEBUG : gdrive: Loaded invalid token from config file - ignoring
DEBUG : gdrive: Token refresh failed try 4/5: Post "https://oauth2.googleapis.com/token": dial tcp: lookup oauth2.googleapis.com on 192.168.1.1:53: read udp 192.168.1.214:34726->192.168.1.1:53: i/o timeout


Can you try the latest beta - this has had lots of work in this area - thanks!

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