Weird connection problem

Roland Hedberg roland.hedberg at umu.se
Sat Oct 25 10:01:08 EDT 2014


It’s a special HTTPS url and searching further it seems to be a SNI problem talked about here:

http://stackoverflow.com/questions/18578439/using-requests-with-tls-doesnt-give-sni-support

> 25 okt 2014 kl. 08:48 skrev Joel Goldstick <joel.goldstick at gmail.com>:
> 
> On Sat, Oct 25, 2014 at 9:40 AM, Roland Hedberg <roland.hedberg at umu.se> wrote:
>> 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
> 
> Is this for any url or a specific one?
>> --
>> https://mail.python.org/mailman/listinfo/python-list
> 
> 
> 
> -- 
> Joel Goldstick
> http://joelgoldstick.com
> -- 
> 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



More information about the Python-list mailing list