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


Groups > comp.lang.python > #79665

Weird connection problem

From Roland Hedberg <roland.hedberg@umu.se>
Date 2014-10-25 15:40 +0200
Subject Weird connection problem
Newsgroups comp.lang.python
Message-ID <mailman.15162.1414244477.18130.python-list@python.org> (permalink)

Show all headers | 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