urllib2 times out accessing SSL URL on OS X

M

Martin Aspeli

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,968
Messages
2,570,153
Members
46,699
Latest member
AnneRosen

Latest Threads

Top