tanmayameher/httplib2

HTTPS request does not work in python2.5

Opened this issue · 0 comments

What steps will reproduce the problem?
Try connection to https site using restful client on a different https port say 
:4000 and  the following error occurs.
  File "/var/lib/python-support/python2.5/httplib2/__init__.py", line 580, in _conn_request
    conn.connect()
  File "/usr/lib/python2.5/httplib.py", line 1134, in connect
    sock.connect((self.host, self.port))
  File "<string>", line 1, in connect
socket.error: (111, 'Connection refused')


What is the expected output? What do you see instead?
The expected output is connect to the https site 

What version of the product are you using? On what operating system?
Debian 5 and python 2.5.2

Please provide any additional information below.
The same worked correctly for the python2.6 version, when i used the python 2.5 
version,it breaks

Original issue reported on code.google.com by sumithr...@gmail.com on 17 Feb 2012 at 12:58