Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- .boto file contents:
- [Credentials]
- aws_access_key_id = ANBVWD98KPLA1OM6S84I
- aws_secret_access_key = QFvXqyvCNx9tBPobZtcoG2I0jfblPFTtuN9+Nrzo
- boto trace
- Python 2.7.4 (default, Apr 19 2013, 18:28:01)
- [GCC 4.7.3] on linux2
- Type "help", "copyright", "credits" or "license" for more information.
- >>> import boto
- >>> import time
- >>> boto.set_stream_logger('boto')
- >>> s3 = boto.connect_s3(host='copernico-vm2.keplerdata.com')
- >>> bucket = s3.create_bucket('boto-demo-%s' %int(time.time()))
- 2013-08-09 19:03:21,901 boto [DEBUG]:path=/
- 2013-08-09 19:03:21,901 boto [DEBUG]:auth_path=/boto-demo-1376089401/
- 2013-08-09 19:03:21,902 boto [DEBUG]:Method: PUT
- 2013-08-09 19:03:21,902 boto [DEBUG]:Path: /
- 2013-08-09 19:03:21,902 boto [DEBUG]:Data:
- 2013-08-09 19:03:21,902 boto [DEBUG]:Headers: {}
- 2013-08-09 19:03:21,902 boto [DEBUG]:Host: boto-demo-1376089401.copernico-vm2.keplerdata.com
- 2013-08-09 19:03:21,902 boto [DEBUG]:establishing HTTPS connection: host=boto-demo-1376089401.copernico-vm2.keplerdata.com, kwargs={}
- 2013-08-09 19:03:21,902 boto [DEBUG]:Token: None
- 2013-08-09 19:03:21,902 boto [DEBUG]:StringToSign:
- PUT
- Fri, 09 Aug 2013 23:03:21 GMT
- /boto-demo-1376089401/
- 2013-08-09 19:03:21,906 boto [DEBUG]:encountered SSLError exception, reconnecting
- 2013-08-09 19:03:21,906 boto [DEBUG]:establishing HTTPS connection: host=boto-demo-1376089401.copernico-vm2.keplerdata.com, kwargs={}
- 2013-08-09 19:03:22,707 boto [DEBUG]:Token: None
- 2013-08-09 19:03:22,707 boto [DEBUG]:StringToSign:
- PUT
- Fri, 09 Aug 2013 23:03:21 GMT
- /boto-demo-1376089401/
- 2013-08-09 19:03:22,711 boto [DEBUG]:encountered SSLError exception, reconnecting
- 2013-08-09 19:03:22,711 boto [DEBUG]:establishing HTTPS connection: host=boto-demo-1376089401.copernico-vm2.keplerdata.com, kwargs={}
- 2013-08-09 19:03:23,076 boto [DEBUG]:Token: None
- 2013-08-09 19:03:23,076 boto [DEBUG]:StringToSign:
- PUT
- Fri, 09 Aug 2013 23:03:21 GMT
- /boto-demo-1376089401/
- 2013-08-09 19:03:23,079 boto [DEBUG]:encountered SSLError exception, reconnecting
- 2013-08-09 19:03:23,079 boto [DEBUG]:establishing HTTPS connection: host=boto-demo-1376089401.copernico-vm2.keplerdata.com, kwargs={}
- ^CTraceback (most recent call last):
- File "<stdin>", line 1, in <module>
- File "/usr/lib/python2.7/dist-packages/boto/s3/connection.py", line 414, in create_bucket
- data=data)
- File "/usr/lib/python2.7/dist-packages/boto/s3/connection.py", line 450, in make_request
- override_num_retries=override_num_retries)
- File "/usr/lib/python2.7/dist-packages/boto/connection.py", line 829, in make_request
- return self._mexe(http_request, sender, override_num_retries)
- File "/usr/lib/python2.7/dist-packages/boto/connection.py", line 785, in _mexe
- time.sleep(next_sleep)
- KeyboardInterrupt
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement