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


Groups > comp.lang.python > #79666

Re: Weird connection problem

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.009
X-Spam-Evidence '*H*': 0.98; '*S*': 0.00; 'exercise': 0.04; '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; '(ubuntu': 0.16; ':-/': 0.16; 'errno': 0.16; 'httplib': 0.16; 'https': 0.16; 'url.': 0.16; 'machine': 0.22; '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; 'url:mailman': 0.30; 'gives': 0.31; 'page.': 0.31; 'requests': 0.31; 'received:169.254': 0.32; 'linux': 0.33; 'url:python': 0.33; 'mac': 0.33; 'problem': 0.35; 'connection': 0.35; 'url:listinfo': 0.36; 'url:org': 0.36; 'received:169': 0.37; 'being': 0.38; 'url:mail': 0.40; 'browser': 0.61; 'more': 0.64; 'received:130': 0.73; 'saw': 0.77; 'behavior': 0.77; 'curl': 0.84; 'ever.': 0.84; 'it\xe2\x80\x99s': 0.84
X-IronPort-AV E=Sophos;i="5.04,786,1406584800"; d="scan'208";a="43562353"
X-IPAS-Result AkQIAGepS1SC7wH3/2dsb2JhbABcg2JNAQEJgwbKGxsKhnlUAhuBAwEBfIQDAQEBAgEBAQEgEUUFCwIBCBoCJgICAiULFRABAQQOBYg4CQUItBmUYAEBAQEBAQEBAQEBAQEBAQEBAQEBARMEgSyPCwEBTweCdzaBHgEEkw6DQZ1Ag3o7L4EPgTwBAQE
From Roland Hedberg <roland.hedberg@umu.se>
To Roland Hedberg <roland.hedberg@umu.se>
Date Sat, 25 Oct 2014 15:47:52 +0200
Subject Re: Weird connection problem
Thread-Topic Weird connection problem
Thread-Index Ac/wWkXYHWL0c62NQMm0O2sZX59cXg==
References <8622C927-6AAA-4EC9-81B7-E1C899986CD3@adm.umu.se>
In-Reply-To <8622C927-6AAA-4EC9-81B7-E1C899986CD3@adm.umu.se>
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.15163.1414244874.18130.python-list@python.org> (permalink)
Lines 18
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1414244874 news.xs4all.nl 2854 [2001:888:2000:d::a6]:40363
X-Complaints-To abuse@xs4all.nl
Path csiph.com!usenet.pasdenom.info!bete-des-vosges.org!feed.ac-versailles.fr!proxad.net!feeder1-2.proxad.net!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed.xs4all.nl!newsfeed4a.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail
Xref csiph.com comp.lang.python:79666

Show key headers only | View raw


Oh, by the way!
To make this more interesting :-/

I saw this behavior on a Linux machine (Ubuntu 14.04 LTS) using Python 2.7.6 if I do the same exercise 
on a Mac OS X machine also with Python 2.7.6 - no problem what so ever.

> 25 okt 2014 kl. 08:40 skrev Roland Hedberg <roland.hedberg@umu.se>:
> 
> 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
> 
> ”Being able to think like a child is an important attribute of being an adult” - Eddie Izzard
> 
> -- 
> 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 15:47 +0200

csiph-web