Connection reset by peer,buffer size and Jellyfin behaviour

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?

3question

  1. Nothing critical but i get this more often than before (read: connection reset by peer) even with default rclone mount. I wonder what cause,it is from my side or google side.
  2. Does –buffer-size give me benefit on mount since i use nvme ssd for cache?
  3. For Jellyfin,does anyone get same like me,jellyfin will do 1gb+ download on every file even i pause it after play?Does first 1gb download because of jellyfin or rclone

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

rclone v1.70.3

  • os/version: ubuntu 24.04 (64 bit)
  • os/kernel: 6.8.0-79-generic (x86_64)
  • os/type: linux
  • os/arch: amd64
  • go/version: go1.24.4
  • 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 media: /root/media --allow-other --allow-non-empty --daemon --vfs-cache-max-age 30d --vfs-cache-min-free-space 15G --vfs-cache-mode full --cache-dir=/root/cache --log-level INFO --log-file /root/cache/log/media.log --dir-cache-time 30d --read-only --vfs-read-chunk-size 8M --vfs-read-chunk-size-limit 512M --buffer-size 64M

Please run 'rclone config redacted' and share the full output. If you get command not found, please make sure to update rclone.


A log from the command that you were trying to run with the -vv flag

2025/08/29 22:18:57 INFO  : AB1/Latest/test.mkv: vfs cache: downloader: error count now 1: vfs reader: failed to write to cache file: read tcp [IPV6]:43540->[IPV6-Google i guess]:443: read: connection reset by peer
2025/08/29 22:18:57 ERROR : AB1/Latest/test.mkv: vfs cache: failed to download: vfs reader: failed to write to cache file: read tcp [IPV6]:43540->[IPV6-Google i guess]:443: read: connection reset by peer
2025/08/29 22:19:01 INFO  : AB1/Latest/test.mkv: vfs cache: downloader: resetting error count to 0

???


rclone mount does not download anything on it own.

is the issue that 1GB+ was downloaded from the internet or the size of the flie in the cache is 1GB+ ?
check the jellyfin logs...

not really, i always use -–buffer-size=0, no matter what type of drive is used by the cache.
can search for the forum for discussions about that.


might want to rclone selfupdate


allows for over-mounting. be 1000% sure you need that?

i use my own id client/secret. dont u worry about that

of course it cache,i monitor how much it download. after 1gb,probably not much,maybe 100-200mb,without seeking

im not like some guy want update every single time,it not even old

yes i need

Those are standard network errors, not really related to rclone. It means connectivity broke from client to server.

Updating saves time and fixes problems and makes easier for all parties. If you’d like to request support, we’d like to request you to update as things are solved a lot of times by using the latest version and troubleshooting the latest version is what we’re all trying to do.

Can you explain your use case and why overmounting/hiding makes sense? Generally curious.

i mean it my side or google side,because i seen this on my pc and vps. rarely happen,just curious

Could be any item along the route that is causing the issue as it can be your PC, your ISP, a transient carrier along the path, Google’s API, etc.