delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2011/02/21/09:54:34

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-0.7 required=5.0 tests=AWL,BAYES_00,SPF_NEUTRAL,TW_BZ,T_RP_MATCHES_RCVD
X-Spam-Check-By: sourceware.org
Message-ID: <4D627C96.8000807@cornell.edu>
Date: Mon, 21 Feb 2011 09:54:14 -0500
From: Ken Brown <kbrown AT cornell DOT edu>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.13) Gecko/20101207 Thunderbird/3.1.7
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: Spurious "Connection reset by peer" problems anybody?
References: <20110221104352 DOT GA17868 AT calimero DOT vinschen DOT de> <4D626D65 DOT 3060408 AT cornell DOT edu> <20110221140140 DOT GD17868 AT calimero DOT vinschen DOT de> <20110221142606 DOT GE17868 AT calimero DOT vinschen DOT de>
In-Reply-To: <20110221142606.GE17868@calimero.vinschen.de>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

On 2/21/2011 9:26 AM, Corinna Vinschen wrote:
> On Feb 21 15:01, Corinna Vinschen wrote:
>> On Feb 21 08:49, Ken Brown wrote:
>>> On 2/21/2011 5:43 AM, Corinna Vinschen wrote:
>>>> Hi listies,
>>>>
>>>>
>>>> over the weekend I came across a description of a Windows socket problem
>>>> which might affect some of us.  Fortunately I also came across the
>>>> potential solution.
>>>>
>>>> My question is, does anybody have a scenario in which he or she
>>>> encounters weird "Connection reset by peer" or "Software caused
>>>> connection abort" messages in Cygwin, possibly at the end of a
>>>> connection attempt?
>>>>
>>>> If so, I might have a solution for this problem.  The code exists, but
>>>> personally I don't have any such problem, so I can't test if it helps,
>>>> and I'm reluctant to apply this to Cygwin without need.
>>>>
>>>> Therefore I need a guinea pig for this change.  Any takers?
>>>
>>> I have one situation in which I often get a "Software caused
>>> connection abort" message.  I'll be glad to test your change.
>>
>> 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.

Ken

--
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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019