[Pkg-openssl-devel] Bug#665452: openssl > 1.0.0 breaks python-cloudfiles

Joar Wandborg joar at wandborg.se
Mon Apr 23 19:16:34 UTC 2012


I get the following errors in python

(mediagoblin)joar at lina:~/git/mediagoblin$ python
Python 2.7.2+ (default, Oct  4 2011, 20:06:09) 
[GCC 4.6.1] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import cloudfiles
>>> conn = cloudfiles.get_connection(username='blah', api_key='dah')
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/joar/git/mediagoblin/local/lib/python2.7/site-packages/cloudfiles/__init__.py", line 98, in get_connection
    return Connection(*args, **kwargs)
  File "/home/joar/git/mediagoblin/local/lib/python2.7/site-packages/cloudfiles/connection.py", line 86, in __init__
    self._authenticate()
  File "/home/joar/git/mediagoblin/local/lib/python2.7/site-packages/cloudfiles/connection.py", line 92, in _authenticate
    (url, self.cdn_url, self.token) = self.auth.authenticate()
  File "/home/joar/git/mediagoblin/local/lib/python2.7/site-packages/cloudfiles/authentication.py", line 67, in authenticate
    conn.request('GET', '/' + self.uri, headers=self.headers)
  File "/usr/lib/python2.7/httplib.py", line 958, in request
    self._send_request(method, url, body, headers)
  File "/usr/lib/python2.7/httplib.py", line 992, in _send_request
    self.endheaders(body)
  File "/usr/lib/python2.7/httplib.py", line 954, in endheaders
    self._send_output(message_body)
  File "/usr/lib/python2.7/httplib.py", line 814, in _send_output
    self.send(msg)
  File "/usr/lib/python2.7/httplib.py", line 776, in send
    self.connect()
  File "/usr/lib/python2.7/httplib.py", line 1161, in connect
    self.sock = ssl.wrap_socket(sock, self.key_file, self.cert_file)
  File "/usr/lib/python2.7/ssl.py", line 372, in wrap_socket
    ciphers=ciphers)
  File "/usr/lib/python2.7/ssl.py", line 134, in __init__
    self.do_handshake()
  File "/usr/lib/python2.7/ssl.py", line 296, in do_handshake
    self._sslobj.do_handshake()
ssl.SSLError: [Errno 1] _ssl.c:503: error:14077102:SSL routines:SSL23_GET_SERVER_HELLO:unsupported protocol
>>> cloudfiles.__version__
'1.7.9.3'





More information about the Pkg-openssl-devel mailing list