[ 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
01/04/2015 11:56:42,132 - MainThread - awscli.clidriver - DEBUG - Version CLI : aws-cli/1.7.18 Python/2.6.9 Linux/3.14.35-28.38.amzn1.x86_64, version botocore : 0.99 .0
2015-04-01 11:56:42,132 - MainThread - awscli.clidriver - DEBUG - Arguments entrés dans CLI : ['s3', 'ls', '--debug']
2015-04-01 11:56:42,132 - MainThread - botocore.hooks - DEBUG - Session d'événement initialisée : gestionnaire d'appel
2015-04-01 11:56:42,132 - MainThread - botocore.hooks - DEBUG - Session d'événement initialisée : gestionnaire d'appel
2015-04-01 11:56:42,133 - MainThread - botocore.hooks - DEBUG - Evénement building-command-table.s3 : gestionnaire d'appel
2015-04-01 11:56:42,134 - MainThread - botocore.hooks - DEBUG - Evénement load-cli-arg.custom.s3.anonymous : gestionnaire d'appel
2015-04-01 11:56:42,134 - MainThread - botocore.hooks - DEBUG - Evénement building-command-table.ls : gestionnaire d'appel
2015-04-01 11:56:42,135 - MainThread - botocore.hooks - DEBUG - Evénement load-cli-arg.custom.ls.paths : gestionnaire d'appel
2015-04-01 11:56:42,135 - MainThread - botocore.hooks - DEBUG - Evénement load-cli-arg.custom.ls.summarize : gestionnaire d'appel
2015-04-01 11:56:42,135 - MainThread - botocore.hooks - DEBUG - Event process-cli-arg.custom.ls : gestionnaire d'appel
2015-04-01 11:56:42,135 - MainThread - awscli.argprocess - DEBUG - Structure détectée : scalaire
2015-04-01 11:56:42,135 - MainThread - botocore.hooks - DEBUG - Evénement load-cli-arg.custom.ls.anonymous : gestionnaire d'appel
2015-04-01 11:56:42,135 - MainThread - botocore.hooks - DEBUG - Evénement load-cli-arg.custom.ls.human-readable : gestionnaire d'appel
2015-04-01 11:56:42,135 - MainThread - botocore.hooks - DEBUG - Event process-cli-arg.custom.ls : gestionnaire d'appel
2015-04-01 11:56:42,136 - MainThread - awscli.argprocess - DEBUG - Structure détectée : scalaire
2015-04-01 11:56:42,136 - MainThread - botocore.hooks - DEBUG - Evénement load-cli-arg.custom.ls.page-size : gestionnaire d'appel
2015-04-01 11:56:42,136 - MainThread - botocore.credentials - DEBUG - Recherche d'informations d'identification via : env
2015-04-01 11:56:42,136 - MainThread - botocore.credentials - INFO - Identifiants trouvés dans les variables d'environnement.
2015-04-01 11:56:42,215 - MainThread - botocore.client - DEBUG - Enregistrement des gestionnaires de nouvelles tentatives pour le service : s3
2015-04-01 11:56:42,215 - MainThread - botocore.client - DEBUG - Enregistrement des gestionnaires de nouvelles tentatives pour le service : s3
2015-04-01 11:56:42,221 - MainThread - botocore.hooks - DEBUG - Event before-call.s3.ListBuckets : gestionnaire d'appel
2015-04-01 11:56:42,221 - MainThread - botocore.endpoint - DEBUG - Faire une demande pour
2015-04-01 11:56:42,221 - MainThread - botocore.hooks - DEBUG - Event request-created.s3.ListBuckets : gestionnaire d'appel
2015-04-01 11:56:42,221 - MainThread - botocore.hooks - DEBUG - Event before-sign.s3.ListBuckets : gestionnaire d'appel
2015-04-01 11:56:42,222 - MainThread - botocore.auth - DEBUG - Calcul de la signature à l'aide de la v4 auth.
2015-04-01 11:56:42,222 - MainThread - botocore.auth - DEBUG - CanonicalRequest :
AVOIR
/
hôte : 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- date : 20150401T155642Z
hôte;user-agent;x-amz-content-sha256;x-amz-date
e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
01/04/2015 11:56:42,222 - MainThread - botocore.auth - DEBUG - StringToSign :
AWS4-HMAC-SHA256
20150401T155642Z
20150401/us-east/s3/aws4_request
e0002ea5e32486a5cd7a2014cf22368b82951adb37d010bd31ffd4ec5a5c3b5b
01/04/2015 11:56:42,222 - MainThread - botocore.auth - DEBUG - Signature :
183a8b6e48fe85f9713139c4763e1af3ba68c8b5aa38fdb03d0fe38d65e8ee2c
2015-04-01 11:56:42,228 - MainThread - botocore.endpoint - DEBUG - Envoi de la requête http :
2015-04-01 11:56:42,231 - MainThread - botocore.hooks - DEBUG - Event needs-retry.s3.ListBuckets : gestionnaire d'appel
2015-04-01 11:56:42,231 - MainThread - botocore.retryhandler - DEBUG - réessayer nécessaire, exception réessayable interceptée : impossible de se connecter à l'URL du point de terminaison : " https://s3.us-east.amazonaws.com/ "
Traceback (appel le plus récent en dernier) :
Fichier "/usr/local/lib/python2.6/site-packages/botocore/retryhandler.py", ligne 265, dans _should_retry
return self._checker(attempt_number, response, catch_exception)
Fichier "/usr/local/lib/python2.6/site-packages/botocore/retryhandler.py", ligne 313, dans __call__
catch_exception)
Fichier "/usr/local/lib/python2.6/site-packages/botocore/retryhandler.py", ligne 222, en appel
return self._check_caught_exception(attempt_number, catch_exception)
Fichier "/usr/local/lib/python2.6/site-packages/botocore/retryhandler.py", ligne 355, dans _check_caught_exception
lever catch_exception
EndpointConnectionError : impossible de se connecter à l'URL du point de terminaison : " https://s3.us-east.amazonaws.com/ "
2015-04-01 11:56:42,232 - MainThread - botocore.retryhandler - DEBUG - Réessayer nécessaire, action de : 0.322988676199
2015-04-01 11:56:42,232 - MainThread - botocore.endpoint - DEBUG - Réponse reçue pour réessayer, dormant pendant 0,322988676199 secondes
2015-04-01 11:56:42,555 - MainThread - botocore.hooks - DEBUG - Event request-created.s3.ListBuckets : gestionnaire d'appel
2015-04-01 11:56:42,556 - MainThread - botocore.hooks - DEBUG - Event before-sign.s3.ListBuckets : gestionnaire d'appel
2015-04-01 11:56:42,556 - MainThread - botocore.auth - DEBUG - Calcul de la signature en utilisant v4 auth.
2015-04-01 11:56:42,556 - MainThread - botocore.auth - DEBUG - CanonicalRequest :
AVOIR
/
hôte : 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- date : 20150401T155642Z
hôte;user-agent;x-amz-content-sha256;x-amz-date
e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
01/04/2015 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 - Signature :
183a8b6e48fe85f9713139c4763e1af3ba68c8b5aa38fdb03d0fe38d65e8ee2c
2015-04-01 11:56:42,557 - MainThread - botocore.endpoint - DEBUG - Envoi de la requête http :
2015-04-01 11:56:42,559 - MainThread - botocore.hooks - DEBUG - Event needs-retry.s3.ListBuckets : gestionnaire d'appel
2015-04-01 11:56:42,559 - MainThread - botocore.retryhandler - DEBUG - réessayer nécessaire, exception réessayable interceptée : impossible de se connecter à l'URL du point de terminaison : " https://s3.us-east.amazonaws.com/ "
Traceback (appel le plus récent en dernier) :
Fichier "/usr/local/lib/python2.6/site-packages/botocore/retryhandler.py", ligne 265, dans _should_retry
return self._checker(attempt_number, response, catch_exception)
Fichier "/usr/local/lib/python2.6/site-packages/botocore/retryhandler.py", ligne 313, dans __call__
catch_exception)
Fichier "/usr/local/lib/python2.6/site-packages/botocore/retryhandler.py", ligne 222, en appel
return self._check_caught_exception(attempt_number, catch_exception)
Fichier "/usr/local/lib/python2.6/site-packages/botocore/retryhandler.py", ligne 355, dans _check_caught_exception
lever catch_exception
EndpointConnectionError : impossible de se connecter à l'URL du point de terminaison : " https://s3.us-east.amazonaws.com/ "
2015-04-01 11:56:42,559 - MainThread - botocore.retryhandler - DEBUG - Réessayer nécessaire, action de : 0.75575215895
2015-04-01 11:56:42,559 - MainThread - botocore.endpoint - DEBUG - Réponse reçue pour réessayer, en veille pendant 0,75575215895 secondes
2015-04-01 11:56:43,316 - MainThread - botocore.hooks - DEBUG - Event request-created.s3.ListBuckets : gestionnaire d'appel
2015-04-01 11:56:43,317 - MainThread - botocore.hooks - DEBUG - Event before-sign.s3.ListBuckets : gestionnaire d'appel
2015-04-01 11:56:43,317 - MainThread - botocore.auth - DEBUG - Calcul de la signature à l'aide de la v4 auth.
2015-04-01 11:56:43,317 - MainThread - botocore.auth - DEBUG - CanonicalRequest :
AVOIR
/
hôte : 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- date : 20150401T155643Z
hôte;user-agent;x-amz-content-sha256;x-amz-date
e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
01/04/2015 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 - Signature :
1e99b5f508a30bfa547607d915aec56f9667e6c6db66dc65643202822314c377
2015-04-01 11:56:43,318 - MainThread - botocore.endpoint - DEBUG - Envoi de la requête http :
2015-04-01 11:56:43,320 - MainThread - botocore.hooks - DEBUG - Event needs-retry.s3.ListBuckets : gestionnaire d'appel
2015-04-01 11:56:43,320 - MainThread - botocore.retryhandler - DEBUG - réessayer nécessaire, exception réessayable interceptée : impossible de se connecter à l'URL du point de terminaison : " https://s3.us-east.amazonaws.com/ "
Traceback (appel le plus récent en dernier) :
Fichier "/usr/local/lib/python2.6/site-packages/botocore/retryhandler.py", ligne 265, dans _should_retry
return self._checker(attempt_number, response, catch_exception)
Fichier "/usr/local/lib/python2.6/site-packages/botocore/retryhandler.py", ligne 313, dans __call__
catch_exception)
Fichier "/usr/local/lib/python2.6/site-packages/botocore/retryhandler.py", ligne 222, en appel
return self._check_caught_exception(attempt_number, catch_exception)
Fichier "/usr/local/lib/python2.6/site-packages/botocore/retryhandler.py", ligne 355, dans _check_caught_exception
lever catch_exception
EndpointConnectionError : impossible de se connecter à l'URL du point de terminaison : " https://s3.us-east.amazonaws.com/ "
2015-04-01 11:56:43,320 - MainThread - botocore.retryhandler - DEBUG - Réessayer nécessaire, action de : 2.18930448654
2015-04-01 11:56:43,320 - MainThread - botocore.endpoint - DEBUG - Réponse reçue pour réessayer, en veille pendant 2,18930448654 secondes
2015-04-01 11:56:45,512 - MainThread - botocore.hooks - DEBUG - Event request-created.s3.ListBuckets : gestionnaire d'appel
2015-04-01 11:56:45,512 - MainThread - botocore.hooks - DEBUG - Event before-sign.s3.ListBuckets : gestionnaire d'appel
2015-04-01 11:56:45,513 - MainThread - botocore.auth - DEBUG - Calcul de la signature à l'aide de la v4 auth.
2015-04-01 11:56:45,513 - MainThread - botocore.auth - DEBUG - CanonicalRequest :
AVOIR
/
hôte : 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- date : 20150401T155645Z
hôte;user-agent;x-amz-content-sha256;x-amz-date
e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
01/04/2015 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 - Signature :
715db569aa580b92850617e41db4d78d4a8eb5ccc51018bf3500272d98bb1502
2015-04-01 11:56:45,513 - MainThread - botocore.endpoint - DEBUG - Envoi de la requête http :
2015-04-01 11:56:45,515 - MainThread - botocore.hooks - DEBUG - Event needs-retry.s3.ListBuckets : gestionnaire d'appel
2015-04-01 11:56:45,515 - MainThread - botocore.retryhandler - DEBUG - réessayer nécessaire, exception réessayable interceptée : impossible de se connecter à l'URL du point de terminaison : " https://s3.us-east.amazonaws.com/ "
Traceback (appel le plus récent en dernier) :
Fichier "/usr/local/lib/python2.6/site-packages/botocore/retryhandler.py", ligne 265, dans _should_retry
return self._checker(attempt_number, response, catch_exception)
Fichier "/usr/local/lib/python2.6/site-packages/botocore/retryhandler.py", ligne 313, dans __call__
catch_exception)
Fichier "/usr/local/lib/python2.6/site-packages/botocore/retryhandler.py", ligne 222, en appel
return self._check_caught_exception(attempt_number, catch_exception)
Fichier "/usr/local/lib/python2.6/site-packages/botocore/retryhandler.py", ligne 355, dans _check_caught_exception
lever catch_exception
EndpointConnectionError : impossible de se connecter à l'URL du point de terminaison : " https://s3.us-east.amazonaws.com/ "
2015-04-01 11:56:45,515 - MainThread - botocore.retryhandler - DEBUG - Réessayer nécessaire, action de : 0.576300993129
2015-04-01 11:56:45,515 - MainThread - botocore.endpoint - DEBUG - Réponse reçue pour réessayer, en veille pendant 0,576300993129 secondes
2015-04-01 11:56:46,092 - MainThread - botocore.hooks - DEBUG - Event request-created.s3.ListBuckets : gestionnaire d'appel
2015-04-01 11:56:46,092 - MainThread - botocore.hooks - DEBUG - Event before-sign.s3.ListBuckets : gestionnaire d'appel
2015-04-01 11:56:46,093 - MainThread - botocore.auth - DEBUG - Calcul de la signature à l'aide de la v4 auth.
2015-04-01 11:56:46,093 - MainThread - botocore.auth - DEBUG - CanonicalRequest :
AVOIR
/
hôte : 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- date : 20150401T155646Z
hôte;user-agent;x-amz-content-sha256;x-amz-date
e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
01/04/2015 11:56:46,093 - MainThread - botocore.auth - DEBUG - StringToSign :
AWS4-HMAC-SHA256
20150401T155646Z
20150401/us-east/s3/aws4_request
18c5d85e0996b1ed77b2e06c0cc78b476cdb1a25d05a13f665c82a9066d61ef4
01/04/2015 11:56:46,093 - MainThread - botocore.auth - DEBUG - Signature :
d6c4ab22c43a2765e219ebe83cdebbbdae61c6b300445fec73f67ff0bc526507
01/04/2015 11:56:46,094 - MainThread - botocore.endpoint - DEBUG - Envoi de la requête http :
2015-04-01 11:56:46,095 - MainThread - botocore.hooks - DEBUG - Event needs-retry.s3.ListBuckets : gestionnaire d'appel
2015-04-01 11:56:46,095 - MainThread - awscli.clidriver - DEBUG - Exception interceptée dans main()
Traceback (appel le plus récent en dernier) :
Fichier "/usr/local/lib/python2.6/site-packages/awscli/clidriver.py", ligne 183, dans main
return command_table parsed_args.command
Fichier "/usr/local/lib/python2.6/site-packages/awscli/customizations/commands.py", ligne 190, en appel
parsed_globals)
Fichier "/usr/local/lib/python2.6/site-packages/awscli/customizations/commands.py", ligne 187, en appel
return self._run_main(parsed_args, parsed_globals)
Fichier "/usr/local/lib/python2.6/site-packages/awscli/customizations/s3/subcommands.py", ligne 324, dans _run_main
self._list_all_buckets()
Fichier "/usr/local/lib/python2.6/site-packages/awscli/customizations/s3/subcommands.py", ligne 383, dans _list_all_buckets
response_data = self.client.list_buckets()
Fichier "/usr/local/lib/python2.6/site-packages/botocore/client.py", ligne 187, dans _api_call
return self._make_api_call(operation_name, kwargs)
Fichier "/usr/local/lib/python2.6/site-packages/botocore/client.py", ligne 231, dans _make_api_call
modèle_opération, dict_requête)
Fichier "/usr/local/lib/python2.6/site-packages/botocore/endpoint.py", ligne 173, dans make_request
return self._send_request(request_dict, operation_model)
Fichier "/usr/local/lib/python2.6/site-packages/botocore/endpoint.py", ligne 203, dans _send_request
success_response, exception):
Fichier "/usr/local/lib/python2.6/site-packages/botocore/endpoint.py", ligne 267, dans _needs_retry
attrapé_exception=attrapé_exception)
Fichier "/usr/local/lib/python2.6/site-packages/botocore/hooks.py", ligne 226, dans émet
return self._emit(event_name, kwargs)
Fichier "/usr/local/lib/python2.6/site-packages/botocore/hooks.py", ligne 209, dans _emit
réponse = gestionnaire ( kwargs)Fichier "/usr/local/lib/python2.6/site-packages/botocore/retryhandler.py", ligne 183, dans __call__if self._checker(tentatives, réponse, catch_exception):Fichier "/usr/local/lib/python2.6/site-packages/botocore/retryhandler.py", ligne 250, dans __call__catch_exception)Fichier "/usr/local/lib/python2.6/site-packages/botocore/retryhandler.py", ligne 273, dans _should_retryreturn self._checker(attempt_number, response, catch_exception)Fichier "/usr/local/lib/python2.6/site-packages/botocore/retryhandler.py", ligne 313, dans __call__catch_exception)Fichier "/usr/local/lib/python2.6/site-packages/botocore/retryhandler.py", ligne 222, dans **call
return self._check_caught_exception(attempt_number, catch_exception)
Fichier "/usr/local/lib/python2.6/site-packages/botocore/retryhandler.py", ligne 355, dans _check_caught_exception
lever catch_exception
EndpointConnectionError : impossible de se connecter à l'URL du point de terminaison : " https://s3.us-east.amazonaws.com/ "
2015-04-01 11:56:46,096 - MainThread - awscli.clidriver - DEBUG - Quitter avec rc 255
Impossible de se connecter à l'URL du point de terminaison : " https://s3.us-east.amazonaws.com/ "
Une idée de ce qu'il utilise https://s3.us-east.amazonaws.com/ au lieu de https://us-east-1.s3.amazonaws.com/
[ 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 - Version CLI : aws-cli/1.7.18 Python/2.6.9 Linux/3.14.35-28.38.amzn1.x86_64, version botocore : 0.99 .0
2015-04-02 10:00:53,814 - MainThread - awscli.clidriver - DEBUG - Arguments entrés dans la CLI : ['s3', 'ls', '--debug', '--endpoint-url', ' https : //us-east-1.s3.amazonaws.com/ ']
2015-04-02 10:00:53,814 - MainThread - botocore.hooks - DEBUG - Session d'événement initialisée : gestionnaire d'appel
2015-04-02 10:00:53,815 - MainThread - botocore.hooks - DEBUG - Session d'événement initialisée : gestionnaire d'appel
2015-04-02 10:00:53,815 - MainThread - botocore.hooks - DEBUG - Evénement building-command-table.s3 : gestionnaire d'appel
2015-04-02 10:00:53,816 - MainThread - botocore.hooks - DEBUG - Evénement load-cli-arg.custom.s3.anonymous : gestionnaire d'appel
2015-04-02 10:00:53,816 - MainThread - botocore.hooks - DEBUG - Evénement building-command-table.ls : gestionnaire d'appel
2015-04-02 10:00:53,817 - MainThread - botocore.hooks - DEBUG - Evénement load-cli-arg.custom.ls.paths : gestionnaire d'appel
2015-04-02 10:00:53,817 - MainThread - botocore.hooks - DEBUG - Evénement load-cli-arg.custom.ls.summarize : gestionnaire d'appel
2015-04-02 10:00:53,817 - MainThread - botocore.hooks - DEBUG - Event process-cli-arg.custom.ls : gestionnaire d'appel
2015-04-02 10:00:53,817 - MainThread - awscli.argprocess - DEBUG - Structure détectée : scalaire
2015-04-02 10:00:53,817 - MainThread - botocore.hooks - DEBUG - Evénement load-cli-arg.custom.ls.anonymous : gestionnaire d'appel
2015-04-02 10:00:53,817 - MainThread - botocore.hooks - DEBUG - Evénement load-cli-arg.custom.ls.human-readable : gestionnaire d'appel
2015-04-02 10:00:53,817 - MainThread - botocore.hooks - DEBUG - Event process-cli-arg.custom.ls : gestionnaire d'appel
2015-04-02 10:00:53,818 - MainThread - awscli.argprocess - DEBUG - Structure détectée : scalaire
2015-04-02 10:00:53,818 - MainThread - botocore.hooks - DEBUG - Evénement load-cli-arg.custom.ls.page-size : gestionnaire d'appel
2015-04-02 10:00:53,818 - MainThread - botocore.credentials - DEBUG - Recherche d'informations d'identification via : env
2015-04-02 10:00:53,818 - MainThread - botocore.credentials - INFO - Identifiants trouvés dans les variables d'environnement.
2015-04-02 10:00:53,896 - MainThread - botocore.client - DEBUG - Enregistrement des gestionnaires de nouvelles tentatives pour le service : s3
2015-04-02 10:00:53,896 - MainThread - botocore.client - DEBUG - Enregistrement des gestionnaires de nouvelles tentatives pour le service : s3
2015-04-02 10:00:53,901 - MainThread - botocore.hooks - DEBUG - Event before-call.s3.ListBuckets : gestionnaire d'appel
2015-04-02 10:00:53 901 - MainThread - botocore.endpoint - DEBUG - Faire une demande pour
2015-04-02 10:00:53 901 - MainThread - botocore.hooks - DEBUG - Event request-created.s3.ListBuckets : gestionnaire d'appel
2015-04-02 10:00:53,902 - MainThread - botocore.auth - DEBUG - Calcul de la signature à l'aide de la v4 auth.
2015-04-02 10:00:53,902 - MainThread - botocore.auth - DEBUG - CanonicalRequête :
AVOIR
/
hôte :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- date : 20150402T140053Z
hôte;user-agent;x-amz-content-sha256;x-amz-date
e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
02/04/2015 10:00:53,902 - MainThread - botocore.auth - DEBUG - StringToSign :
AWS4-HMAC-SHA256
20150402T140053Z
20150402/us-east/s3/aws4_request
c2f10df0a6273531a1c59de88a43aa15d54e0ff0d4efb446bfc413f423a40b6e
02/04/2015 10:00:53,902 - MainThread - botocore.auth - DEBUG - Signature :
bbea77bb9355119c47ea3fb62edd0e3ffd32dab9733698f8f82ea7bebba32e99
2015-04-02 10:00:53,909 - MainThread - botocore.endpoint - DEBUG - Envoi de la requête http :
2015-04-02 10:00:53,939 - MainThread - botocore.vendored.requests.packages.urllib3.connectionpool - DEBUG - "GET / HTTP/1.1" 400 Aucun
2015-04-02 10:00:53,941 - MainThread - botocore.parsers - DEBUG - En-têtes de réponse :
{'connexion': 'fermer',
'content-type' : 'application/xml',
'date' : 'Jeu, 02 Avr 2015 14:00:53 GMT',
'serveur' : 'AmazonS3',
'transfer-encoding': 'chunked',
'x-amz-id-2' : '4YKK6iKMv28//rCRHQDedKvJsyuEXgvY=',
'x-amz-request-id' : ''}
2015-04-02 10:00:53,941 - MainThread - botocore.parsers - DEBUG - Corps de réponse :AuthorizationHeaderMalformed
2015-04-02 10:00:53,942 - MainThread - botocore.hooks - DEBUG - Event needs-retry.s3.ListBuckets : gestionnaire d'appel
2015-04-02 10:00:53,942 - MainThread - botocore.retryhandler - DEBUG - Aucune nouvelle tentative nécessaire.
2015-04-02 10:00:53,942 - MainThread - botocore.hooks - DEBUG - Event after-call.s3.ListBuckets : gestionnaire d'appel
2015-04-02 10:00:53,942 - MainThread - botocore.hooks - DEBUG - Event after-call.s3.ListBuckets : gestionnaire d'appel
2015-04-02 10:00:53,942 - MainThread - awscli.errorhandler - DEBUG - Code de réponse HTTP : 400
2015-04-02 10:00:53,942 - MainThread - awscli.clidriver - DEBUG - Exception interceptée dans main()
Traceback (appel le plus récent en dernier) :
Fichier "/usr/local/lib/python2.6/site-packages/awscli/clidriver.py", ligne 183, dans main
return command_table parsed_args.command
Fichier "/usr/local/lib/python2.6/site-packages/awscli/customizations/commands.py", ligne 190, en appel
parsed_globals)
Fichier "/usr/local/lib/python2.6/site-packages/awscli/customizations/commands.py", ligne 187, en appel
return self._run_main(parsed_args, parsed_globals)
Fichier "/usr/local/lib/python2.6/site-packages/awscli/customizations/s3/subcommands.py", ligne 324, dans _run_main
self._list_all_buckets()
Fichier "/usr/local/lib/python2.6/site-packages/awscli/customizations/s3/subcommands.py", ligne 383, dans _list_all_buckets
response_data = self.client.list_buckets()
Fichier "/usr/local/lib/python2.6/site-packages/botocore/client.py", ligne 187, dans _api_call
return self._make_api_call(operation_name, kwargs)
Fichier "/usr/local/lib/python2.6/site-packages/botocore/client.py", ligne 238, dans _make_api_call
modèle=modèle_opération
Fichier "/usr/local/lib/python2.6/site-packages/botocore/hooks.py", ligne 226, dans émet
return self._emit(event_name, kwargs)
Fichier "/usr/local/lib/python2.6/site-packages/botocore/hooks.py", ligne 209, dans _emit
réponse = gestionnaire (**kwargs)
Fichier "/usr/local/lib/python2.6/site-packages/awscli/errorhandler.py", ligne 70, dans __call__
http_status_code=http_response.status_code)
ClientError : une erreur client (AuthorizationHeaderMalformed) s'est produite lors de l'appel de l'opération ListBuckets : l'en-tête d'autorisation est mal formé ; la région 'us-east' est fausse ; attend 'us-east-1'
2015-04-02 10:00:53,944 - MainThread - awscli.clidriver - DEBUG - Quitter avec rc 255
Une erreur client (AuthorizationHeaderMalformed) s'est produite lors de l'appel de l'opération ListBuckets : l'en-tête d'autorisation est mal formé ; la région 'us-east' est fausse ; attend 'us-east-1'
Astuce de pro : provenant probablement de ~/.aws/config. Déplacez ce fichier temporairement et réessayez. Cela m'a aidé.
merci @joshunger
Allez dans ~/.aws/config
déplacer le fichier de configuration
allez au terminal et tapez aws configure
Ajouter l'ID et la clé
tapez aws s3 ls
pour voir tous les répertoires
Commentaire le plus utile
Astuce de pro : provenant probablement de ~/.aws/config. Déplacez ce fichier temporairement et réessayez. Cela m'a aidé.