Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #79668

Re: Weird connection problem

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!goblin2!goblin.stu.neva.ru!newsfeed.xs4all.nl!newsfeed4a.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail
Return-Path <roland.hedberg@umu.se>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.011
X-Spam-Evidence '*H*': 0.98; '*S*': 0.00; 'one?': 0.05; 'received:169.254.1': 0.05; 'attribute': 0.07; 'oh,': 0.09; '\xe2\x80\x94': 0.09; 'cc:addr:python-list': 0.11; 'python': 0.11; 'errno': 0.16; 'httplib': 0.16; 'https': 0.16; 'url.': 0.16; 'sat,': 0.16; 'wrote:': 0.18; 'seems': 0.21; 'reset': 0.22; 'cc:addr:python.org': 0.22; 'error': 0.23; 'subject:problem': 0.24; 'cc:2**0': 0.24; 'header:In-Reply-To:1': 0.27; 'am,': 0.29; 'url:mailman': 0.30; 'gives': 0.31; 'page.': 0.31; 'requests': 0.31; '25,': 0.31; 'talked': 0.31; 'received:169.254': 0.32; 'url:python': 0.33; 'problem': 0.35; 'connection': 0.35; 'url:listinfo': 0.36; 'url:org': 0.36; 'received:169': 0.37; 'searching': 0.37; 'being': 0.38; 'url:mail': 0.40; 'browser': 0.61; 'further': 0.61; 'here:': 0.62; 'to:addr:gmail.com': 0.65; 'received:130': 0.73; 'special': 0.74; 'curl': 0.84; 'it\xe2\x80\x99s': 0.84; 'joel': 0.91
X-IronPort-AV E=Sophos;i="5.04,786,1406584800"; d="scan'208";a="43562901"
X-IPAS-Result AhUGAAesS1SC7wH2/2dsb2JhbABcg2JYgwbKFiAMhndUAhuBAwEBfIQCAQEBAQIBAQEBIBFFBQsCAQgYAgImAgICHwYLFRABAQQOBYgsAwkJBQi0FI4bDYY4AQEBAQEBAQECAQEBAQEBAQEBAQEXgSyNIoFpAQEcMweCdzaBHgWTDoNBhQGDfo1khl2DejsvgQ+BPAEBAQ
From Roland Hedberg <roland.hedberg@umu.se>
To Joel Goldstick <joel.goldstick@gmail.com>
Date Sat, 25 Oct 2014 16:01:08 +0200
Subject Re: Weird connection problem
Thread-Topic Weird connection problem
Thread-Index Ac/wXCCh/QSBvIeWSnKJWM1P8kiJ7A==
References <8622C927-6AAA-4EC9-81B7-E1C899986CD3@adm.umu.se> <CAPM-O+wAtVcwaKu0oh_FUuU4WSSHYebcpzdZZ12n-Y7pDDLcsA@mail.gmail.com>
In-Reply-To <CAPM-O+wAtVcwaKu0oh_FUuU4WSSHYebcpzdZZ12n-Y7pDDLcsA@mail.gmail.com>
Accept-Language en-US, sv-SE
Content-Language en-US
X-MS-Has-Attach
X-MS-TNEF-Correlator
acceptlanguage en-US, sv-SE
Content-Type text/plain; charset="utf-8"
Content-Transfer-Encoding base64
MIME-Version 1.0
Cc Python <python-list@python.org>
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.15165.1414245677.18130.python-list@python.org> (permalink)
Lines 20
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1414245677 news.xs4all.nl 2956 [2001:888:2000:d::a6]:48442
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:79668

Show key headers only | View raw


It’s a special HTTPS url and searching further it seems to be a SNI problem talked about here:

http://stackoverflow.com/questions/18578439/using-requests-with-tls-doesnt-give-sni-support

> 25 okt 2014 kl. 08:48 skrev Joel Goldstick <joel.goldstick@gmail.com>:
> 
> On Sat, Oct 25, 2014 at 9:40 AM, Roland Hedberg <roland.hedberg@umu.se> wrote:
>> When I try to access a URL using requests I always get:
>> socket.error: [Errno 104] Connection reset by peer
>> 
>> If I try to access the same URL using curl I get no error message instead I get the page.
>> The same result if I use a web browser like Safari.
>> 
>> But, if I use python httplib I also get Errno 104.
>> 
>> What gives ?
>> 
>> Oh, by the way it’s a HTTPS url.
>> 
>> — Roland
> 
> Is this for any url or a specific one?
>> --
>> https://mail.python.org/mailman/listinfo/python-list
> 
> 
> 
> -- 
> Joel Goldstick
> http://joelgoldstick.com
> -- 
> https://mail.python.org/mailman/listinfo/python-list

— Roland

”Being able to think like a child is an important attribute of being an adult” - Eddie Izzard

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Re: Weird connection problem Roland Hedberg <roland.hedberg@umu.se> - 2014-10-25 16:01 +0200

csiph-web