Aws-cli: aws s3ls-バケットをlsできません

作成日 2015年04月01日  ·  3コメント  ·  ソース: aws/aws-cli

[ jaffer @ data-aw-prod〜 ] $ aws --version
aws-cli / 1.7.18 Python / 2.6.9 Linux / 3.14.35-28.38.amzn1.x86_64
[ jaffer @ data-aw-prod〜 ] $

[ jaffer @ data-aw-prod〜 ] $ aws s3 ls --debug
2015-04-01 11:56:42,132-MainThread-awscli.clidriver-DEBUG-CLIバージョン:aws-cli / 1.7.18 Python / 2.6.9 Linux / 3.14.35-28.38.amzn1.x86_64、botocoreバージョン:0.99 .0
2015-04-01 11:56:42,132-MainThread-awscli.clidriver-DEBUG-CLIに入力された引数:['s3'、 'ls'、 '-debug']
2015-04-01 11:56:42,132-MainThread-botocore.hooks-DEBUG-イベントセッション-初期化:ハンドラーの呼び出し
2015-04-01 11:56:42,132-MainThread-botocore.hooks-DEBUG-イベントセッション-初期化:ハンドラーの呼び出し
2015-04-01 11:56:42,133-MainThread-botocore.hooks-DEBUG-イベントbuilding-command-table.s3:ハンドラーの呼び出し
2015-04-01 11:56:42,134-MainThread-botocore.hooks-DEBUG-イベントload-cli-arg.custom.s3.anonymous:ハンドラーの呼び出し
2015-04-01 11:56:42,134-MainThread-botocore.hooks-DEBUG-イベントbuilding-command-table.ls:ハンドラーの呼び出し
2015-04-01 11:56:42,135-MainThread-botocore.hooks-DEBUG-イベントload-cli-arg.custom.ls.paths:呼び出しハンドラー
2015-04-01 11:56:42,135-MainThread-botocore.hooks-DEBUG-イベントload-cli-arg.custom.ls.summarize:ハンドラーの呼び出し
2015-04-01 11:56:42,135-MainThread-botocore.hooks-DEBUG-イベントプロセス-cli-arg.custom.ls:ハンドラーの呼び出し
2015-04-01 11:56:42,135-MainThread-awscli.argprocess-DEBUG-検出された構造:スカラー
2015-04-01 11:56:42,135-MainThread-botocore.hooks-DEBUG-イベントload-cli-arg.custom.ls.anonymous:ハンドラーの呼び出し
2015-04-01 11:56:42,135-MainThread-botocore.hooks-DEBUG-イベントload-cli-arg.custom.ls.human-読み取り可能:ハンドラーの呼び出し
2015-04-01 11:56:42,135-MainThread-botocore.hooks-DEBUG-イベントプロセス-cli-arg.custom.ls:ハンドラーの呼び出し
2015-04-01 11:56:42,136-MainThread-awscli.argprocess-DEBUG-検出された構造:スカラー
2015-04-01 11:56:42,136-MainThread-botocore.hooks-DEBUG-イベントload-cli-arg.custom.ls.page-size:ハンドラーの呼び出し
2015-04-01 11:56:42,136-MainThread-botocore.credentials-DEBUG-次の方法でクレデンシャルを検索:env
2015-04-01 11:56:42,136-MainThread-botocore.credentials-INFO-環境変数でクレデンシャルが見つかりました。
2015-04-01 11:56:42,215-MainThread-botocore.client-DEBUG-サービスの再試行ハンドラーの登録:s3
2015-04-01 11:56:42,215-MainThread-botocore.client-DEBUG-サービスの再試行ハンドラーの登録:s3
2015-04-01 11:56:42,221-MainThread-botocore.hooks-DEBUG-イベントbefore-call.s3.ListBuckets:呼び出しハンドラ
2015-04-01 11:56:42,221-MainThread-botocore.endpoint-DEBUG-リクエストを行う(verify_ssl = True)with params:{'query_string': ''、 'headers':{}、 'url_path': '/'、 'body': ''、 'method':u'GET '}
2015-04-01 11:56:42,221-MainThread-botocore.hooks-DEBUG-イベントリクエスト-created.s3.ListBuckets:ハンドラーの呼び出し>>
2015-04-01 11:56:42,221-MainThread-botocore.hooks-DEBUG-イベントbefore-sign.s3.ListBuckets:呼び出しハンドラー
2015-04-01 11:56:42,222-MainThread-botocore.auth-DEBUG-v4authを使用して署名を計算しています。
2015-04-01 11:56:42,222-MainThread-botocore.auth-DEBUG-CanonicalRequest:
得る
/

ホスト:s3.us-east.amazonaws.com
user-agent:aws-cli / 1.7.18 Python / 2.6.9 Linux / 3.14.35-28.38.amzn1.x86_64
x-amz-content-sha256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
x-amz-日付:20150401T155642Z

ホスト;ユーザーエージェント; x-amz-content-sha256; x-amz-date
e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
2015-04-01 11:56:42,222-MainThread-botocore.auth-DEBUG-StringToSign:
AWS4-HMAC-SHA256
20150401T155642Z
20150401 / us-east / s3 / aws4_request
e0002ea5e32486a5cd7a2014cf22368b82951adb37d010bd31ffd4ec5a5c3b5b
2015-04-01 11:56:42,222-MainThread-botocore.auth-DEBUG-署名:
183a8b6e48fe85f9713139c4763e1af3ba68c8b5aa38fdb03d0fe38d65e8ee2c
2015-04-01 11:56:42,228-MainThread-botocore.endpoint-DEBUG-httpリクエストの送信: 2015-04-01 11:56:42,229-MainThread-botocore.vendored.requests.packages.urllib3.connectionpool-INFO-新しいHTTPS接続を開始しています(1):s3.us-east.amazonaws.com
2015-04-01 11:56:42,231-MainThread-botocore.hooks-DEBUG-イベントのニーズ-retry.s3.ListBuckets:ハンドラーの呼び出し
2015-04-01 11:56:42,231-MainThread-botocore.retryhandler-DEBUG-再試行が必要、再試行可能な例外がキャッチされました:エンドポイントURLに接続できませんでした: " https://s3.us-east.amazonaws.com/ "
トレースバック(最後の最後の呼び出し):
_should_retryのファイル "/usr/local/lib/python2.6/site-packages/botocore/retryhandler.py"、行265
self._checker(attempt_number、response、catched_exception)を返します
ファイル "/usr/local/lib/python2.6/site-packages/botocore/retryhandler.py"、行313、__ call__
catched_exception)
ファイル "/usr/local/lib/python2.6/site-packages/botocore/retryhandler.py"、222行目、呼び出し中
self._check_caught_exception(attempt_number、catched_exception)を返します
_check_caught_exceptionのファイル "/usr/local/lib/python2.6/site-packages/botocore/retryhandler.py"、行355
catched_exceptionを発生させます
EndpointConnectionError:エンドポイントURLに接続できませんでした: " https://s3.us-east.amazonaws.com/ "
2015-04-01 11:56:42,232-MainThread-botocore.retryhandler-DEBUG-再試行が必要、アクション:0.322988676199
2015-04-01 11:56:42,232-MainThread-botocore.endpoint-DEBUG-再試行するための応答を受信し、0.322988676199秒間スリープしました
2015-04-01 11:56:42,555-MainThread-botocore.hooks-DEBUG-イベントリクエスト-created.s3.ListBuckets:ハンドラーの呼び出し>>
2015-04-01 11:56:42,556-MainThread-botocore.hooks-DEBUG-イベントbefore-sign.s3.ListBuckets:ハンドラーの呼び出し
2015-04-01 11:56:42,556-MainThread-botocore.auth-DEBUG-v4authを使用して署名を計算しています。
2015-04-01 11:56:42,556-MainThread-botocore.auth-DEBUG-CanonicalRequest:
得る
/

ホスト:s3.us-east.amazonaws.com
user-agent:aws-cli / 1.7.18 Python / 2.6.9 Linux / 3.14.35-28.38.amzn1.x86_64
x-amz-content-sha256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
x-amz-日付:20150401T155642Z

ホスト;ユーザーエージェント; x-amz-content-sha256; x-amz-date
e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
2015-04-01 11:56:42,557-MainThread-botocore.auth-DEBUG-StringToSign:
AWS4-HMAC-SHA256
20150401T155642Z
20150401 / us-east / s3 / aws4_request
e0002ea5e32486a5cd7a2014cf22368b82951adb37d010bd31ffd4ec5a5c3b5b
2015-04-01 11:56:42,557-MainThread-botocore.auth-DEBUG-署名:
183a8b6e48fe85f9713139c4763e1af3ba68c8b5aa38fdb03d0fe38d65e8ee2c
2015-04-01 11:56:42,557-MainThread-botocore.endpoint-DEBUG-httpリクエストの送信: 2015-04-01 11:56:42,558-MainThread-botocore.vendored.requests.packages.urllib3.connectionpool-情報-新しいHTTPS接続を開始しています(2):s3.us-east.amazonaws.com
2015-04-01 11:56:42,559-MainThread-botocore.hooks-DEBUG-イベントのニーズ-retry.s3.ListBuckets:ハンドラーの呼び出し
2015-04-01 11:56:42,559-MainThread-botocore.retryhandler-DEBUG-再試行が必要、再試行可能な例外がキャッチされました:エンドポイントURLに接続できませんでした: " https://s3.us-east.amazonaws.com/ "
トレースバック(最後の最後の呼び出し):
_should_retryのファイル "/usr/local/lib/python2.6/site-packages/botocore/retryhandler.py"、行265
self._checker(attempt_number、response、catched_exception)を返します
ファイル "/usr/local/lib/python2.6/site-packages/botocore/retryhandler.py"、行313、__ call__
catched_exception)
ファイル "/usr/local/lib/python2.6/site-packages/botocore/retryhandler.py"、222行目、呼び出し中
self._check_caught_exception(attempt_number、catched_exception)を返します
_check_caught_exceptionのファイル "/usr/local/lib/python2.6/site-packages/botocore/retryhandler.py"、行355
catched_exceptionを発生させます
EndpointConnectionError:エンドポイントURLに接続できませんでした: " https://s3.us-east.amazonaws.com/ "
2015-04-01 11:56:42,559-MainThread-botocore.retryhandler-DEBUG-再試行が必要、アクション:0.75575215895
2015-04-01 11:56:42,559-MainThread-botocore.endpoint-DEBUG-再試行するための応答を受信し、0.75575215895秒間スリープしました
2015-04-01 11:56:43,316-MainThread-botocore.hooks-DEBUG-イベントリクエスト-created.s3.ListBuckets:ハンドラーの呼び出し>>
2015-04-01 11:56:43,317-MainThread-botocore.hooks-DEBUG-イベントbefore-sign.s3.ListBuckets:ハンドラーの呼び出し
2015-04-01 11:56:43,317-MainThread-botocore.auth-DEBUG-v4認証を使用して署名を計算しています。
2015-04-01 11:56:43,317-MainThread-botocore.auth-DEBUG-CanonicalRequest:
得る
/

ホスト:s3.us-east.amazonaws.com
user-agent:aws-cli / 1.7.18 Python / 2.6.9 Linux / 3.14.35-28.38.amzn1.x86_64
x-amz-content-sha256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
x-amz-日付:20150401T155643Z

ホスト;ユーザーエージェント; x-amz-content-sha256; x-amz-date
e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
2015-04-01 11:56:43,317-MainThread-botocore.auth-DEBUG-StringToSign:
AWS4-HMAC-SHA256
20150401T155643Z
20150401 / us-east / s3 / aws4_request
2b218ca18cc6f59827d9cc6ccc4c222ed77e7b2b9e1fd6aa4242e406e7e404ec
2015-04-01 11:56:43,318-MainThread-botocore.auth-DEBUG-署名:
1e99b5f508a30bfa547607d915aec56f9667e6c6db66dc65643202822314c377
2015-04-01 11:56:43,318-MainThread-botocore.endpoint-DEBUG-httpリクエストの送信: 2015-04-01 11:56:43,319-MainThread-botocore.vendored.requests.packages.urllib3.connectionpool-情報-新しいHTTPS接続を開始しています(3):s3.us-east.amazonaws.com
2015-04-01 11:56:43,320-MainThread-botocore.hooks-DEBUG-イベントのニーズ-retry.s3.ListBuckets:ハンドラーの呼び出し
2015-04-01 11:56:43,320-MainThread-botocore.retryhandler-DEBUG-再試行が必要、再試行可能な例外がキャッチされました:エンドポイントURLに接続できませんでした: " https://s3.us-east.amazonaws.com/ "
トレースバック(最後の最後の呼び出し):
_should_retryのファイル "/usr/local/lib/python2.6/site-packages/botocore/retryhandler.py"、行265
self._checker(attempt_number、response、catched_exception)を返します
ファイル "/usr/local/lib/python2.6/site-packages/botocore/retryhandler.py"、行313、__ call__
catched_exception)
ファイル "/usr/local/lib/python2.6/site-packages/botocore/retryhandler.py"、222行目、呼び出し中
self._check_caught_exception(attempt_number、catched_exception)を返します
_check_caught_exceptionのファイル "/usr/local/lib/python2.6/site-packages/botocore/retryhandler.py"、行355
catched_exceptionを発生させます
EndpointConnectionError:エンドポイントURLに接続できませんでした: " https://s3.us-east.amazonaws.com/ "
2015-04-01 11:56:43,320-MainThread-botocore.retryhandler-DEBUG-再試行が必要、アクション:2.18930448654
2015-04-01 11:56:43,320-MainThread-botocore.endpoint-DEBUG-再試行するための応答を受信し、2.18930448654秒間スリープしました
2015-04-01 11:56:45,512-MainThread-botocore.hooks-DEBUG-イベントリクエスト-created.s3.ListBuckets:ハンドラーの呼び出し>>
2015-04-01 11:56:45,512-MainThread-botocore.hooks-DEBUG-イベントbefore-sign.s3.ListBuckets:ハンドラーの呼び出し
2015-04-01 11:56:45,513-MainThread-botocore.auth-DEBUG-v4authを使用して署名を計算しています。
2015-04-01 11:56:45,513-MainThread-botocore.auth-DEBUG-CanonicalRequest:
得る
/

ホスト:s3.us-east.amazonaws.com
user-agent:aws-cli / 1.7.18 Python / 2.6.9 Linux / 3.14.35-28.38.amzn1.x86_64
x-amz-content-sha256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
x-amz-日付:20150401T155645Z

ホスト;ユーザーエージェント; x-amz-content-sha256; x-amz-date
e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
2015-04-01 11:56:45,513-MainThread-botocore.auth-DEBUG-StringToSign:
AWS4-HMAC-SHA256
20150401T155645Z
20150401 / us-east / s3 / aws4_request
48ccbdbf0fd162f787956abaeec2bcc73a92b5cd03e23bbfcf20f9721cd629cf
2015-04-01 11:56:45,513-MainThread-botocore.auth-DEBUG-署名:
715db569aa580b92850617e41db4d78d4a8eb5ccc51018bf3500272d98bb1502
2015-04-01 11:56:45,513-MainThread-botocore.endpoint-DEBUG-httpリクエストの送信: 2015-04-01 11:56:45,514-MainThread-botocore.vendored.requests.packages.urllib3.connectionpool-情報-新しいHTTPS接続を開始しています(4):s3.us-east.amazonaws.com
2015-04-01 11:56:45,515-MainThread-botocore.hooks-DEBUG-イベントのニーズ-retry.s3.ListBuckets:ハンドラーの呼び出し
2015-04-01 11:56:45,515-MainThread-botocore.retryhandler-DEBUG-再試行が必要、再試行可能な例外がキャッチされました:エンドポイントURLに接続できませんでした: " https://s3.us-east.amazonaws.com/ "
トレースバック(最後の最後の呼び出し):
_should_retryのファイル "/usr/local/lib/python2.6/site-packages/botocore/retryhandler.py"、行265
self._checker(attempt_number、response、catched_exception)を返します
ファイル "/usr/local/lib/python2.6/site-packages/botocore/retryhandler.py"、行313、__ call__
catched_exception)
ファイル "/usr/local/lib/python2.6/site-packages/botocore/retryhandler.py"、222行目、呼び出し中
self._check_caught_exception(attempt_number、catched_exception)を返します
_check_caught_exceptionのファイル "/usr/local/lib/python2.6/site-packages/botocore/retryhandler.py"、行355
catched_exceptionを発生させます
EndpointConnectionError:エンドポイントURLに接続できませんでした: " https://s3.us-east.amazonaws.com/ "
2015-04-01 11:56:45,515-MainThread-botocore.retryhandler-DEBUG-再試行が必要、アクション:0.576300993129
2015-04-01 11:56:45,515-MainThread-botocore.endpoint-DEBUG-再試行するための応答を受信し、0.576300993129秒間スリープしました
2015-04-01 11:56:46,092-MainThread-botocore.hooks-DEBUG-イベントリクエスト-created.s3.ListBuckets:ハンドラーの呼び出し>>
2015-04-01 11:56:46,092-MainThread-botocore.hooks-DEBUG-イベントbefore-sign.s3.ListBuckets:ハンドラーの呼び出し
2015-04-01 11:56:46,093-MainThread-botocore.auth-DEBUG-v4認証を使用して署名を計算しています。
2015-04-01 11:56:46,093-MainThread-botocore.auth-DEBUG-CanonicalRequest:
得る
/

ホスト:s3.us-east.amazonaws.com
user-agent:aws-cli / 1.7.18 Python / 2.6.9 Linux / 3.14.35-28.38.amzn1.x86_64
x-amz-content-sha256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
x-amz-日付:20150401T155646Z

ホスト;ユーザーエージェント; x-amz-content-sha256; x-amz-date
e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
2015-04-01 11:56:46,093-MainThread-botocore.auth-DEBUG-StringToSign:
AWS4-HMAC-SHA256
20150401T155646Z
20150401 / us-east / s3 / aws4_request
18c5d85e0996b1ed77b2e06c0cc78b476cdb1a25d05a13f665c82a9066d61ef4
2015-04-01 11:56:46,093-MainThread-botocore.auth-DEBUG-署名:
d6c4ab22c43a2765e219ebe83cdebbbdae61c6b300445fec73f67ff0bc526507
2015-04-01 11:56:46,094-MainThread-botocore.endpoint-DEBUG-httpリクエストの送信: 2015-04-01 11:56:46,094-MainThread-botocore.vendored.requests.packages.urllib3.connectionpool-情報-新しいHTTPS接続を開始しています(5):s3.us-east.amazonaws.com
2015-04-01 11:56:46,095-MainThread-botocore.hooks-DEBUG-イベントのニーズ-retry.s3.ListBuckets:ハンドラーの呼び出し
2015-04-01 11:56:46,095-MainThread-awscli.clidriver-DEBUG-main()で例外がキャッチされました
トレースバック(最後の最後の呼び出し):
ファイル "/usr/local/lib/python2.6/site-packages/awscli/clidriver.py"、行183、メイン
command_tableparsed_args.commandを返します
ファイル "/usr/local/lib/python2.6/site-packages/awscli/customizations/commands.py"、行190、呼び出し中
parsed_globals)
ファイル "/usr/local/lib/python2.6/site-packages/awscli/customizations/commands.py"、行187、呼び出し中
self._run_main(parsed_args、parsed_globals)を返します
_run_mainのファイル "/usr/local/lib/python2.6/site-packages/awscli/customizations/s3/subcommands.py"、行324
self._list_all_buckets()
_list_all_bucketsのファイル "/usr/local/lib/python2.6/site-packages/awscli/customizations/s3/subcommands.py"、行383
response_data = self.client.list_buckets()
_api_callのファイル "/usr/local/lib/python2.6/site-packages/botocore/client.py"、行187
self._make_api_call(operation_name、kwargs)を返します
_make_api_callのファイル "/usr/local/lib/python2.6/site-packages/botocore/client.py"、行231
operation_model、request_dict)
make_requestのファイル "/usr/local/lib/python2.6/site-packages/botocore/endpoint.py"、行173
self._send_request(request_dict、operation_model)を返します
_send_requestのファイル "/usr/local/lib/python2.6/site-packages/botocore/endpoint.py"、行203
success_response、exception):
_needs_retryのファイル "/usr/local/lib/python2.6/site-packages/botocore/endpoint.py"、行267
catched_exception = catched_exception)
ファイル "/usr/local/lib/python2.6/site-packages/botocore/hooks.py"、行226、emit
self._emit(event_name、kwargs)を返します
_emit内のファイル "/usr/local/lib/python2.6/site-packages/botocore/hooks.py"、行209
応答=ハンドラー( kwargs)__call__のファイル "/usr/local/lib/python2.6/site-packages/botocore/retryhandler.py"、行183self._checker(attempts、response、catched_exception)の場合:ファイル "/usr/local/lib/python2.6/site-packages/botocore/retryhandler.py"、行250、__ call__catched_exception)ファイル "/usr/local/lib/python2.6/site-packages/botocore/retryhandler.py"、273行目、_should_retryself._checker(attempt_number、response、catched_exception)を返しますファイル "/usr/local/lib/python2.6/site-packages/botocore/retryhandler.py"、行313、__ call__catched_exception)ファイル "/usr/local/lib/python2.6/site-packages/botocore/retryhandler.py"、222行目、** call
self._check_caught_exception(attempt_number、catched_exception)を返します
_check_caught_exceptionのファイル "/usr/local/lib/python2.6/site-packages/botocore/retryhandler.py"、行355
catched_exceptionを発生させます
EndpointConnectionError:エンドポイントURLに接続できませんでした: " https://s3.us-east.amazonaws.com/ "
2015-04-01 11:56:46,096-MainThread-awscli.clidriver-DEBUG-rc255で終了

エンドポイントURLに接続できませんでした: " https://s3.us-east.amazonaws.com/ "

https://us-east-1.s3.amazonaws.com/の代わりにhttps://s3.us-east.amazonaws.com/を使用していることについてのアイデア

最も参考になるコメント

プロのヒント:おそらく〜/ .aws / configから来ています。 このファイルを一時的に移動して、再試行してください。 これは私を助けました。

全てのコメント3件

[ jaffer @ data-aw-prod〜 ] $ aws s3 ls --debug --endpoint-url https://us-east-1.s3.amazonaws.com/
2015-04-02 10:00:53,814-MainThread-awscli.clidriver-DEBUG-CLIバージョン:aws-cli / 1.7.18 Python / 2.6.9 Linux / 3.14.35-28.38.amzn1.x86_64、botocoreバージョン:0.99 .0
2015-04-02 10:00:53,814-MainThread-awscli.clidriver-DEBUG-CLIに入力された引数:['s3'、 'ls'、 '-debug'、 '-endpoint-url'、 ' https: //us-east-1.s3.amazonaws.com/ ']
2015-04-02 10:00:53,814-MainThread-botocore.hooks-DEBUG-イベントセッション-初期化:ハンドラーの呼び出し
2015-04-02 10:00:53,815-MainThread-botocore.hooks-DEBUG-イベントセッション-初期化:ハンドラーの呼び出し
2015-04-02 10:00:53,815-MainThread-botocore.hooks-DEBUG-イベントbuilding-command-table.s3:ハンドラーの呼び出し
2015-04-02 10:00:53,816-MainThread-botocore.hooks-DEBUG-イベントload-cli-arg.custom.s3.anonymous:ハンドラーの呼び出し
2015-04-02 10:00:53,816-MainThread-botocore.hooks-DEBUG-イベントbuilding-command-table.ls:ハンドラーの呼び出し
2015-04-02 10:00:53,817-MainThread-botocore.hooks-DEBUG-イベントload-cli-arg.custom.ls.paths:呼び出しハンドラー
2015-04-02 10:00:53,817-MainThread-botocore.hooks-DEBUG-イベントload-cli-arg.custom.ls.summarize:ハンドラーの呼び出し
2015-04-02 10:00:53,817-MainThread-botocore.hooks-DEBUG-イベントプロセス-cli-arg.custom.ls:ハンドラーの呼び出し
2015-04-02 10:00:53,817-MainThread-awscli.argprocess-DEBUG-検出された構造:スカラー
2015-04-02 10:00:53,817-MainThread-botocore.hooks-DEBUG-イベントload-cli-arg.custom.ls.anonymous:呼び出しハンドラー
2015-04-02 10:00:53,817-MainThread-botocore.hooks-DEBUG-イベントload-cli-arg.custom.ls.human-読み取り可能:ハンドラーの呼び出し
2015-04-02 10:00:53,817-MainThread-botocore.hooks-DEBUG-イベントプロセス-cli-arg.custom.ls:ハンドラーの呼び出し
2015-04-02 10:00:53,818-MainThread-awscli.argprocess-DEBUG-検出された構造:スカラー
2015-04-02 10:00:53,818-MainThread-botocore.hooks-DEBUG-イベントload-cli-arg.custom.ls.page-size:ハンドラーの呼び出し
2015-04-02 10:00:53,818-MainThread-botocore.credentials-DEBUG-次の方法でクレデンシャルを検索:env
2015-04-02 10:00:53,818-MainThread-botocore.credentials-INFO-環境変数で資格情報が見つかりました。
2015-04-02 10:00:53,896-MainThread-botocore.client-DEBUG-サービスの再試行ハンドラーの登録:s3
2015-04-02 10:00:53,896-MainThread-botocore.client-DEBUG-サービスの再試行ハンドラーの登録:s3
2015-04-02 10:00:53,901-MainThread-botocore.hooks-DEBUG-イベントbefore-call.s3.ListBuckets:呼び出しハンドラ
2015-04-02 10:00:53,901-MainThread-botocore.endpoint-DEBUG-リクエストを行う(verify_ssl = True)with params:{'query_string': ''、 'headers':{}、 'url_path': '/'、 'body': ''、 'method':u'GET '}
2015-04-02 10:00:53,901-MainThread-botocore.hooks-DEBUG-イベントリクエスト-created.s3.ListBuckets:ハンドラーの呼び出し>>
2015-04-02 10:00:53,902-MainThread-botocore.auth-DEBUG-v4authを使用して署名を計算しています。
2015-04-02 10:00:53,902-MainThread-botocore.auth-DEBUG-CanonicalRequest:
得る
/

ホスト:us-east-1.s3.amazonaws.com
user-agent:aws-cli / 1.7.18 Python / 2.6.9 Linux / 3.14.35-28.38.amzn1.x86_64
x-amz-content-sha256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
x-amz-日付:20150402T140053Z

ホスト;ユーザーエージェント; x-amz-content-sha256; x-amz-date
e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
2015-04-02 10:00:53,902-MainThread-botocore.auth-DEBUG-StringToSign:
AWS4-HMAC-SHA256
20150402T140053Z
20150402 / us-east / s3 / aws4_request
c2f10df0a6273531a1c59de88a43aa15d54e0ff0d4efb446bfc413f423a40b6e
2015-04-02 10:00:53,902-MainThread-botocore.auth-DEBUG-署名:
bbea77bb9355119c47ea3fb62edd0e3ffd32dab9733698f8f82ea7bebba32e99
2015-04-02 10:00:53,909-MainThread-botocore.endpoint-DEBUG-httpリクエストの送信: 2015-04-02 10:00:53,909-MainThread-botocore.vendored.requests.packages.urllib3.connectionpool-INFO-新しいHTTPS接続を開始しています(1):us-east-1.s3.amazonaws.com
2015-04-02 10:00:53,939-MainThread-botocore.vendored.requests.packages.urllib3.connectionpool-DEBUG- "GET / HTTP / 1.1" 400なし
2015-04-02 10:00:53,941-MainThread-botocore.parsers-DEBUG-応答ヘッダー:
{'接続': '閉じる'、
'content-type': 'application / xml'、
'日付': '2015年4月2日木曜日14:00:53GMT'、
'サーバー': 'AmazonS3'、
'transfer-encoding': 'チャンク'、
'x-amz-id-2': '4YKK6iKMv28 // rCRHQDedKvJsyuEXgvY ='、
'x-amz-request-id': ''}
2015-04-02 10:00:53,941-MainThread-botocore.parsers-DEBUG-応答本文:

AuthorizationHeaderMalformed許可ヘッダーの形式が正しくありません。 地域「us-east」は間違っています。 'us-east-1'を期待していますus-east-1CCAA61953FE3FAD04YKK6iKMv28 / bEd3R50qcUidwIza8ckHiPcuVvrX2cZLWDPfx7nvqsz / rCRHQDedKvJsyuEXgvY =
2015-04-02 10:00:53,942-MainThread-botocore.hooks-DEBUG-イベントのニーズ-retry.s3.ListBuckets:ハンドラーの呼び出し
2015-04-02 10:00:53,942-MainThread-botocore.retryhandler-DEBUG-再試行は必要ありません。
2015-04-02 10:00:53,942-MainThread-botocore.hooks-DEBUG-イベントafter-call.s3.ListBuckets:呼び出しハンドラー
2015-04-02 10:00:53,942-MainThread-botocore.hooks-DEBUG-イベントafter-call.s3.ListBuckets:呼び出しハンドラー
2015-04-02 10:00:53,942-MainThread-awscli.errorhandler-DEBUG-HTTP応答コード:400
2015-04-02 10:00:53,942-MainThread-awscli.clidriver-DEBUG-main()で例外がキャッチされました
トレースバック(最後の最後の呼び出し):
ファイル "/usr/local/lib/python2.6/site-packages/awscli/clidriver.py"、行183、メイン
command_tableparsed_args.commandを返します
ファイル "/usr/local/lib/python2.6/site-packages/awscli/customizations/commands.py"、行190、呼び出し中
parsed_globals)
ファイル "/usr/local/lib/python2.6/site-packages/awscli/customizations/commands.py"、行187、呼び出し中
self._run_main(parsed_args、parsed_globals)を返します
_run_mainのファイル "/usr/local/lib/python2.6/site-packages/awscli/customizations/s3/subcommands.py"、行324
self._list_all_buckets()
_list_all_bucketsのファイル "/usr/local/lib/python2.6/site-packages/awscli/customizations/s3/subcommands.py"、行383
response_data = self.client.list_buckets()
_api_callのファイル "/usr/local/lib/python2.6/site-packages/botocore/client.py"、行187
self._make_api_call(operation_name、kwargs)を返します
_make_api_callのファイル "/usr/local/lib/python2.6/site-packages/botocore/client.py"、238行目
model = operation_model
ファイル "/usr/local/lib/python2.6/site-packages/botocore/hooks.py"、行226、emit
self._emit(event_name、kwargs)を返します
_emit内のファイル "/usr/local/lib/python2.6/site-packages/botocore/hooks.py"、行209
応答=ハンドラー(** kwargs)
ファイル "/usr/local/lib/python2.6/site-packages/awscli/errorhandler.py"、70行目、__ call__
http_status_code = http_response.status_code)
ClientError:ListBuckets操作の呼び出し中にクライアントエラー(AuthorizationHeaderMalformed)が発生しました:認証ヘッダーの形式が正しくありません。 地域「us-east」は間違っています。 'us-east-1'を期待しています
2015-04-02 10:00:53,944-MainThread-awscli.clidriver-DEBUG-rc255で終了

ListBuckets操作の呼び出し中にクライアントエラー(AuthorizationHeaderMalformed)が発生しました。認証ヘッダーの形式が正しくありません。 地域「us-east」は間違っています。 'us-east-1'を期待しています

プロのヒント:おそらく〜/ .aws / configから来ています。 このファイルを一時的に移動して、再試行してください。 これは私を助けました。

ありがとう@joshunger
〜/ .aws / configに移動します
設定ファイルを移動します
ターミナルに移動し、awsconfigureと入力します
IDとキーを追加します
タイプawss3 ls
すべてのディレクトリを表示するには

このページは役に立ちましたか?
0 / 5 - 0 評価