From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 32366 invoked by alias); 21 Feb 2011 15:06:59 -0000 Received: (qmail 32327 invoked by uid 22791); 21 Feb 2011 15:06:47 -0000 X-Spam-Check-By: sourceware.org Received: from aquarius.hirmke.de (HELO calimero.vinschen.de) (217.91.18.234) by sourceware.org (qpsmtpd/0.83/v0.83-20-g38e4449) with ESMTP; Mon, 21 Feb 2011 15:06:39 +0000 Received: by calimero.vinschen.de (Postfix, from userid 500) id 88C3B2C017B; Mon, 21 Feb 2011 16:06:36 +0100 (CET) Date: Mon, 21 Feb 2011 15:06:00 -0000 From: Corinna Vinschen To: cygwin@cygwin.com Subject: Re: Spurious "Connection reset by peer" problems anybody? Message-ID: <20110221150636.GF17868@calimero.vinschen.de> Reply-To: cygwin@cygwin.com Mail-Followup-To: cygwin@cygwin.com References: <20110221104352.GA17868@calimero.vinschen.de> <4D626D65.3060408@cornell.edu> <20110221140140.GD17868@calimero.vinschen.de> <20110221142606.GE17868@calimero.vinschen.de> <4D627C96.8000807@cornell.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <4D627C96.8000807@cornell.edu> User-Agent: Mutt/1.5.21 (2010-09-15) Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com X-SW-Source: 2011-02/txt/msg00465.txt.bz2 On Feb 21 09:54, Ken Brown wrote: > On 2/21/2011 9:26 AM, Corinna Vinschen wrote: > >On Feb 21 15:01, Corinna Vinschen wrote: > >>I spoke too soon. [...] > > > >Er... btw., is the situation something which is local to your > >environment or is it something which can be easily reproduced? > > The short answer is that it wouldn't be easy. Here are the details: > > I keep a local mirror of the emacs bzr repository. I connect to the > repository via bzr+ssh. Every few days I refresh my mirror with > 'bzr up'. When I do this from work, where I have a fast ethernet > connection, there's no problem. When I do it from home, where I > connect to the internet via a wireless router, it often fails with > the "Software caused connection abort" message. I keep retrying and > eventually it works. Sometimes it takes 10 tries, other times it > works on the first try. > > I've had similar problems in the past when using rsync to maintain a > local mirror of the texlive repository. In that case I think the > error message was always "Connection reset by peer". Once again, > the problem only occurred when working from home. > > I've always assumed that there was some issue with my home network > setup or my ISP, but I had no idea how to track it down. It never > occurred to me that it could be a Cygwin/Windows problem. The problem is that this is not necessarily a Cygwin/Windows problem. It's just possible that Windows plays a role here. As far as this problem goes, it would only occur at the end of a connection, when close() is called on the socket on the Windows side. The error message would occur on the peer side, independent of the OS it's running on. If the connection just breaks at some arbitary point, it's almost surely not the problem I'm talking about. Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Project Co-Leader cygwin AT cygwin DOT com Red Hat -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple