X-Recipient: archive-cygwin AT delorie DOT com X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT com DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org C13FD3858D28 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=dinwoodie.org Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=dinwoodie.org Date: Sat, 26 Mar 2022 11:48:36 +0000 From: Adam Dinwoodie To: cygwin AT cygwin DOT com Subject: Re: rsync gives me error 12 Message-ID: <20220326114836.fnmapn3jlfzgpalw@lucy.dinwoodie.org> References: <0d373fe499f6e363740f3d3fa1dfd440 AT mail DOT gmail DOT com> <20220325094547 DOT rzavvuqv3nhg4s6y AT lucy DOT dinwoodie DOT org> <62e2854b675b0437db040419913e4c10 AT mail DOT gmail DOT com> <20220325133741 DOT 6eua7wghywuoibi3 AT lucy DOT dinwoodie DOT org> <34a35c898731e4f83f700156bcd57945 AT mail DOT gmail DOT com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <34a35c898731e4f83f700156bcd57945@mail.gmail.com> X-Spam-Status: No, score=-0.9 required=5.0 tests=BAYES_00, KAM_DMARC_STATUS, KAM_NUMSUBJECT, RDNS_DYNAMIC, SPF_HELO_PASS, SPF_PASS, TXREP, T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on server2.sourceware.org X-BeenThere: cygwin AT cygwin DOT com X-Mailman-Version: 2.1.29 Precedence: list List-Id: General Cygwin discussions and problem reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: cygwin AT cygwin DOT com Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com Sender: "Cygwin" On Fri, Mar 25, 2022 at 12:36:55PM -0500, Neil Aggarwal wrote: > Adam: > > I tried doing an upload using this command: > rsync test.xml root AT marketing DOT propfinancing DOT com:/tmp > > I still get an error: > rsync: connection unexpectedly closed (0 bytes received so far) [Receiver] > rsync error: error in rsync protocol data stream (code 12) at io.c(226) > [Receiver=3.1.3] > rsync: connection unexpectedly closed (0 bytes received so far) [sender] > rsync error: error in rsync protocol data stream (code 12) at io.c(228) > [sender=3.2.4dev] > > Could it be the rsync versions are somehow incompatible? That seems unlikely: this is an incredibly generic error, and there are *many* possible causes for it. I've never heard of version incompatibilities causing this sort of behaviour, and if they did, I'd expect that would be very widely documented. I'd expect the versions would need to differ much more substantially before that would cause an issue. At this point, I don't think there's any evidence there's a problem with Cygwin itself, or with the rsync packaging for Cygwin; this looks like a problem with either your server setup or your rsync configuration. As such -- at least unless I've missed something that points to it being a problem with Cygwin or the Cygwin rsync package in particular -- I think we're rapidly veering off topic for the Cygwin mailing list. > Would it help if I create a login for you on the server so > you can try doing an rsync yourself? If you can provide steps by which someone could set up their own ssh+rsync server and reproduce this problem, you might be able to get further help on some other open source forum. If those steps necessarily require Cygwin, you might even be able to get further help on this mailing list. I'm afraid, however, that connecting to your server to help diagnose problems there is the sort of thing you probably need to pay someone to do. -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation: https://cygwin.com/docs.html Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple