Weird connection problem
roland.hedberg at umu.se
Sat Oct 25 15:47:52 CEST 2014
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 at 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
”Being able to think like a child is an important attribute of being an adult” - Eddie Izzard
More information about the Python-list