When I do it this way:
is_secure=False,
host="
region-a.geo-1.objects.hpcloudsvc.com/v1/17981992107691",
path="/"
I get this error message:
Traceback (most recent call last):
File "./boto_HP_cloud_testen.py", line 76, in <module>
rs = conn_s3.get_all_buckets()
File "/tmp/boto/s3/connection.py", line 360, in get_all_buckets
response = self.make_request('GET', headers=headers)
File "/tmp/boto/s3/connection.py", line 468, in make_request
override_num_retries=override_num_retries)
File "/tmp/boto/connection.py", line 910, in make_request
return self._mexe(http_request, sender, override_num_retries)
File "/tmp/boto/connection.py", line 872, in _mexe
raise e
socket.gaierror: [Errno -2] Name or service not known
When I do it this way:
is_secure=False,
host="
region-a.geo-1.objects.hpcloudsvc.com",
path="/v1/17981992107691"
It hangs.
When I do it this way:
is_secure=True,
host="
region-a.geo-1.objects.hpcloudsvc.com/v1/17981992107691",
path="/"
It also hangs.
When I do it this way:
is_secure=True,
host="
region-a.geo-1.objects.hpcloudsvc.com",
path="/v1/17981992107691"
I get this error message:
Traceback (most recent call last):
File "./boto_HP_cloud_testen.py", line 76, in <module>
rs = conn_s3.get_all_buckets()
File "/tmp/boto/s3/connection.py", line 367, in get_all_buckets
xml.sax.parseString(body, h)
File "/usr/lib/python2.7/xml/sax/__init__.py", line 49, in parseString
parser.parse(inpsrc)
File "/usr/lib/python2.7/xml/sax/expatreader.py", line 107, in parse
xmlreader.IncrementalParser.parse(self, source)
File "/usr/lib/python2.7/xml/sax/xmlreader.py", line 125, in parse
self.close()
File "/usr/lib/python2.7/xml/sax/expatreader.py", line 217, in close
self.feed("", isFinal = 1)
File "/usr/lib/python2.7/xml/sax/expatreader.py", line 211, in feed
self._err_handler.fatalError(exc)
File "/usr/lib/python2.7/xml/sax/handler.py", line 38, in fatalError
raise exception
xml.sax._exceptions.SAXParseException: <unknown>:1:0: no element found
I tried the last option without and with a bucket existing in the
region.The result is the same.
Best Regards
Christian
2013/5/15 Mitchell Garnaat <
mi...@garnaat.com>: