Weird connection problem
Roland Hedberg
roland.hedberg at umu.se
Sat Oct 25 09:40:05 EDT 2014
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
More information about the Python-list
mailing list