I hope someone is able to help me or point me in the right direction, I have vagrant, putty and rsync from mingw installed on Windows 7 Machine.
When I type in the command vagrant up in the command prompt, it sets up the VM correctly and starts it successfully, but when it gets to the point where it installs rsync and then tries to sync the folders it failes with the error message below.
Command: "rsync" "--verbose" "--archive" "--delete" "-z" "--copy-links" "--chmod=ugo=rwX" "--no-perms" "--no-owner" "--no-group" "--rsync-path" "sudo rsync" "-e" "ssh -p 2222 -o LogLevel=FATAL -o IdentitiesOnly=yes -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -i 'C:/DevEnv/.vagrant/machines/default/virtualbox/private_key'" "--exclude" ".vagrant/" "/c/DevEnv/" "vag...@127.0.0.1:/vagrant"
Error: rsync: read error: Connection reset by peer (104)
rsync error: error in rsync protocol data stream (code 12) at /usr/src/rsync/rsync-3.0.8/io.c(760) [sender=3.0.8]
I get a popup from putty also which says -p is an unrecognised parameter.
For reference I have putty.exe renamed to ssh.exe and placed in the "C:\HashiCorp\Vagrant\bin" directory.
The above error only displays the first time vagrant up is run in the command prompt, when I type it in a second time it runs again but works as it runs my provisioner file on the VM.
Does anyone happen to know why this is ? Also is there anything I am able to do to resolve it so that it works first time each time.
Thanks in advance,