Import files from rclone to editing software, some files report errors

What is the problem you are having with rclone?

Import files from rclone to editing software, some files report errors, It caused my editing software and file system to jam.
ERROR : 13.mp4: vfs cache: failed to _ensure cache failed to start downloader: failed to open downloader: vfs reader: failed to open source file: invalid seek position
2024/06/20 10:02:18 ERROR : IO error: failed to start downloader: failed to open downloader: vfs reader: failed to open source file: invalid seek position

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

rclone v1.66.0
- os/version: Microsoft Windows 11 Home 23H2 (64 bit)
- os/kernel: 10.0.22631.3737 (x86_64)
- os/type: windows
- os/arch: amd64
- go/version: go1.22.1
- go/linking: static
- go/tags: cmount

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

AWS S3 Compatible

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

./rclone mount onecode:onecode  X: --cache-dir ./rclone_cache --vfs-cache-max-age 4w --no-checksum --no-modtime --rc --rc-addr 127.0.0.1:5572 --rc-no-auth --vfs-cache-mode full

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

[onecode]
type = s3
env_auth = false
endpoint = http://127.0.0.1:7677
acl = public-read-write
storage_class = STANDARD
provider = Other
### Double check the config for sensitive info before posting publicly

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

ERROR : 10.mp4: vfs cache: failed to _ensure cache failed to start downloader: failed to open downloader: vfs reader: failed to open source file: invalid seek position
2024/06/20 10:02:18 ERROR : IO error: failed to start downloader: failed to open downloader: vfs reader: failed to open source file: invalid seek position
ERROR : 13.mp4: vfs cache: failed to _ensure cache failed to start downloader: failed to open downloader: vfs reader: failed to open source file: invalid seek position
2024/06/20 10:02:18 ERROR : IO error: failed to start downloader: failed to open downloader: vfs reader: failed to open source file: invalid seek position
ERROR : 15.mp4: vfs cache: failed to _ensure cache failed to start downloader: failed to open downloader: vfs reader: failed to open source file: invalid seek position
2024/06/20 10:02:23 ERROR : IO error: failed to start downloader: failed to open downloader: vfs reader: failed to open source file: invalid seek position

"invalid seek position" with cached files after files updated on s3
that looks similar to your issue.

which s3 provider are you using?

please post the top 30 lines of a debug log.

I'm sorry I didn't reply you in time, but I built a virtual S3 intermediary service and simulated several requests to allow Rclone to display and load files normally. The files are actually downloading links from OSS.
At present, it does not affect normal use, but occasionally there will be a jam, I can only clear the cache.

 rclone stderr: 2024/06/26 11:21:55 ERROR : 7.mp4: vfs cache: failed to _ensure cache failed to start downloader: failed to open downloader: vfs reader: failed to open source file: invalid seek position
2024/06/26 11:21:55 ERROR : IO error: failed to start downloader: failed to open downloader: vfs reader: failed to open source file: invalid seek position
 rclone stderr: 2024/06/26 11:21:55 NOTICE: 8.mp4: Failed to read metadata: Forbidden: Forbidden
	status code: 403, request id: , host id: 
 rclone stderr: 2024/06/26 11:21:55 ERROR : 8.mp4: vfs cache: failed to _ensure cache failed to start downloader: failed to open downloader: vfs reader: failed to open source file: invalid seek position
2024/06/26 11:21:55 ERROR : IO error: failed to start downloader: failed to open downloader: vfs reader: failed to open source file: invalid seek position
 rclone stderr: 2024/06/26 11:21:55 NOTICE: 9.mp4: Failed to read metadata: Forbidden: Forbidden
	status code: 403, request id: , host id: 
 rclone stderr: 2024/06/26 11:21:55 ERROR : 9.mp4: vfs cache: failed to _ensure cache failed to start downloader: failed to open downloader: vfs reader: failed to open source file: invalid seek position
2024/06/26 11:21:55 ERROR : IO error: failed to start downloader: failed to open downloader: vfs reader: failed to open source file: invalid seek position

(anonymous) @ index-CzBEjfeT.js:8
index-CzBEjfeT.js:8 rclone stderr: 2024/06/26 11:21:55 NOTICE: 10.mp4: Failed to read metadata: Forbidden: Forbidden
	status code: 403, request id: , host id: 
rclone stderr: 2024/06/26 11:21:55 ERROR : 10.mp4: vfs cache: failed to _ensure cache failed to start downloader: failed to open downloader: vfs reader: failed to open source file: invalid seek position
2024/06/26 11:21:55 ERROR : IO error: failed to start downloader: failed to open downloader: vfs reader: failed to open source file: invalid seek position
 rclone stderr: 2024/06/26 11:21:55 NOTICE: 11.mp4: Failed to read metadata: Forbidden: Forbidden
	status code: 403, request id: , host id: 
 rclone stderr: 2024/06/26 11:21:56 ERROR : 11.mp4: vfs cache: failed to _ensure cache failed to start downloader: failed to open downloader: vfs reader: failed to open source file: invalid seek position
2024/06/26 11:21:56 ERROR : IO error: failed to start downloader: failed to open downloader: vfs reader: failed to open source file: invalid seek position
 rclone stderr: 2024/06/26 11:21:56 NOTICE: 12.mp4: Failed to read metadata: Forbidden: Forbidden
	status code: 403, request id: , host id: 
 rclone stderr: 2024/06/26 11:21:56 ERROR : 12.mp4: vfs cache: failed to _ensure cache failed to start downloader: failed to open downloader: vfs reader: failed to open source file: invalid seek position
2024/06/26 11:21:56 ERROR : IO error: failed to start downloader: failed to open downloader: vfs reader: failed to open source file: invalid seek position
rclone stderr: 2024/06/26 11:21:56 NOTICE: 13.mp4: Failed to read metadata: Forbidden: Forbidden
	status code: 403, request id: , host id: 
 rclone stderr: 2024/06/26 11:21:56 ERROR : 13.mp4: vfs cache: failed to _ensure cache failed to start downloader: failed to open downloader: vfs reader: failed to open source file: invalid seek position
2024/06/26 11:21:56 ERROR : IO error: failed to start downloader: failed to open downloader: vfs reader: failed to open source file: invalid seek position

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