M2Crypto hangs on this URL

Martin P. Hellwig martin.hellwig at dcuktec.org
Mon Jul 27 17:12:23 EDT 2009


John Nagle wrote:
> John Nagle wrote:
>> John Nagle wrote:
>>> There's something strange about this URL:
>>>
>>> "https://sagar310.pontins.com/sraep/"
>>>
>>> It hangs Firefox 2; there's no short timeout, the web page just gets
>>> stuck in initial load for about ten minutes.  Then
>>> "The connection to sagar310.pontins.com was interrupted while the 
>>> page was loading."
>>>
>>> It hangs M2Crypto 0.17 on both Linux and Windows, for at least 4 hours.
>>
>>     Correction: Linux is still hung at 5 hours, but Windows timed out
>> after about 15 minutes.
>>
> Further update: M2Crypto on Windows now hung on that URL for hours.  
> Last time,
> the connection apparently failed and the program got unstuck.
> 
> It's waiting for something to happen inside SSL connection setup.
> 
>                 John Nagle

It looks to me like the SSL handshake is not done properly from the 
server side.

Compare the output of:
openssl s_client -host sagar310.pontins.com -port 443 -debug -showcerts -msg

With (for example):
openssl s_client -host www.google.com -port 443 -debug -showcerts -msg

-- 
MPH
http://blog.dcuktec.com
'If consumed, best digested with added seasoning to own preference.'



More information about the Python-list mailing list