ReadFileHandle.Read error

Hi, I am running rclone in docker. I am noticing these errors from time to time.

20:37:22 ERROR : tv/name.mkv: ReadFileHandle.Read error: low level retry 1/10: read tcp 172.18.0.7:54654->172.217.20.138:443: read: connection reset by peer
today at 12:27  2021/03/28 11:27:55 ERROR : tv/name.mkv: ReadFileHandle.Read error: low level retry 1/10: read tcp 172.18.0.7:48042->216.58.204.234:443: i/o timeout
today at 13:52  2021/03/28 12:52:12 ERROR : tv/name.mkv: ReadFileHandle.Read error: low level retry 1/10: read tcp 172.18.0.7:60138->172.217.169.42:443: i/o timeout
today at 16:55  2021/03/28 15:55:48 ERROR : tv/name.mkv: ReadFileHandle.Read error: low level retry 1/10: read tcp 172.18.0.7:33614->172.217.16.234:443: read: connection reset by peer

I thought its to do with amazon fire tv stick but its happening with other device too.

Here is my compose

  rclone:
    image: ghcr.io/hotio/rclone:release
    hostname: ${DOCKERHOSTNAME}
    container_name: rclone
    environment:
      - RCLONE_CONFIG=/config/rclone.conf
    security_opt:
      - apparmor:unconfined
    cap_add:
      - SYS_ADMIN
    devices:
      - /dev/fuse
    logging:
      driver: json-file
      options:
        max-file: ${DOCKERLOGGING_MAXFILE}
        max-size: ${DOCKERLOGGING_MAXSIZE}
    restart: unless-stopped
    volumes:
      - /mnt/gdrive:/mnt/gdrive:shared
      - ${DOCKERCONFDIR}/rclone:/config
    command: mount "gdrive:"  "/mnt/gdrive" --allow-other --uid "1000" --gid "1000" --umask "022" --rc --rc-addr localhost:5572 --rc-no-auth --drive-skip-gdocs --fast-list --vfs-read-chunk-size 64M --vfs-read-chunk-size-limit 2048M --buffer-size 64M --poll-interval 1m --dir-cache-time 168h --timeout 10m --drive-chunk-size 64M

Not sure where is the issue.

Those are network time outs so you'd want to validate things like DNS/ISP/etc.

Thank you so much @Animosity022, any idea how can I check these?

so you are getting an occasional 1/10 now and again,
what about 2/10 - 10/10?

when playing media, are you getting any noticeable video/audio glitches?

Just started seeing these errors from last three days and I'm running rclone in docker for almost a month (before it was native and never seen any error or basically never seen logs :slight_smile: )

Yes only 1/10 appearing nothing else and yes you are correct I noticed glitches too.

so only in the last three days.

unless you made some change to docker or rclone command, seems like a basic network/computer issue, unrelated to rclone.

first step is always to reboot everything
internet modem/router, computers, etc...

Didn't make any changes but definitely going to restart everything and I think you are right that might fix the issue. Thank you so much

I will keep you posted.

small detail but --fast-list does not work an a mount.

Thank you so much @Animosity022 and @asdffdsa for your help. Its all working fine now. No error since since yesterday. I rebooted the machine and router.

Thanks again

1 Like

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