Problem Statement
File "/usr/lib/python2.7/httplib.py", line 1263, in connect
server_hostname=server_hostname)
File "/usr/lib/python2.7/ssl.py", line 363, in wrap_socket
_context=self)
File "/usr/lib/python2.7/ssl.py", line 611, in __init__
self.do_handshake()
File "/usr/lib/python2.7/ssl.py", line 840, in do_handshake
self._sslobj.do_handshake()
error: [Errno 0] Error
Environement
- Debian 9
- s3cmd 2.0.1
Solution
The problem happens due to SSL issue. To make s3cmd work, we should invoke it without SSL (–nossl) as following.
s3cmd --no-ssl get --access_key=5DTA7J1ORIQ3E7LMV9YD
--secret_key=GIqPAez7zdHSC9r3HsMNOgJlHqHttvGi
--host=10.xx.xx.xxx:80 --host-bucket=10.xx.xx.xx:80
s3://TESTBUCKET/abc.tgz
No comments:
Post a Comment