Rsync Error: (code 12) at io.c (584)

9 posts / 0 new
Last post
itefix
Offline
Last seen: 1 week 6 days ago
Joined: 01.05.2008 - 21:33
Rsync Error: (code 12) at io.c (584)

I keep getting the following error (randomly) both systems running Windows 2003 SP1. I have plenty of disk space on the destination server. I get this error randomly with and without the compression flag. This is driving me nuts! Any thoughts?
building file list ... Read from remote host 10.x.x.x: Connection reset by peer
rsync: read error: Connection reset by peer (104)
rsync error: error in rsync protocol data stream (code 12) at io.c(584)
Terminating secure channel ...

itefix
Offline
Last seen: 1 week 6 days ago
Joined: 01.05.2008 - 21:33
Re: Rsync Error: (code 12) at io.c (584)

Increase rsync output verbosity by using option -v. You can also try to remove option -N from secure channel command (ssh/plink), to be able to see unexpected error messages.

itefix
Offline
Last seen: 1 week 6 days ago
Joined: 01.05.2008 - 21:33
Re: Rsync Error: (code 12) at io.c (584)

I have -v set. This is the error output I get.
building file list ... Read from remote host 10.12.117.147: Connection reset by peer
rsync: read error: Connection reset by peer (104)
rsync error: error in rsync protocol data stream (code 12) at io.c(584)
Terminating secure channel ...

I'll try removing the -N flag to get more data but this error seems very inconsistent.

itefix
Offline
Last seen: 1 week 6 days ago
Joined: 01.05.2008 - 21:33
Re: Rsync Error: (code 12) at io.c (584)

I removed the -N option and really don't get any further indication as to what causes this. Help! I am using Vandyke's Vshell to tunnel the traffic although it doesn't seem like SSH is the problem.
Read from remote host 10.12.117.147: Connection reset by peer
Connection to 10.12.117.147 closed.
rsync: writefd_unbuffered failed to write 4 bytes: phase "unknown" : Connection reset by peer (104)
rsync: read error: Connection reset by peer (104)
rsync error: error in rsync protocol data stream (code 12) at io.c(584)
Terminating secure channel ...

itefix
Offline
Last seen: 1 week 6 days ago
Joined: 01.05.2008 - 21:33
Re: Rsync Error: (code 12) at io.c (584)

I am not familiar with tunnelling via Van Dyke's Vshell. I can try to help you if your problems can be directly related to cwRsync components.

itefix
Offline
Last seen: 1 week 6 days ago
Joined: 01.05.2008 - 21:33
Re: Rsync Error: (code 12) at io.c (584)

I believe this error is directly related to Rsync, (code 12).

itefix
Offline
Last seen: 1 week 6 days ago
Joined: 01.05.2008 - 21:33
Re: Rsync Error: (code 12) at io.c (584)

Try to run rsync directly without secure tunnelling. I agree with you if the problem persists. You can also try to use openssh or plink as secure channel alternatives, to see if they can solve the problem.

itefix
Offline
Last seen: 1 week 6 days ago
Joined: 01.05.2008 - 21:33
Re: Rsync Error: (code 12) at io.c (584)

Alright, I finally got this working with the builtin openssh and I get the same error. This seems like a problem with cwrsync.
Establishing secure channel ...
opening tcp connection to localhost port 9119
rsync: failed to connect to localhost: Connection refused (111)
rsync error: error in socket IO (code 10) at clientserver.c(98)
Terminating secure channel ...

itefix
Offline
Last seen: 1 week 6 days ago
Joined: 01.05.2008 - 21:33
Re: Rsync Error: (code 12) at io.c (584)

Whoops. I posted the wrong error. Here is the error I am trying to solve.
Read from remote host 10.12.117.147: Connection reset by peer
rsync: writefd_unbuffered failed to write 16385 bytes: phase "unknown" : Connection reset by peer (104)
rsync: read error: Connection reset by peer (104)
rsync error: error in rsync protocol data stream (code 12) at io.c(584)
Terminating secure channel ...

Topic locked

Release announcements