Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.fsmpi.rwth-aachen.de!newsfeed.kamp.net!newsfeed.kamp.net!87.79.20.101.MISMATCH!newsreader4.netcologne.de!news.netcologne.de!bcyclone02.am1.xlned.com!bcyclone02.am1.xlned.com!newsfeed.xs4all.nl!newsfeed2a.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.013 X-Spam-Evidence: '*H*': 0.97; '*S*': 0.00; 'one?': 0.05; '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; '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; 'message- id:@mail.gmail.com': 0.30; 'url:mailman': 0.30; 'gives': 0.31; 'page.': 0.31; 'requests': 0.31; '25,': 0.31; 'url:python': 0.33; 'connection': 0.35; 'received:google.com': 0.35; 'url:listinfo': 0.36; 'url:org': 0.36; 'url:mail': 0.40; 'browser': 0.61; 'curl': 0.84; 'it\xe2\x80\x99s': 0.84; 'joel': 0.91; 'to:none': 0.92 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:cc :content-type:content-transfer-encoding; bh=ucNZ862CtFaOJ3s5GOQPuwqO+6FxUoS1koWhGMHPOQ0=; b=xufMEX4wvi0VLEjqDkv5OCjGqS/yGe6UGU1KEe2cUcYHK/R8FMGDYM3Y5DGaFXlVL0 ilHVRMF14K5RChAfXRvFrgLswQGDtTYyC16m82pbtFWu6eIbyu6AJQenXNF5SYQibww6 uvxl/sWvll2x28O8zn3j+nvyz6yM2BaCAW9z5l+e2h0h0JwiYCTYS0Aioh4w+o8WRpNB 1QIciPy0I9RH2laUCjczNUdGsPsm1rQ1iiEqwn5x+dRq/CxvUepFQ+Xt+iGyWaKx0+rU iGd1LtOnxklolHMyqqkZA1655J0nH7eUs5UGHD/lT0cumKMT7mSPVD3b4D/B/qmfcKgu 8rOw== MIME-Version: 1.0 X-Received: by 10.229.28.196 with SMTP id n4mr15935932qcc.14.1414244909572; Sat, 25 Oct 2014 06:48:29 -0700 (PDT) In-Reply-To: <8622C927-6AAA-4EC9-81B7-E1C899986CD3@adm.umu.se> References: <8622C927-6AAA-4EC9-81B7-E1C899986CD3@adm.umu.se> Date: Sat, 25 Oct 2014 09:48:29 -0400 Subject: Re: Weird connection problem From: Joel Goldstick Cc: Python Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 26 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1414244917 news.xs4all.nl 2882 [2001:888:2000:d::a6]:41193 X-Complaints-To: abuse@xs4all.nl X-Received-Bytes: 3720 X-Received-Body-CRC: 1871213056 Xref: csiph.com comp.lang.python:79667 On Sat, Oct 25, 2014 at 9:40 AM, Roland Hedberg wro= te: > 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=E2=80=99s a HTTPS url. > > =E2=80=94 Roland Is this for any url or a specific one? > -- > https://mail.python.org/mailman/listinfo/python-list --=20 Joel Goldstick http://joelgoldstick.com