[python-win32] Read timeout with liburl2 on HTTPS connection with non-standard port

Claudiu Curca claudiu.curca at skype.net
Thu Nov 29 19:17:13 CET 2012


Hello Tim,

You must've hit the servers while they were rolling some update. It is working for me in browser and curl. Can you please try again?

Thanks!

-----Original Message-----
From: python-win32 [mailto:python-win32-bounces+claudiuc=microsoft.com at python.org] On Behalf Of Tim Roberts
Sent: joi, 29 noiembrie 2012 18:57
To: Python-Win32 List
Subject: Re: [python-win32] Read timeout with liburl2 on HTTPS connection with non-standard port

Claudiu Curca wrote:
>
> Hello all,
>
>  
>
> I am trying to find out the reason for some weird behavior on Windows.
>
>  
>
> We have the following code:
>
>  
>
> import urllib2
>
>  
>
> req = urllib2.Request("https://benotificationsmock.cloudapp.net:8443")
>
> resp = urllib2.urlopen(req, timeout = 5)
>
> print resp.code
>
>  
>
> This simple script should print "200". However, all I ever get when 
> running this on any Windows machine (for reference, mine is Windows 7, 
> Python 2.7.3 and OpenSSL 1.0.0c / 0.9.8x) is the following exception:
>

I see the same thing here.  However, I also get a timeout when I try that request from Firefox.  Forgive the silly question, but you're sure the port is supposed to be 8443?

--
Tim Roberts, timr at probo.com
Providenza & Boekelheide, Inc.

_______________________________________________
python-win32 mailing list
python-win32 at python.org
http://mail.python.org/mailman/listinfo/python-win32


More information about the python-win32 mailing list