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


Groups > comp.lang.python > #50230

Re: ssl handshake operation timed out on Python 3.3.2

From Antoine Pitrou <solipsis@pitrou.net>
Subject Re: ssl handshake operation timed out on Python 3.3.2
Date 2013-07-09 10:08 +0000
References <krecbi$g16$1@ger.gmane.org>
Newsgroups comp.lang.python
Message-ID <mailman.4441.1373364500.3114.python-list@python.org> (permalink)

Show all headers | View raw


Benedict Verheyen <benedict.verheyen <at> gmail.com> writes:
> 
> Hi,
> 
> for a project, I need to post data to some aspx pages.
> The aspx pages are hosted by another company.
> I develop on a virtual Debian Wheezy (Virtual box) running on Windows.
> I couldn't get the code to run either on Windows nor Linux.
> 
> On my testserver (also a Debian Linux Wheezy) however, the code works with 
> Python 2.7.3 but not with Python 3.3.2. Another difference is that the 
> testserver has a direct ip, so nothing in between the machine and the 
> internet. I checked the firewall, the traffic passes without a problem.
> 
> The error I get is that the SSL handshake operation timed out.
> I tried some code that specifies the ssl protocol but the results are the 
> same.

This may be a IIS-specific problem.
Take a look at
http://stackoverflow.com/questions/16365483/iis-7-5-mercurial-setup-ignoring-maxallowedcontentlength
http://bz.selenic.com/show_bug.cgi?id=3905
http://bugs.python.org/issue17948

Otherwise, dumping network traffic with Wireshark could give you some hints
at to what is different between the SSL handshakes in the two setups.

Regards

Antoine.

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Re: ssl handshake operation timed out on Python 3.3.2 Antoine Pitrou <solipsis@pitrou.net> - 2013-07-09 10:08 +0000

csiph-web