IO error: vfs reader: failed to write to cache file - googleapi: got HTTP response code 503 with body: Service Unavailable

What is the problem you are having with rclone?

Yesterday I noticed that I was getting the following errors in my rclone log. At first glance it appears there is a IO error in regards to the local cache folder, but I have verified that the cache folder has rw permissions for the user who runs the rclone mount command. The drive the cache folder is on is a 1TB WD SSD which is freshly formatted and has 890+ GB free. I can create/delete files and folders as the user without issues.

Some of those log errors occurred while I was away from the computer so I didn't check the file as the error as occurring, but I just now went and tried to open and play the files rclone errored on and they all worked as expected.

Is this likely a issue on my end or a hiccup on googles? The errors seemed to have stopped sometime this morning.

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

rclone v1.60.1

  • os/version: debian 11.5 (64 bit)
  • os/kernel: 5.10.0-19-amd64 (x86_64)
  • os/type: linux
  • os/arch: amd64
  • go/version: go1.19.3
  • 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 mount GDTV: /mnt/rclone/TV \
 # Allow mounting over a non-empty directory (not Windows).
 --allow-non-empty \
 # Alliw other users
 --allow-other \
 # GDrive is a polling remote so this value can be set very high and any changes are detected via polling.
 --dir-cache-time 5000h \
 # I reduce the poll interval down to 10 seconds as this makes changes fast
 --poll-interval 10s \
 # The local disk used for caching
 --cache-dir=/storage/rclone/cache/tv \
 # This sets up the remote control daemon so you can issue rc commands locally
 --rc \
 # This is the default port it runs on
 --rc-addr :5572 \
 # no-auth is used as no one else uses my server and it is not a shared seedbox
 --rc-no-auth \
 # Cache mode off|minimal|writes|full (default off)
 --vfs-cache-mode=full \
 # This limits the cache size to the value below
 --vfs-cache-max-size 100G \
 # This limits the age in the cache if the size is reached and it removes the oldest files first
 --vfs-cache-max-age 5000h \
 # The polling interval for increased based on there is enough buffer space
 --vfs-cache-poll-interval 5m \
 # Override the permission bits set by the filesystem.
 --umask 002 \
 # Location where rclone logs will be stored
 --log-file=/mnt/rclone/logs/tv-mount.log \
 # Logging level for rclone logs
 --log-level INFO \
 --user-agent "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.77 Safari/537.36" \
 # Limit transactions per second to this number.
 --tpslimit 12 \
 # Set the tpslimit-burst
 --tpslimit-burst 12 \
 # Fix IPV6 Errors if you are not running IPV6
 --bind 192.168.1.10 \
 # Disable HTTP2
 --disable-http2 \
 --fast-list \
 # Location where the rclone.conf file is located
 --config /home/user/.config/rclone/rclone.conf

The rclone config contents with secrets removed.

[GD]
type = drive
client_id = XXX-XXX.apps.googleusercontent.com
client_secret = XXX
scope = drive
token = {"access_token":"XXX","token_type":"Bearer","refresh_token":"XXX","expiry":"2022-12-15TXXX"}
root_folder_id = XXX

[GDTV]
type = crypt
remote = GD:PATH/TV
filename_encryption = standard
directory_name_encryption = true
password = XXX
password2 = XXX

A log from the command with the -vv flag

2022/12/15 04:23:12 INFO  : Banged Up Abroad/Season 13/Banged.Up.Abroad.(2007).S13E05.Model.Drug.Runner.-1080p-.mkv: vfs cache: downloader: error count now 1: vfs reader: failed to write to [3010/3010$
 open file failed: googleapi: got HTTP response code 503 with body: Service Unavailable
2022/12/15 04:23:12 ERROR : Banged Up Abroad/Season 13/Banged.Up.Abroad.(2007).S13E05.Model.Drug.Runner.-1080p-.mkv: vfs cache: failed to download: vfs reader: failed to write to cache file: open file
failed: googleapi: got HTTP response code 503 with body: Service Unavailable
2022/12/15 04:24:33 INFO  : Banged Up Abroad/Season 13/Banged.Up.Abroad.(2007).S13E05.Model.Drug.Runner.-1080p-.mkv: vfs cache: downloader: resetting error count to 0
2022/12/15 04:26:38 INFO  : vfs cache: cleaned: objects 72 (was 72) in use 0, to upload 0, uploading 0, total size 852.866Mi (was 852.866Mi)
2022/12/15 04:28:56 INFO  : Banged Up Abroad/Season 13/Banged.Up.Abroad.(2007).S13E05.Model.Drug.Runner.-1080p-.mkv: vfs cache: downloader: error count now 1: vfs reader: failed to write to cache file:
 couldn't reopen file with offset and limit: open file failed: googleapi: got HTTP response code 503 with body: Service Unavailable
2022/12/15 04:28:56 ERROR : Banged Up Abroad/Season 13/Banged.Up.Abroad.(2007).S13E05.Model.Drug.Runner.-1080p-.mkv: vfs cache: failed to download: vfs reader: failed to write to cache file: couldn't r
eopen file with offset and limit: open file failed: googleapi: got HTTP response code 503 with body: Service Unavailable
2022/12/15 04:31:38 INFO  : vfs cache: cleaned: objects 72 (was 72) in use 1, to upload 0, uploading 0, total size 852.866Mi (was 852.866Mi)
2022/12/15 04:32:20 INFO  : Banged Up Abroad/Season 13/Banged.Up.Abroad.(2007).S13E05.Model.Drug.Runner.-1080p-.mkv: vfs cache: downloader: error count now 1: vfs reader: failed to write to cache file:
 couldn't reopen file with offset and limit: open file failed: googleapi: got HTTP response code 503 with body: Service Unavailable
2022/12/15 04:32:20 ERROR : Banged Up Abroad/Season 13/Banged.Up.Abroad.(2007).S13E05.Model.Drug.Runner.-1080p-.mkv: vfs cache: failed to download: vfs reader: failed to write to cache file: couldn't r
eopen file with offset and limit: open file failed: googleapi: got HTTP response code 503 with body: Service Unavailable
2022/12/15 04:33:41 INFO  : Banged Up Abroad/Season 13/Banged.Up.Abroad.(2007).S13E05.Model.Drug.Runner.-1080p-.mkv: vfs cache: downloader: resetting error count to 0
2022/12/15 04:36:38 INFO  : vfs cache: cleaned: objects 75 (was 75) in use 1, to upload 0, uploading 0, total size 886.323Mi (was 886.323Mi)
2022/12/15 04:37:03 INFO  : Banged Up Abroad/Season 13/Banged.Up.Abroad.(2007).S13E05.Model.Drug.Runner.-1080p-.mkv: vfs cache: downloader: error count now 1: vfs reader: failed to write to cache file:
 couldn't reopen file with offset and limit: open file failed: googleapi: got HTTP response code 503 with body: Service Unavailable
2022/12/15 04:37:03 ERROR : Banged Up Abroad/Season 13/Banged.Up.Abroad.(2007).S13E05.Model.Drug.Runner.-1080p-.mkv: vfs cache: failed to download: vfs reader: failed to write to cache file: couldn't r
eopen file with offset and limit: open file failed: googleapi: got HTTP response code 503 with body: Service Unavailable
2022/12/15 04:40:26 INFO  : Banged Up Abroad/Season 13/Banged.Up.Abroad.(2007).S13E05.Model.Drug.Runner.-1080p-.mkv: vfs cache: downloader: error count now 2: vfs reader: failed to write to cache file:
 couldn't reopen file with offset and limit: open file failed: googleapi: got HTTP response code 503 with body: Service Unavailable
2022/12/15 04:40:26 ERROR : Banged Up Abroad/Season 13/Banged.Up.Abroad.(2007).S13E05.Model.Drug.Runner.-1080p-.mkv: vfs cache: failed to download: vfs reader: failed to write to cache file: couldn't r
eopen file with offset and limit: open file failed: googleapi: got HTTP response code 503 with body: Service Unavailable
2022/12/15 04:41:38 INFO  : vfs cache: cleaned: objects 75 (was 75) in use 1, to upload 0, uploading 0, total size 886.323Mi (was 886.323Mi)
2022/12/15 04:43:49 INFO  : Banged Up Abroad/Season 13/Banged.Up.Abroad.(2007).S13E05.Model.Drug.Runner.-1080p-.mkv: vfs cache: downloader: error count now 3: vfs reader: failed to write to cache file:
 couldn't reopen file with offset and limit: open file failed: googleapi: got HTTP response code 503 with body: Service Unavailable
2022/12/15 04:43:49 ERROR : Banged Up Abroad/Season 13/Banged.Up.Abroad.(2007).S13E05.Model.Drug.Runner.-1080p-.mkv: vfs cache: failed to download: vfs reader: failed to write to cache file: couldn't r
eopen file with offset and limit: open file failed: googleapi: got HTTP response code 503 with body: Service Unavailable
2022/12/15 04:46:38 INFO  : vfs cache: cleaned: objects 75 (was 75) in use 1, to upload 0, uploading 0, total size 886.323Mi (was 886.323Mi)
2022/12/15 04:47:12 INFO  : Banged Up Abroad/Season 13/Banged.Up.Abroad.(2007).S13E05.Model.Drug.Runner.-1080p-.mkv: vfs cache: downloader: error count now 4: vfs reader: failed to write to cache file:
 couldn't reopen file with offset and limit: open file failed: googleapi: got HTTP response code 503 with body: Service Unavailable
2022/12/15 04:47:12 ERROR : Banged Up Abroad/Season 13/Banged.Up.Abroad.(2007).S13E05.Model.Drug.Runner.-1080p-.mkv: vfs cache: failed to download: vfs reader: failed to write to cache file: couldn't r
eopen file with offset and limit: open file failed: googleapi: got HTTP response code 503 with body: Service Unavailable
2022/12/15 04:50:38 INFO  : Banged Up Abroad/Season 13/Banged.Up.Abroad.(2007).S13E05.Model.Drug.Runner.-1080p-.mkv: vfs cache: downloader: error count now 5: vfs reader: failed to write to cache file:
 couldn't reopen file with offset and limit: open file failed: googleapi: got HTTP response code 503 with body: Service Unavailable
2022/12/15 04:50:38 ERROR : Banged Up Abroad/Season 13/Banged.Up.Abroad.(2007).S13E05.Model.Drug.Runner.-1080p-.mkv: vfs cache: failed to download: vfs reader: failed to write to cache file: couldn't r
eopen file with offset and limit: open file failed: googleapi: got HTTP response code 503 with body: Service Unavailable
2022/12/15 04:51:38 INFO  : vfs cache: cleaned: objects 75 (was 75) in use 1, to upload 0, uploading 0, total size 886.323Mi (was 886.323Mi)
2022/12/15 04:54:01 INFO  : Banged Up Abroad/Season 13/Banged.Up.Abroad.(2007).S13E05.Model.Drug.Runner.-1080p-.mkv: vfs cache: downloader: error count now 6: vfs reader: failed to write to cache file:
 couldn't reopen file with offset and limit: open file failed: googleapi: got HTTP response code 503 with body: Service Unavailable
2022/12/15 04:54:01 ERROR : Banged Up Abroad/Season 13/Banged.Up.Abroad.(2007).S13E05.Model.Drug.Runner.-1080p-.mkv: vfs cache: failed to download: vfs reader: failed to write to cache file: couldn't r
eopen file with offset and limit: open file failed: googleapi: got HTTP response code 503 with body: Service Unavailable
2022/12/15 04:56:38 INFO  : vfs cache: cleaned: objects 75 (was 75) in use 1, to upload 0, uploading 0, total size 886.323Mi (was 886.323Mi)
2022/12/15 04:57:24 INFO  : Banged Up Abroad/Season 13/Banged.Up.Abroad.(2007).S13E05.Model.Drug.Runner.-1080p-.mkv: vfs cache: downloader: error count now 7: vfs reader: failed to write to cache file:
 couldn't reopen file with offset and limit: open file failed: googleapi: got HTTP response code 503 with body: Service Unavailable
2022/12/15 04:57:24 ERROR : Banged Up Abroad/Season 13/Banged.Up.Abroad.(2007).S13E05.Model.Drug.Runner.-1080p-.mkv: vfs cache: failed to download: vfs reader: failed to write to cache file: couldn't r
eopen file with offset and limit: open file failed: googleapi: got HTTP response code 503 with body: Service Unavailable
2022/12/15 05:11:39 ERROR : Banged Up Abroad/Season 13/Banged.Up.Abroad.(2007).S13E05.Model.Drug.Runner.-1080p-.mkv: vfs cache: failed to _ensure cache vfs reader: failed to write to cache file: couldn
't reopen file with offset and limit: open file failed: googleapi: got HTTP response code 503 with body: Service Unavailable
2022/12/15 05:11:39 ERROR : IO error: vfs reader: failed to write to cache file: couldn't reopen file with offset and limit: open file failed: googleapi: got HTTP response code 503 with body: Service Unavailable
2022/12/15 05:11:39 ERROR : IO error: vfs reader: failed to write to cache file: couldn't reopen file with offset and limit: open file failed: googleapi: got HTTP response code 503 with body: Service Unavailable
2022/12/15 05:11:39 ERROR : Banged Up Abroad/Season 13/Banged.Up.Abroad.(2007).S13E05.Model.Drug.Runner.-1080p-.mkv: vfs cache: failed to _ensure cache vfs reader: failed to write to cache file: couldn
't reopen file with offset and limit: open file failed: googleapi: got HTTP response code 503 with body: Service Unavailable
2022/12/15 05:47:14 ERROR : Banged Up Abroad/Season 13/Banged.Up.Abroad.(2007).S13E05.Model.Drug.Runner.-1080p-.mkv: vfs cache: failed to _ensure cache vfs reader: failed to write to cache file: couldn
't reopen file with offset and limit: open file failed: googleapi: got HTTP response code 503 with body: Service Unavailable
2022/12/15 05:47:14 ERROR : IO error: vfs reader: failed to write to cache file: couldn't reopen file with offset and limit: open file failed: googleapi: got HTTP response code 503 with body: Service Unavailable
2022/12/15 05:47:14 ERROR : Banged Up Abroad/Season 13/Banged.Up.Abroad.(2007).S13E05.Model.Drug.Runner.-1080p-.mkv: vfs cache: failed to kick waiters: vfs reader: failed to write to cache file: couldn
't reopen file with offset and limit: open file failed: googleapi: got HTTP response code 503 with body: Service Unavailable
2022/12/15 05:50:37 INFO  : Banged Up Abroad/Season 13/Banged.Up.Abroad.(2007).S13E05.Model.Drug.Runner.-1080p-.mkv: vfs cache: downloader: resetting error count to 0
2022/12/15 05:51:38 INFO  : vfs cache: cleaned: objects 75 (was 75) in use 1, to upload 0, uploading 0, total size 6.159Gi (was 6.159Gi)
2022/12/15 05:56:38 INFO  : vfs cache: cleaned: objects 76 (was 76) in use 1, to upload 0, uploading 0, total size 9.319Gi (was 9.319Gi)
2022/12/15 06:01:38 INFO  : vfs cache: cleaned: objects 77 (was 77) in use 1, to upload 0, uploading 0, total size 11.455Gi (was 11.455Gi)
2022/12/15 06:03:15 INFO  : HBO Documentary Film Series {tvdb-178871}/Season 2020/HBO.Documentary.Film.Series.S2020E18.The.Perfect.Weapon.-1080p-.mkv: vfs cache: downloader: error count now 1: vfs read
er: failed to write to cache file: open file failed: googleapi: got HTTP response code 503 with body: Service Unavailable
2022/12/15 08:19:45 ERROR : IO error: vfs reader: failed to write to cache file: couldn't reopen file with offset and limit: open file failed: googleapi: got HTTP response code 503 with body: Service Unavailable
2022/12/15 08:21:38 INFO  : vfs cache: cleaned: objects 90 (was 90) in use 0, to upload 0, uploading 0, total size 21.962Gi (was 21.962Gi)
2022/12/15 08:23:09 INFO  : I Survived (2008) {tvdb-139961}/Season 2/I.Survived.S02E08.DonnaDanelleRobert.&.Ana.-720p-.mkv: vfs cache: downloader: error count now 17: vfs reader: failed to write to ca
che file: couldn't reopen file with offset and limit: open file failed: googleapi: got HTTP response code 503 with body: Service Unavailable
2022/12/15 08:23:09 ERROR : I Survived (2008) {tvdb-139961}/Season 2/I.Survived.S02E08.DonnaDanelleRobert.&.Ana.-720p-.mkv: vfs cache: failed to download: vfs reader: failed to write to cache file: co
uldn't reopen file with offset and limit: open file failed: googleapi: got HTTP response code 503 with body: Service Unavailable
2022/12/15 08:26:38 INFO  : vfs cache: cleaned: objects 97 (was 97) in use 0, to upload 0, uploading 0, total size 24.889Gi (was 24.889Gi)
2022/12/15 08:31:38 INFO  : vfs cache: cleaned: objects 245 (was 245) in use 1, to upload 0, uploading 0, total size 26.917Gi (was 26.917Gi)
2022/12/15 08:36:38 INFO  : vfs cache: cleaned: objects 385 (was 385) in use 1, to upload 0, uploading 0, total size 29.227Gi (was 29.227Gi)
2022/12/15 08:41:38 INFO  : vfs cache: cleaned: objects 559 (was 559) in use 1, to upload 0, uploading 0, total size 31.392Gi (was 31.392Gi)
2022/12/15 08:46:38 INFO  : vfs cache: cleaned: objects 694 (was 694) in use 1, to upload 0, uploading 0, total size 33.541Gi (was 33.541Gi)
2022/12/15 08:51:38 INFO  : vfs cache: cleaned: objects 821 (was 821) in use 1, to upload 0, uploading 0, total size 35.965Gi (was 35.965Gi)
2022/12/15 11:16:51 ERROR : I Survived (2008) {tvdb-139961}/Season 1/I.Survived.S01E05.Denise.Nick.Leonilda.-720p-.mkv: vfs cache: download write: failed to kick waiters: vfs reader: failed to write t
o cache file: vfs reader: failed to write to cache file: vfs reader: failed to write to cache file: vfs reader: failed to write to cache file: vfs reader: failed to write to cache file: vfs reader: failed to wri
te to cache file: vfs reader: failed to write to cache file: vfs reader: failed to write to cache file: vfs reader: failed to write to cache file: vfs reader: failed to write to cache file: vfs reader: failed to
 write to cache file: vfs reader: failed to write to cache file: vfs reader: failed to write to cache file: vfs reader: failed to write to cache file: vfs reader: failed to write to cache file: couldn't reopen f
ile with offset and limit: open file failed: googleapi: got HTTP response code 503 with body: Service Unavailable
2022/12/15 11:16:51 ERROR : I Survived (2008) {tvdb-139961}/Season 1/I.Survived.S01E05.Denise.Nick.Leonilda.-720p-.mkv: vfs cache: failed to _ensure cache vfs reader: failed to write to cache file: vf
s reader: failed to write to cache file: vfs reader: failed to write to cache file: vfs reader: failed to write to cache file: vfs reader: failed to write to cache file: vfs reader: failed to write to cache file
: vfs reader: failed to write to cache file: vfs reader: failed to write to cache file: vfs reader: failed to write to cache file: vfs reader: failed to write to cache file: vfs reader: failed to write to cache
file: vfs reader: failed to write to cache file: vfs reader: failed to write to cache file: vfs reader: failed to write to cache file: vfs reader: failed to write to cache file: couldn't reopen file with offset
and limit: open file failed: googleapi: got HTTP response code 503 with body: Service Unavailable
2022/12/15 11:16:51 ERROR : IO error: vfs reader: failed to write to cache file: vfs reader: failed to write to cache file: vfs reader: failed to write to cache file: vfs reader: failed to write to cache file: v
fs reader: failed to write to cache file: vfs reader: failed to write to cache file: vfs reader: failed to write to cache file: vfs reader: failed to write to cache file: vfs reader: failed to write to cache fil
e: vfs reader: failed to write to cache file: vfs reader: failed to write to cache file: vfs reader: failed to write to cache file: vfs reader: failed to write to cache file: vfs reader: failed to write to cache
 file: vfs reader: failed to write to cache file: couldn't reopen file with offset and limit: open file failed: googleapi: got HTTP response code 503 with body: Service Unavailable
2022/12/15 11:16:51 INFO  : I Survived (2008) {tvdb-139961}/Season 1/I.Survived.S01E05.Denise.Nick.Leonilda.-720p-.mkv: vfs cache: downloader: error count now 29: vfs reader: failed to write to cache
file: vfs reader: failed to write to cache file: vfs reader: failed to write to cache file: vfs reader: failed to write to cache file: vfs reader: failed to write to cache file: vfs reader: failed to write to ca
che file: vfs reader: failed to write to cache file: vfs reader: failed to write to cache file: vfs reader: failed to write to cache file: vfs reader: failed to write to cache file: vfs reader: failed to write t
o cache file: vfs reader: failed to write to cache file: vfs reader: failed to write to cache file: vfs reader: failed to write to cache file: vfs reader: failed to write to cache file: vfs reader: failed to wri
te to cache file: couldn't reopen file with offset and limit: open file failed: googleapi: got HTTP response code 503 with body: Service Unavailable
2022/12/15 11:16:51 ERROR : I Survived (2008) {tvdb-139961}/Season 1/I.Survived.S01E05.Denise.Nick.Leonilda.-720p-.mkv: vfs cache: failed to download: vfs reader: failed to write to cache file: vfs re
ader: failed to write to cache file: vfs reader: failed to write to cache file: vfs reader: failed to write to cache file: vfs reader: failed to write to cache file: vfs reader: failed to write to cache file: vf
s reader: failed to write to cache file: vfs reader: failed to write to cache file: vfs reader: failed to write to cache file: vfs reader: failed to write to cache file: vfs reader: failed to write to cache file
: vfs reader: failed to write to cache file: vfs reader: failed to write to cache file: vfs reader: failed to write to cache file: vfs reader: failed to write to cache file: vfs reader: failed to write to cache
file: couldn't reopen file with offset and limit: open file failed: googleapi: got HTTP response code 503 with body: Service Unavailable
2022/12/15 11:16:52 ERROR : I Survived (2008) {tvdb-139961}/Season 1/I.Survived.S01E05.Denise.Nick.Leonilda.-720p-.mkv: vfs cache: failed to download: vfs reader: failed to write to cache file: vfs re
ader: failed to write to cache file: vfs reader: failed to write to cache file: vfs reader: failed to write to cache file: vfs reader: failed to write to cache file: vfs reader: failed to write to cache file: vf
s reader: failed to write to cache file: vfs reader: failed to write to cache file: vfs reader: failed to write to cache file: vfs reader: failed to write to cache file: vfs reader: failed to write to cache file
: vfs reader: failed to write to cache file: vfs reader: failed to write to cache file: vfs reader: failed to write to cache file: vfs reader: failed to write to cache file: vfs reader: failed to write to cache
file: vfs reader: failed to write to cache file: vfs reader: failed to write to cache file: couldn't reopen file with offset and limit: open file failed: googleapi: got HTTP response code 503 with body: Service
Unavailable
2022/12/15 11:16:53 ERROR : I Survived (2008) {tvdb-139961}/Season 1/I.Survived.S01E05.Denise.Nick.Leonilda.-720p-.mkv: vfs cache: too many errors 31/10: last error: vfs reader: failed to write to cac
he file: vfs reader: failed to write to cache file: vfs reader: failed to write to cache file: vfs reader: failed to write to cache file: vfs reader: failed to write to cache file: vfs reader: failed to write to
 cache file: vfs reader: failed to write to cache file: vfs reader: failed to write to cache file: vfs reader: failed to write to cache file: vfs reader: failed to write to cache file: vfs reader: failed to writ
e to cache file: vfs reader: failed to write to cache file: vfs reader: failed to write to cache file: vfs reader: failed to write to cache file: vfs reader: failed to write to cache file: vfs reader: failed to
write to cache file: vfs reader: failed to write to cache file: vfs reader: failed to write to cache file: couldn't reopen file with offset and limit: open file failed: googleapi: got HTTP response code 503 with
 body: Service Unavailable
2022/12/15 11:16:53 ERROR : I Survived (2008) {tvdb-139961}/Season 1/I.Survived.S01E05.Denise.Nick.Leonilda.-720p-.mkv: vfs cache: download write: failed to kick waiters: vfs reader: failed to write t
o cache file: vfs reader: failed to write to cache file: vfs reader: failed to write to cache file: vfs reader: failed to write to cache file: vfs reader: failed to write to cache file: vfs reader: failed to wri
te to cache file: vfs reader: failed to write to cache file: vfs reader: failed to write to cache file: vfs reader: failed to write to cache file: vfs reader: failed to write to cache file: vfs reader: failed to
 write to cache file: vfs reader: failed to write to cache file: vfs reader: failed to write to cache file: vfs reader: failed to write to cache file: vfs reader: failed to write to cache file: vfs reader: faile
d to write to cache file: vfs reader: failed to write to cache file: vfs reader: failed to write to cache file: couldn't reopen file with offset and limit: open file failed: googleapi: got HTTP response code 503
 with body: Service Unavailable
 2022/12/15 11:16:57 ERROR : I Survived (2008) {tvdb-139961}/Season 1/I.Survived.S01E05.Denise.Nick.Leonilda.-720p-.mkv: vfs cache: failed to _ensure cache vfs reader: failed to write to cache file: vf
s reader: failed to write to cache file: vfs reader: failed to write to cache file: vfs reader: failed to write to cache file: vfs reader: failed to write to cache file: vfs reader: failed to write to cache file
: vfs reader: failed to write to cache file: vfs reader: failed to write to cache file: vfs reader: failed to write to cache file: vfs reader: failed to write to cache file: vfs reader: failed to write to cache
file: vfs reader: failed to write to cache file: vfs reader: failed to write to cache file: vfs reader: failed to write to cache file: vfs reader: failed to write to cache file: vfs reader: failed to write to ca
che file: vfs reader: failed to write to cache file: vfs reader: failed to write to cache file: vfs reader: failed to write to cache file: vfs reader: failed to write to cache file: vfs reader: failed to write t
o cache file: vfs reader: failed to write to cache file: vfs reader: failed to write to cache file: vfs reader: failed to write to cache file: vfs reader: failed to write to cache file: vfs reader: failed to wri
te to cache file: vfs reader: failed to write to cache file: vfs reader: failed to write to cache file: couldn't reopen file with offset and limit: open file failed: googleapi: got HTTP response code 503 with bo
dy: Service Unavailable
2022/12/15 11:16:57 ERROR : IO error: vfs reader: failed to write to cache file: vfs reader: failed to write to cache file: vfs reader: failed to write to cache file: vfs reader: failed to write to cache file: v
fs reader: failed to write to cache file: vfs reader: failed to write to cache file: vfs reader: failed to write to cache file: vfs reader: failed to write to cache file: vfs reader: failed to write to cache fil
e: vfs reader: failed to write to cache file: vfs reader: failed to write to cache file: vfs reader: failed to write to cache file: vfs reader: failed to write to cache file: vfs reader: failed to write to cache
 file: vfs reader: failed to write to cache file: vfs reader: failed to write to cache file: vfs reader: failed to write to cache file: vfs reader: failed to write to cache file: vfs reader: failed to write to c
ache file: vfs reader: failed to write to cache file: vfs reader: failed to write to cache file: vfs reader: failed to write to cache file: vfs reader: failed to write to cache file: vfs reader: failed to write
to cache file: vfs reader: failed to write to cache file: vfs reader: failed to write to cache file: vfs reader: failed to write to cache file: vfs reader: failed to write to cache file: couldn't reopen file wit
h offset and limit: open file failed: googleapi: got HTTP response code 503 with body: Service Unavailable
2022/12/15 16:51:38 INFO  : vfs cache: cleaned: objects 828 (was 828) in use 0, to upload 0, uploading 0, total size 38.760Gi (was 38.760Gi)
2022/12/15 16:56:38 INFO  : vfs cache: cleaned: objects 828 (was 828) in use 0, to upload 0, uploading 0, total size 38.760Gi (was 38.760Gi)
2022/12/15 17:01:38 INFO  : vfs cache: cleaned: objects 828 (was 828) in use 0, to upload 0, uploading 0, total size 38.760Gi (was 38.760Gi)
2022/12/15 17:06:38 INFO  : vfs cache: cleaned: objects 828 (was 828) in use 0, to upload 0, uploading 0, total size 38.760Gi (was 38.760Gi)

Those errors are Google Drive returning it isn't working.

I get those every once in a while, even without cache. Not sure how this affects anything. I don't usually find out until the next morning when I look at the logs.

Thanks for the response. My first guess is that that was a google error, but I couldn't find a definitive answer. This is the first time I've noticed these errors and 2 days after I reinstalled the OS on my server(which included adding 2 new SSD's and for the first time using btrfs) which made me question if I had mucked something up.

Also, I want to give you a big thank you for providing great info on rclone+drive+plex and throwing your configs on github! Hugely useful :slight_smile: :+1:

Ah, I noticed this because I'm currently using plex to detect intro's and plex was seemingly stuck for hours on the same season and suspected I had hit a API limit.

That's not API limit as that's a service unavailable as it's an error from Google saying the service is not working.

API limits manifest generally as 403 which are rate (rare as you have 1 billion API hits per day0 and upload/download quota errors.

I rarely get that error when someone is streaming or trying to stream something via Plex. Have no clue, though, if it has any impact on the stream at that time or not. Nobody's complained yet :wink:

Far more frequently, I see i/o timeouts and unexpected EOFs, but those also seem to have no negative effect.

Try creating a new OAUTH client. I'm not certain that fixes the problem but it has helped for me recently.

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