Search code examples
ubuntursync

error in rsync protocol data stream (code 12) at io.c(605) [Receiver=3.0.9]


I'm trying to rsync data from one ubuntu box to another, but whenever I try to run the command, I get the error,

error in rsync protocol data stream (code 12) at io.c(605) [Receiver=3.0.9]

I've seen people get io.c(600) and 610 errors in various other places around the web, but nothing about a 605 error. What's the cause of this issue? How can it be fixed?

The command i'm running is

/usr/bin/rsync -az -e /usr/bin/ssh user@remote:filename /path/to/local/filename

Solution

  • According to this it's an official bug. At the bottom of the page, one victim of the bug mentions he doesn't get it when the file he's trying to send is < 100 GB or when he uses the -W flag on the client (which indicates whole file copy, rather than rsync delta resolution; basically, turns rsync into little better than scp).