Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Python > urllib2 times out accessing SSL URL on OS X

Reply
Thread Tools

urllib2 times out accessing SSL URL on OS X

 
 
Martin Aspeli
Guest
Posts: n/a
 
      04-21-2010
Hi,

I am trying to connect to an HTTPS URL using urllib2.urlopen() (in
fact, the Suds SOAP client, which internally uses urlopen) on Mac OS X
Snow Leopard, with Python 2.6 built from source.

The website has a certificate (for *.domain.com), issued by Go Daddy
Secure Certification Authority. It is definitely valid.

I can open the web page in Firefox and Safari (but not in Chrome,
interestingly). However, urllib2 just times out trying to access it,
with not obvious error message (I get URLError: <urlopen error The
read operation timed out>)

On SuSE linux (our server), it works just fine. I didn't have to do
any fiddling at the OS level.

I've exported the certificate from Firefox and tried to add it to the
System keychain in Keychain Access in OS X, and set it as trusted, but
nothing seems to work.

Any hints would be appreciated!

Martin
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem with: urllib2.build_opener(urllib2.HTTPCookieProcessor(cj)) Josef Cihal Python 0 09-05-2005 11:26 AM
urllib2 and SSL rbt Python 4 05-26-2005 06:13 PM
SSL via Proxy (URLLIB2) on Windows gives Unknown Protocol error? Benjamin Schollnick Python 0 04-20-2005 10:52 PM
SSL and Proxy problem with urllib2 ? Robert Python 0 04-05-2005 02:05 PM
urllib2 for HTTPS/SSL Kylotan Python 5 07-09-2003 02:22 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57