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 ...
Rsync Error: (code 12) at io.c (584)
Mon, 22/08/2005 - 22:53
#1
Rsync Error: (code 12) at io.c (584)
Release news
- 2023-05-30 Nagwin 5.2.0
- 2023-05-23 Copssh server 7.13.2
- 2023-05-23 Copssh server 8.1.2
- 2023-03-29 Rsync Client Helper GUI 1.0.3.7
- 2023-03-29 Nagwin 5.1.2
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.
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.
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 ...
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.
I believe this error is directly related to Rsync, (code 12).
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.
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 ...
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 ...