FTPS fail with tls: received record with version 3030 when expecting version 303

What is the problem you are having with rclone?

I’m mounting a network drive mapped to a public FTP explicit over TLS server.

Every time I select a file or if I try to create a new file I get the following error:

ERROR : fluentbit-tapi-yaml.zip: ReadFileHandle.Read error: low level retry 1/10: 1 error occurred:
* tls: received record with version 3030 when expecting version 303

since that everything gets unreliable.

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

rclone v1.71.1

  • os/version: Microsoft Windows 11 Pro 24H2 24H2 (64 bit)
  • os/kernel: 10.0.26100.6725 (x86_64)
  • os/type: windows
  • os/arch: amd64
  • go/version: go1.25.1
  • go/linking: static
  • go/tags: cmount

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

FTP

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

rclone.exe mount ftps: X: --network-mode --vfs-cache-mode writes --no-check-certificate --links --dir-cache-time 0m5s --ftp-disable-tls13 --ftp-no-check-certificate

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

```
[ftps]
type = ftp
host = XXX
user = XXX
pass = XXX
implicit_tls = true
port = 990
tls = false
explicit_tls = true
close_timeout = 0
data_close_timeout = 1m
```

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

```
2025/10/02 12:39:13 DEBUG : /winfsp-2.1.25156.msi: Flush: fh=0x2
2025/10/02 12:39:13 DEBUG : /winfsp-2.1.25156.msi: >Flush: errc=0
2025/10/02 12:39:13 DEBUG : /winfsp-2.1.25156.msi: Release: fh=0x2
2025/10/02 12:39:13 DEBUG : /winfsp-2.1.25156.msi: >Release: errc=0
2025/10/02 12:39:13 DEBUG : /fluentbit-tapi-yaml.zip: Getattr: fh=0xFFFFFFFFFFFFFFFF
2025/10/02 12:39:13 DEBUG : fluentbit-tapi-yaml.zip: Returning virtual modtime 2025-09-29 15:05:35 +0000 UTC
2025/10/02 12:39:13 DEBUG : /fluentbit-tapi-yaml.zip: >Getattr: errc=0
2025/10/02 12:39:13 DEBUG : /fluentbit-tapi-yaml.zip: Getattr: fh=0xFFFFFFFFFFFFFFFF
2025/10/02 12:39:13 DEBUG : fluentbit-tapi-yaml.zip: Returning virtual modtime 2025-09-29 15:05:35 +0000 UTC
2025/10/02 12:39:13 DEBUG : /fluentbit-tapi-yaml.zip: >Getattr: errc=0
2025/10/02 12:39:13 DEBUG : /fluentbit-tapi-yaml.zip: OpenEx: flags=0x0
2025/10/02 12:39:13 DEBUG : /fluentbit-tapi-yaml.zip: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx
2025/10/02 12:39:13 DEBUG : fluentbit-tapi-yaml.zip: Open: flags=O_RDONLY
2025/10/02 12:39:13 DEBUG : fluentbit-tapi-yaml.zip: >Open: fd=fluentbit-tapi-yaml.zip (r), err=<nil>
2025/10/02 12:39:13 DEBUG : /fluentbit-tapi-yaml.zip: >OpenFile: fd=fluentbit-tapi-yaml.zip (r), err=<nil>
2025/10/02 12:39:13 DEBUG : /fluentbit-tapi-yaml.zip: >OpenEx: errc=0, fh=0x2
2025/10/02 12:39:13 DEBUG : /fluentbit-tapi-yaml.zip: Read: ofst=3190, fh=0x2
2025/10/02 12:39:13 DEBUG : fluentbit-tapi-yaml.zip: ChunkedReader.openRange at 0 length 134217728
2025/10/02 12:39:13 DEBUG : /fluentbit-tapi-yaml.zip: Getattr: fh=0xFFFFFFFFFFFFFFFF
2025/10/02 12:39:13 DEBUG : fluentbit-tapi-yaml.zip: Returning virtual modtime 2025-09-29 15:05:35 +0000 UTC
2025/10/02 12:39:13 DEBUG : /fluentbit-tapi-yaml.zip: >Getattr: errc=0
2025/10/02 12:39:13 DEBUG : /fluentbit-tapi-yaml.zip: Getattr: fh=0xFFFFFFFFFFFFFFFF
2025/10/02 12:39:13 DEBUG : fluentbit-tapi-yaml.zip: Returning virtual modtime 2025-09-29 15:05:35 +0000 UTC
2025/10/02 12:39:13 DEBUG : /fluentbit-tapi-yaml.zip: >Getattr: errc=0
2025/10/02 12:39:13 DEBUG : /fluentbit-tapi-yaml.zip: OpenEx: flags=0x0
2025/10/02 12:39:13 DEBUG : /fluentbit-tapi-yaml.zip: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx
2025/10/02 12:39:13 DEBUG : fluentbit-tapi-yaml.zip: Open: flags=O_RDONLY
2025/10/02 12:39:13 DEBUG : fluentbit-tapi-yaml.zip: >Open: fd=fluentbit-tapi-yaml.zip (r), err=<nil>
2025/10/02 12:39:13 DEBUG : /fluentbit-tapi-yaml.zip: >OpenFile: fd=fluentbit-tapi-yaml.zip (r), err=<nil>
2025/10/02 12:39:13 DEBUG : /fluentbit-tapi-yaml.zip: >OpenEx: errc=0, fh=0x3
2025/10/02 12:39:14 DEBUG : ftp://file.accedinatm.it:990: dial("tcp","151.8.217.93:50004")
2025/10/02 12:39:14 DEBUG : ftp://file.accedinatm.it:990: > dial: conn=10.100.170.104:61071->151.8.217.93:50004, err=<nil>
2025/10/02 12:39:14 DEBUG : fluentbit-tapi-yaml.zip: waiting for in-sequence read to 3190 for 20ms
2025/10/02 12:39:14 DEBUG : fluentbit-tapi-yaml.zip: aborting in-sequence read wait, off=3190
2025/10/02 12:39:14 DEBUG : fluentbit-tapi-yaml.zip: failed to wait for in-sequence read to 3190
2025/10/02 12:39:14 DEBUG : fluentbit-tapi-yaml.zip: ReadFileHandle.seek from 0 to 3190 (fs.RangeSeeker)
2025/10/02 12:39:14 DEBUG : fluentbit-tapi-yaml.zip: ChunkedReader.RangeSeek from 0 to 3190 length -1
2025/10/02 12:39:14 DEBUG : fluentbit-tapi-yaml.zip: ChunkedReader.Read at -1 length 2048 chunkOffset 3190 chunkSize 134217728
2025/10/02 12:39:14 DEBUG : fluentbit-tapi-yaml.zip: ChunkedReader.openRange at 3190 length 134217728
2025/10/02 12:39:14 DEBUG : ftp://file.accedinatm.it:990: Connecting to FTP server
2025/10/02 12:39:14 DEBUG : ftp://file.accedinatm.it:990: dial("tcp","file.accedinatm.it:990")
2025/10/02 12:39:14 DEBUG : ftp://file.accedinatm.it:990: > dial: conn=10.100.170.104:61072->151.8.217.93:990, err=<nil>
2025/10/02 12:39:14 DEBUG : /: Getattr: fh=0xFFFFFFFFFFFFFFFF
2025/10/02 12:39:14 DEBUG : /: >Getattr: errc=0
2025/10/02 12:39:14 DEBUG : /: Getattr: fh=0xFFFFFFFFFFFFFFFF
2025/10/02 12:39:14 DEBUG : /: >Getattr: errc=0
2025/10/02 12:39:14 DEBUG : /: Opendir:
2025/10/02 12:39:14 DEBUG : /: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx
2025/10/02 12:39:14 DEBUG : /: >OpenFile: fd=/ (r), err=<nil>
2025/10/02 12:39:14 DEBUG : /: >Opendir: errc=0, fh=0x4
2025/10/02 12:39:14 DEBUG : /: Getattr: fh=0xFFFFFFFFFFFFFFFF
2025/10/02 12:39:14 DEBUG : /: >Getattr: errc=0
2025/10/02 12:39:14 DEBUG : /: Releasedir: fh=0x4
2025/10/02 12:39:14 DEBUG : /: >Releasedir: errc=0
2025/10/02 12:39:14 DEBUG : /: Getattr: fh=0xFFFFFFFFFFFFFFFF
2025/10/02 12:39:14 DEBUG : /: >Getattr: errc=0
2025/10/02 12:39:14 DEBUG : /: Getattr: fh=0xFFFFFFFFFFFFFFFF
2025/10/02 12:39:14 DEBUG : /: >Getattr: errc=0
2025/10/02 12:39:14 DEBUG : /: Opendir:
2025/10/02 12:39:14 DEBUG : /: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx
2025/10/02 12:39:14 DEBUG : /: >OpenFile: fd=/ (r), err=<nil>
2025/10/02 12:39:14 DEBUG : /: >Opendir: errc=0, fh=0x4
2025/10/02 12:39:14 DEBUG : /: Releasedir: fh=0x4
2025/10/02 12:39:14 DEBUG : /: >Releasedir: errc=0
2025/10/02 12:39:15 DEBUG : /: Getattr: fh=0xFFFFFFFFFFFFFFFF
2025/10/02 12:39:15 DEBUG : /: >Getattr: errc=0
2025/10/02 12:39:15 DEBUG : /: Getattr: fh=0xFFFFFFFFFFFFFFFF
2025/10/02 12:39:15 DEBUG : /: >Getattr: errc=0
2025/10/02 12:39:15 DEBUG : /: Opendir:
2025/10/02 12:39:15 DEBUG : /: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx
2025/10/02 12:39:15 DEBUG : /: >OpenFile: fd=/ (r), err=<nil>
2025/10/02 12:39:15 DEBUG : /: >Opendir: errc=0, fh=0x4
2025/10/02 12:39:15 DEBUG : /: Getattr: fh=0xFFFFFFFFFFFFFFFF
2025/10/02 12:39:15 DEBUG : /: >Getattr: errc=0
2025/10/02 12:39:15 DEBUG : /: Releasedir: fh=0x4
2025/10/02 12:39:15 DEBUG : /: >Releasedir: errc=0
2025/10/02 12:39:15 DEBUG : ftp://file.accedinatm.it:990: dial("tcp","151.8.217.93:50009")
2025/10/02 12:39:15 DEBUG : ftp://file.accedinatm.it:990: > dial: conn=10.100.170.104:61073->151.8.217.93:50009, err=<nil>
2025/10/02 12:39:15 DEBUG : /: Getattr: fh=0xFFFFFFFFFFFFFFFF
2025/10/02 12:39:15 DEBUG : /: >Getattr: errc=0
2025/10/02 12:39:15 DEBUG : /: Getattr: fh=0xFFFFFFFFFFFFFFFF
2025/10/02 12:39:15 DEBUG : /: >Getattr: errc=0
2025/10/02 12:39:15 DEBUG : /: Opendir:
2025/10/02 12:39:15 DEBUG : /: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx
2025/10/02 12:39:15 DEBUG : /: >OpenFile: fd=/ (r), err=<nil>
2025/10/02 12:39:15 DEBUG : /: >Opendir: errc=0, fh=0x4
2025/10/02 12:39:15 DEBUG : /: Releasedir: fh=0x4
2025/10/02 12:39:15 DEBUG : /: >Releasedir: errc=0
2025/10/02 12:39:16 ERROR : fluentbit-tapi-yaml.zip: ReadFileHandle.Read error: low level retry 1/10: 1 error occurred:
        * tls: received record with version 3030 when expecting version 303

2025/10/02 12:39:16 DEBUG : fluentbit-tapi-yaml.zip: ReadFileHandle.seek from 3190 to 3190
2025/10/02 12:39:16 DEBUG : fluentbit-tapi-yaml.zip: ChunkedReader.RangeSeek from -1 to 3190 length -1
2025/10/02 12:39:16 DEBUG : fluentbit-tapi-yaml.zip: ChunkedReader.openRange at 3190 length 134217728
2025/10/02 12:39:16 DEBUG : fluentbit-tapi-yaml.zip: ReadFileHandle.Read seek failed: open: local error: tls: protocol version not supported
2025/10/02 12:39:16 ERROR : fluentbit-tapi-yaml.zip: ReadFileHandle.Read error: low level retry 2/10: open: local error: tls: protocol version not supported
2025/10/02 12:39:16 DEBUG : fluentbit-tapi-yaml.zip: ReadFileHandle.seek from 3190 to 3190
2025/10/02 12:39:16 DEBUG : fluentbit-tapi-yaml.zip: ReadFileHandle.Read seek close old failed: file already closed
2025/10/02 12:39:16 DEBUG : fluentbit-tapi-yaml.zip: ChunkedReader.RangeSeek from -1 to 3190 length -1
2025/10/02 12:39:16 DEBUG : fluentbit-tapi-yaml.zip: ChunkedReader.openRange at 3190 length 134217728
2025/10/02 12:39:16 DEBUG : fluentbit-tapi-yaml.zip: ReadFileHandle.Read seek failed: open: local error: tls: protocol version not supported
2025/10/02 12:39:16 ERROR : fluentbit-tapi-yaml.zip: ReadFileHandle.Read error: low level retry 3/10: open: local error: tls: protocol version not supported
2025/10/02 12:39:16 DEBUG : fluentbit-tapi-yaml.zip: ReadFileHandle.seek from 3190 to 3190
2025/10/02 12:39:16 DEBUG : fluentbit-tapi-yaml.zip: ReadFileHandle.Read seek close old failed: file already closed
2025/10/02 12:39:16 DEBUG : fluentbit-tapi-yaml.zip: ChunkedReader.RangeSeek from -1 to 3190 length -1
2025/10/02 12:39:16 DEBUG : fluentbit-tapi-yaml.zip: ChunkedReader.openRange at 3190 length 134217728
2025/10/02 12:39:16 DEBUG : fluentbit-tapi-yaml.zip: ReadFileHandle.Read seek failed: open: local error: tls: protocol version not supported
2025/10/02 12:39:16 ERROR : fluentbit-tapi-yaml.zip: ReadFileHandle.Read error: low level retry 4/10: open: local error: tls: protocol version not supported
2025/10/02 12:39:16 DEBUG : fluentbit-tapi-yaml.zip: ReadFileHandle.seek from 3190 to 3190
2025/10/02 12:39:16 DEBUG : fluentbit-tapi-yaml.zip: ReadFileHandle.Read seek close old failed: file already closed
2025/10/02 12:39:16 DEBUG : fluentbit-tapi-yaml.zip: ChunkedReader.RangeSeek from -1 to 3190 length -1
2025/10/02 12:39:16 DEBUG : fluentbit-tapi-yaml.zip: ChunkedReader.openRange at 3190 length 134217728
2025/10/02 12:39:16 DEBUG : fluentbit-tapi-yaml.zip: ReadFileHandle.Read seek failed: open: local error: tls: protocol version not supported
2025/10/02 12:39:16 ERROR : fluentbit-tapi-yaml.zip: ReadFileHandle.Read error: low level retry 5/10: open: local error: tls: protocol version not supported
2025/10/02 12:39:16 DEBUG : fluentbit-tapi-yaml.zip: ReadFileHandle.seek from 3190 to 3190
2025/10/02 12:39:16 DEBUG : fluentbit-tapi-yaml.zip: ReadFileHandle.Read seek close old failed: file already closed
2025/10/02 12:39:16 DEBUG : fluentbit-tapi-yaml.zip: ChunkedReader.RangeSeek from -1 to 3190 length -1
2025/10/02 12:39:16 DEBUG : fluentbit-tapi-yaml.zip: ChunkedReader.openRange at 3190 length 134217728
2025/10/02 12:39:16 DEBUG : fluentbit-tapi-yaml.zip: ReadFileHandle.Read seek failed: open: local error: tls: protocol version not supported
2025/10/02 12:39:16 ERROR : fluentbit-tapi-yaml.zip: ReadFileHandle.Read error: low level retry 6/10: open: local error: tls: protocol version not supported
2025/10/02 12:39:16 DEBUG : fluentbit-tapi-yaml.zip: ReadFileHandle.seek from 3190 to 3190
2025/10/02 12:39:16 DEBUG : fluentbit-tapi-yaml.zip: ReadFileHandle.Read seek close old failed: file already closed
2025/10/02 12:39:16 DEBUG : fluentbit-tapi-yaml.zip: ChunkedReader.RangeSeek from -1 to 3190 length -1
2025/10/02 12:39:16 DEBUG : fluentbit-tapi-yaml.zip: ChunkedReader.openRange at 3190 length 134217728
2025/10/02 12:39:16 DEBUG : fluentbit-tapi-yaml.zip: ReadFileHandle.Read seek failed: open: local error: tls: protocol version not supported
2025/10/02 12:39:16 ERROR : fluentbit-tapi-yaml.zip: ReadFileHandle.Read error: low level retry 7/10: open: local error: tls: protocol version not supported
2025/10/02 12:39:16 DEBUG : fluentbit-tapi-yaml.zip: ReadFileHandle.seek from 3190 to 3190
2025/10/02 12:39:16 DEBUG : fluentbit-tapi-yaml.zip: ReadFileHandle.Read seek close old failed: file already closed
2025/10/02 12:39:16 DEBUG : fluentbit-tapi-yaml.zip: ChunkedReader.RangeSeek from -1 to 3190 length -1
2025/10/02 12:39:16 DEBUG : fluentbit-tapi-yaml.zip: ChunkedReader.openRange at 3190 length 134217728
2025/10/02 12:39:16 DEBUG : fluentbit-tapi-yaml.zip: ReadFileHandle.Read seek failed: open: local error: tls: protocol version not supported
2025/10/02 12:39:16 ERROR : fluentbit-tapi-yaml.zip: ReadFileHandle.Read error: low level retry 8/10: open: local error: tls: protocol version not supported
2025/10/02 12:39:16 DEBUG : fluentbit-tapi-yaml.zip: ReadFileHandle.seek from 3190 to 3190
2025/10/02 12:39:16 DEBUG : fluentbit-tapi-yaml.zip: ReadFileHandle.Read seek close old failed: file already closed
2025/10/02 12:39:16 DEBUG : fluentbit-tapi-yaml.zip: ChunkedReader.RangeSeek from -1 to 3190 length -1
2025/10/02 12:39:16 DEBUG : fluentbit-tapi-yaml.zip: ChunkedReader.openRange at 3190 length 134217728
2025/10/02 12:39:16 DEBUG : fluentbit-tapi-yaml.zip: ReadFileHandle.Read seek failed: open: local error: tls: protocol version not supported
2025/10/02 12:39:16 ERROR : fluentbit-tapi-yaml.zip: ReadFileHandle.Read error: low level retry 9/10: open: local error: tls: protocol version not supported
2025/10/02 12:39:16 DEBUG : fluentbit-tapi-yaml.zip: ReadFileHandle.seek from 3190 to 3190
2025/10/02 12:39:16 DEBUG : fluentbit-tapi-yaml.zip: ReadFileHandle.Read seek close old failed: file already closed
2025/10/02 12:39:16 DEBUG : fluentbit-tapi-yaml.zip: ChunkedReader.RangeSeek from -1 to 3190 length -1
2025/10/02 12:39:16 DEBUG : fluentbit-tapi-yaml.zip: ChunkedReader.openRange at 3190 length 134217728
2025/10/02 12:39:16 DEBUG : fluentbit-tapi-yaml.zip: ReadFileHandle.Read seek failed: open: local error: tls: protocol version not supported
2025/10/02 12:39:16 ERROR : fluentbit-tapi-yaml.zip: ReadFileHandle.Read error: low level retry 10/10: open: local error: tls: protocol version not supported
2025/10/02 12:39:16 DEBUG : fluentbit-tapi-yaml.zip: ReadFileHandle.seek from 3190 to 3190
2025/10/02 12:39:16 DEBUG : fluentbit-tapi-yaml.zip: ReadFileHandle.Read seek close old failed: file already closed
2025/10/02 12:39:16 DEBUG : fluentbit-tapi-yaml.zip: ChunkedReader.RangeSeek from -1 to 3190 length -1
2025/10/02 12:39:16 DEBUG : fluentbit-tapi-yaml.zip: ChunkedReader.openRange at 3190 length 134217728
2025/10/02 12:39:16 DEBUG : fluentbit-tapi-yaml.zip: ReadFileHandle.Read seek failed: open: local error: tls: protocol version not supported
2025/10/02 12:39:16 ERROR : fluentbit-tapi-yaml.zip: ReadFileHandle.Read error: open: local error: tls: protocol version not supported
2025/10/02 12:39:16 ERROR : IO error: open: local error: tls: protocol version not supported
2025/10/02 12:39:16 DEBUG : /fluentbit-tapi-yaml.zip: >Read: n=-5
2025/10/02 12:39:16 DEBUG : /fluentbit-tapi-yaml.zip: Getattr: fh=0x3
2025/10/02 12:39:16 DEBUG : fluentbit-tapi-yaml.zip: Returning virtual modtime 2025-09-29 15:05:35 +0000 UTC
2025/10/02 12:39:16 DEBUG : /fluentbit-tapi-yaml.zip: >Getattr: errc=0
2025/10/02 12:39:16 DEBUG : /fluentbit-tapi-yaml.zip: Flush: fh=0x2
2025/10/02 12:39:16 DEBUG : /fluentbit-tapi-yaml.zip: >Flush: errc=0
2025/10/02 12:39:16 DEBUG : /fluentbit-tapi-yaml.zip: Release: fh=0x2
2025/10/02 12:39:16 DEBUG : fluentbit-tapi-yaml.zip: ReadFileHandle.Release closing
2025/10/02 12:39:16 DEBUG : /fluentbit-tapi-yaml.zip: Flush: fh=0x3
2025/10/02 12:39:16 ERROR : fluentbit-tapi-yaml.zip: ReadFileHandle.Release error: file already closed
2025/10/02 12:39:16 ERROR : IO error: file already closed
2025/10/02 12:39:16 DEBUG : /fluentbit-tapi-yaml.zip: >Release: errc=-5
2025/10/02 12:39:16 DEBUG : /fluentbit-tapi-yaml.zip: >Flush: errc=0
2025/10/02 12:39:16 DEBUG : /fluentbit-tapi-yaml.zip: Release: fh=0x3
2025/10/02 12:39:16 DEBUG : /fluentbit-tapi-yaml.zip: >Release: errc=0
```

welcome to the forum,

implicit_tls = true

is that a valid flag ?


make sure simple command work, such as rclone copy


rclone ftp support relies on a third party and have not been updated in over a year.
the ftp remote is the most troublesome in the forum.

will get much better support for sftp servers, including modtime and file verification using checksums.

This indicates something is wrong with the tls handshake

Try a lower tls level with

  --ftp-disable-tls13          Disable TLS 1.3 (workaround for FTP servers with buggy TLS)

There are other tls flags you can try too

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