What is the problem you are having with rclone?
I am sure it's not duplicate of Downloads fail from remote server - Error 426 failure writing network stream
426 Failure writing network stream.
also happens while transferring files, usually when the target filesystem supports multi-thread copy (e.g. local)
The error has originally happened while connecting to seedboxes that use misconfigured vsftpd (especially strict_ssl_read_eof=YES
)
For your reference, here's the content of /etc/vsftpd.conf
of the server described below:
listen=NO
listen_ipv6=YES
anonymous_enable=YES
local_enable=NO
write_enable=NO
chroot_local_user=YES
dirmessage_enable=YES
use_localtime=YES
xferlog_enable=YES
connect_from_port_20=NO
secure_chroot_dir=/var/run/vsftpd/empty
pam_service_name=vsftpd
listen_port=12345
user_sub_token=nobody
nopriv_user=ftp
anon_root=/home/lesmi/tmp/vsftpd_test
rsa_cert_file=/etc/ssl/private/vsftpd.pem
rsa_private_key_file=/etc/ssl/private/vsftpd.pem
ssl_enable=YES
allow_anon_ssl=YES
force_local_data_ssl=YES
force_local_logins_ssl=YES
ssl_tlsv1=YES
ssl_sslv2=NO
ssl_sslv3=NO
require_ssl_reuse=YES
ssl_ciphers=HIGH
strict_ssl_read_eof=YES
Run the command 'rclone version' and share the full output of the command.
$ rclone version
rclone v1.62.0
- os/version: ubuntu 20.04 (64 bit)
- os/kernel: 5.11.0-1027-oracle (aarch64)
- os/type: linux
- os/arch: arm64 (ARMv8 compatible)
- go/version: go1.20.2
- go/linking: static
- go/tags: none
Which cloud storage system are you using? (eg Google Drive)
My vsftpd setup to reliably reproduce the error
The command you were trying to run (eg rclone copy /tmp remote:tmp
)
rclone copy -P --ftp-host 205.185.113.189 --ftp-port 12345 --ftp-user anonymous --ftp-pass cUNHf_mdiQCKlipXVzZ2qM6o49U :ftp: ~/test1
The rclone config contents with secrets removed.
[example]
type = ftp
host = 205.185.113.189
port = 12345
user = anonymous
pass = cUNHf_mdiQCKlipXVzZ2qM6o49U
I'm glad to provide the credentials of my setup - the server is running only for this report, therefore not production thing
You can use it to test and reproduce this error, all the files consist of random bytes. You are even free to leak the files there