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


Groups > comp.lang.python > #79665 > unrolled thread

Weird connection problem

Started byRoland Hedberg <roland.hedberg@umu.se>
First post2014-10-25 15:40 +0200
Last post2014-10-25 15:40 +0200
Articles 1 — 1 participant

Back to article view | Back to comp.lang.python


Contents

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

#79665 — Weird connection problem

FromRoland Hedberg <roland.hedberg@umu.se>
Date2014-10-25 15:40 +0200
SubjectWeird connection problem
Message-ID<mailman.15162.1414244477.18130.python-list@python.org>
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

[toc] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web