boto/boto — Issue #521: Boto on Windows behind secure proxy not working
Author: ducu
Created: 2012-01-26 14:35:15+00:00
State: open

Guys,

The proxy parameters are loaded correctly but I still get following error. Any hint please? Thanks!

>>> boto.ec2.regions()
Traceback (most recent call last):
File "", line 1, in
File "C:\Python26\lib\site-packages\boto-2.1.1-py2.6.egg\boto\ec2\__init__.py", line 39, in regions
return c.get_all_regions()
File "C:\Python26\lib\site-packages\boto-2.1.1-py2.6.egg\boto\ec2\connection.py", line 2315, in get_all_regions
[('item', RegionInfo)], verb='POST')
File "C:\Python26\lib\site-packages\boto-2.1.1-py2.6.egg\boto\connection.py", line 862, in get_list
response = self.make_request(action, params, path, verb)
File "C:\Python26\lib\site-packages\boto-2.1.1-py2.6.egg\boto\connection.py", line 848, in make_request
return self._mexe(http_request)
File "C:\Python26\lib\site-packages\boto-2.1.1-py2.6.egg\boto\connection.py", line 721, in _mexe
connection = self.get_http_connection(request.host, self.is_secure)
File "C:\Python26\lib\site-packages\boto-2.1.1-py2.6.egg\boto\connection.py", line 596, in get_http_connection
return self.new_http_connection(host, is_secure)
File "C:\Python26\lib\site-packages\boto-2.1.1-py2.6.egg\boto\connection.py", line 608, in new_http_connection
connection = self.proxy_ssl()
File "C:\Python26\lib\site-packages\boto-2.1.1-py2.6.egg\boto\connection.py", line 682, in proxy_ssl
sslSock = httplib.ssl.SSLSocket(sock)
File "C:\Python26\lib\ssl.py", line 120, in __init__
self.do_handshake()
File "C:\Python26\lib\ssl.py", line 279, in do_handshake
self._sslobj.do_handshake()
ssl.SSLError: [Errno 8] _ssl.c:490: EOF occurred in violation of protocol