error in rsync protocol data stream

Wayne Davison wayned at
Tue Nov 1 16:58:22 GMT 2005

On Mon, Oct 31, 2005 at 01:14:16PM -0500, Kevin Karwaski wrote:
> rsync: connection unexpectedly closed (12 bytes read so far)
> rsync error: error in rsync protocol data stream (code 12) at io.c(189)

As the Issues and Debugging page mentions (see item #3 at this URL:, this error just means that the
other side went away.  Why?  They didn't tell us.  Either the net
connection closed due to ouside circumstances, or the remote rsync
crashed/failed.  The page gives you several things you can do to help
you test the failure, including upgrading for better remote-error
reporting (the latest is 2.6.6), enabling core dumps, and enabling
remote system-call tracing.


More information about the rsync mailing list