Downloads fail from remote server - Error 426 failure writing network stream

What is the problem you are having with rclone?

Downloads keep failing from remote server to unraid server. Keep getting error 426 error writing network stream. Sometimes the downloads will succeed with the retries but sometimes they'll fail outright. I've searched and there is nothing on rclone forums about this specific issue. Is there a flag or setting I'm missing? Thank you!

I'm downloading from a remote server (FTP) to my local unraid server - rclone is on my local unraid server.

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

rclone v1.60.0

  • os/version: slackware 15.0+ (64 bit)
  • os/kernel: 5.19.14-Unraid (x86_64)
  • os/type: linux
  • os/arch: amd64
  • go/version: go1.19.2
  • go/linking: static
  • go/tags: none

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

FTP (remote server)

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

rclone copy "usb:jdownloader2/four" "/mnt/user/data/media/tvshows/Four More Shots Please!" -Pvv --log-file=/mnt/user/files/ksp/logs/rclone-copy.txt

The rclone config contents with secrets removed.

client_id = id
client_secret = secret
type = drive
server_side_across_configs = true
token = {token}

type = crypt
remote = gdrive:/encrypt
filename_encryption = standard
directory_name_encryption = true
password = pass1
password2 = pass2

type = ftp
host = host
user = user
pass = pass
explicit_tls = true
no_check_certificate = true

type = sftp
host = host
user = user
pass = pass
shell_type = unix
no_check_certificate = true
md5sum_command = md5sum
sha1sum_command = sha1sum

A log from the command with the -vv flag

Log File

hello and welcome to the forum,

with usb, have you tried other ftp clients?

does usb2 point to the same server has usb?
if so, do you have issues with usb2

can you add --dump=headers and post the log.

Hey thank you! How would I try different FTP clients?

Also, no usb2 was just my attempt at using sftp but there was no difference - errors persisted in both and I ended up reverting back to using just usb because I was running into other issues with sftp.

Here is the log with --dump=headers on a subsequent retry (download hasn't finished, it keeps restarting for some reason...):
Log File

does usb2 point ot the same server as usb?

try another client such as filezilla or lftp

note: rclone can emulate a ftp server and a sftp server.
rclone serve sftp usb:

Usb2 does point to the same server as usb (but honestly am going to remove it - not needed) and ah I thought you meant within rclone. I have used winscp, cyberduck, and countless others and they all are fine with connecting and uploading/downloading from the server. This network stream issue only occurs with rclone.

The problem starts here

2022/11/01 10:48:37 DEBUG : TheMoviesBoss - multi-thread copy: stream 2/4 failed: 1 error occurred:
* 426 Failure writing network stream.

The reason rclone stops is that it doesn't know it can retry a 426 error...

It also isn't retrying errors on starting downloads which it should be.

I've fixed both of those here - can you give it a go?

v1.61.0-beta.6507.8b540e5d5.fix-ftp-retry on branch fix-ftp-retry (uploaded in 15-30 mins)

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

I've merged this to master now which means it will be in the latest beta in 15-30 minutes and released in v1.62