Ich habe folgenden Code geschrieben, um einen AWS S3 Eimer mit Boto zu erstellen: -AWS S3 Eimer Boto
from boto.s3.connection import S3Connection
conn = S3Connection()
bucket = conn.create_bucket('mybucket1')
Aber wenn ich diesen Code lief ich folgende Störung erhalten: -
Traceback (most recent call last):
File "prob1.py", line 3, in <module>
bucket = conn.create_bucket('mybucket1')
File "/usr/local/lib/python2.7/dist-packages/boto/s3/connection.py", line 619, in create_bucket
data=data)
File "/usr/local/lib/python2.7/dist-packages/boto/s3/connection.py", line 671, in make_request
retry_handler=retry_handler
File "/usr/local/lib/python2.7/dist-packages/boto/connection.py", line 1071, in make_request
retry_handler=retry_handler)
File "/usr/local/lib/python2.7/dist-packages/boto/connection.py", line 913, in _mexe
self.is_secure)
File "/usr/local/lib/python2.7/dist-packages/boto/connection.py", line 705, in get_http_connection
return self.new_http_connection(host, port, is_secure)
File "/usr/local/lib/python2.7/dist-packages/boto/connection.py", line 747, in new_http_connection
connection = self.proxy_ssl(host, is_secure and 443 or 80)
File "/usr/local/lib/python2.7/dist-packages/boto/connection.py", line 792, in proxy_ssl
int(self.proxy_port)), timeout)
File "/usr/lib/python2.7/socket.py", line 575, in create_connection
raise err
socket.timeout: timed out
I verwende keinen Proxy-Server. Helfen Sie mir, diesen Code zu debuggen. Vielen Dank im Voraus.
Ich habe bereits über zwei Netzwerk noch versuchen, ich bekomme den gleichen Fehler und Danke für die Hilfe. –