Path: csiph.com!usenet.pasdenom.info!gegeweb.org!de-l.enfer-du-nord.net!feeder2.enfer-du-nord.net!feeds.phibee-telecom.net!newsfeed.xs4all.nl!newsfeed1.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.004 X-Spam-Evidence: '*H*': 0.99; '*S*': 0.00; 'subject:Python': 0.06; 'pages.': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'python': 0.11; 'project,': 0.12; 'windows': 0.15; '(also': 0.16; '2.7.3': 0.16; 'from:addr:pitrou.net': 0.16; 'from:addr:solipsis': 0.16; 'from:name:antoine pitrou': 0.16; 'message-id:@post.gmane.org': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'url:show_bug': 0.16; 'machine': 0.22; 'otherwise,': 0.22; 'header:User-Agent:1': 0.23; 'error': 0.23; 'passes': 0.24; 'specifies': 0.24; 'ssl': 0.24; 'post': 0.26; 'header:X -Complaints-To:1': 0.27; 'tried': 0.27; 'url:bugs': 0.29; 'code': 0.31; 'linux.': 0.31; 'writes:': 0.31; 'checked': 0.32; 'run': 0.32; 'another': 0.32; 'linux': 0.33; 'url:python': 0.33; 'running': 0.33; 'could': 0.34; 'problem.': 0.35; 'but': 0.35; 'charset:us-ascii': 0.36; 'hi,': 0.36; 'url:org': 0.36; 'virtual': 0.37; 'two': 0.37; 'same.': 0.38; 'to:addr:python-list': 0.38; "couldn't": 0.39; 'hosted': 0.39; 'to:addr:python.org': 0.39; 'either': 0.39; 'received:org': 0.40; 'traffic': 0.61; 'different': 0.65; 'direct': 0.67; 'between': 0.67; 'hints': 0.68; 'results': 0.69; 'antoine.': 0.84; 'box)': 0.91 X-Injected-Via-Gmane: http://gmane.org/ To: python-list@python.org From: Antoine Pitrou Subject: Re: ssl handshake operation timed out on Python 3.3.2 Date: Tue, 9 Jul 2013 10:08:01 +0000 (UTC) References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Gmane-NNTP-Posting-Host: sea.gmane.org User-Agent: Loom/3.14 (http://gmane.org/) X-Loom-IP: 88.163.232.20 (Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:22.0) Gecko/20100101 Firefox/22.0) X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 32 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1373364500 news.xs4all.nl 15983 [2001:888:2000:d::a6]:44567 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:50230 Benedict Verheyen 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.