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


Groups > comp.lang.python > #79665

Weird connection problem

Path csiph.com!usenet.pasdenom.info!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.015
X-Spam-Evidence '*H*': 0.97; '*S*': 0.00; 'received:169.254.1': 0.05; 'attribute': 0.07; 'oh,': 0.09; '\xe2\x80\x94': 0.09; 'python': 0.11; 'errno': 0.16; 'httplib': 0.16; 'https': 0.16; 'url.': 0.16; 'reset': 0.22; 'error': 0.23; 'subject:problem': 0.24; 'gives': 0.31; 'page.': 0.31; 'requests': 0.31; 'received:169.254': 0.32; 'connection': 0.35; 'received:169': 0.37; 'being': 0.38; 'to:addr :python-list': 0.38; 'to:addr:python.org': 0.39; 'browser': 0.61; 'received:130': 0.73; 'curl': 0.84; 'it\xe2\x80\x99s': 0.84
X-IronPort-AV E=Sophos;i="5.04,786,1406584800"; d="scan'208";a="43562067"
X-IPAS-Result AkQGAEqnS1SC7wH2/2dsb2JhbABcg2KDXrpWj1uHUieBAwEBfIQJIxFXASICJgIEMBURAQSIVAWkX49ClF8BCwEfgSySWjaBHgWTDqEBg3o7gnoBAQE
From Roland Hedberg <roland.hedberg@umu.se>
To Python <python-list@python.org>
Date Sat, 25 Oct 2014 15:40:05 +0200
Subject Weird connection problem
Thread-Topic Weird connection problem
Thread-Index Ac/wWS+8R8HByk0BR6yarfnMypQmBg==
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
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.15162.1414244477.18130.python-list@python.org> (permalink)
Lines 9
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1414244477 news.xs4all.nl 2844 [2001:888:2000:d::a6]:37583
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:79665

Show key headers only | View raw


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

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


Thread

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

csiph-web