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


Groups > comp.lang.python > #79666

Re: Weird connection problem

From Roland Hedberg <roland.hedberg@umu.se>
Date 2014-10-25 15:47 +0200
Subject Re: Weird connection problem
References <8622C927-6AAA-4EC9-81B7-E1C899986CD3@adm.umu.se>
Newsgroups comp.lang.python
Message-ID <mailman.15163.1414244874.18130.python-list@python.org> (permalink)

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