SSL and Proxy problem with urllib2 ?

Robert k.robert at gmx.de
Tue Apr 5 10:05:57 EDT 2005


using a proxy and https/SSL together I get the following SSL error :

  File "dscore.pyo", line 2257, in UrlOpenEx
  File "ClientCookie\_urllib2_support.pyo", line 572, in open
  File "ClientCookie\_urllib2_support.pyo", line 472, in http_response
  File "ClientCookie\_urllib2_support.pyo", line 589, in error
  File "urllib2.pyo", line 304, in _call_chain
  File "ClientCookie\_urllib2_support.pyo", line 181, in http_error_302
  File "ClientCookie\_urllib2_support.pyo", line 566, in open
  File "urllib2.pyo", line 324, in open
  File "urllib2.pyo", line 304, in _call_chain
  File "ClientCookie\_urllib2_support.pyo", line 807, in https_open
  File "ClientCookie\_urllib2_support.pyo", line 656, in do_open
  File "httplib.pyo", line 712, in endheaders
  File "httplib.pyo", line 597, in _send_output
  File "httplib.pyo", line 564, in send
  File "httplib.pyo", line 985, in connect
  File "socket.pyo", line 73, in ssl
sslerror: (1, 'error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol')

using python 2.3.5

any Ideas about the problem?

Robert



More information about the Python-list mailing list