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, t...@probo.com
Providenza & Boekelheide, Inc.

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

Reply via email to