[英]AWS CLI and ECS query - HTTPSConnectionPool 443 error; Max retries exceeded; nodename nor servname provided, or not known
Having some trouble with the aws ecs cli. 在AWS ECS CLI上遇到了一些麻烦。
Found some suggestions that this error message might be to do with region but as you can see the region is set in my config, and if I add the option '--region eu-west-1' to the cli I still receive the same error. 找到了一些建议,指出此错误消息可能与区域有关,但是您可以看到在我的配置中设置了区域,并且如果我在cli中添加选项“ --region eu-west-1”,我仍然会收到相同的提示错误。
$ aws --version
$ aws-版本
> aws-cli/1.7.5 Python/2.7.9 Darwin/14.0.0> aws-cli / 1.7.5 Python / 2.7.9 Darwin / 14.0.0
$ aws configure list
$ aws配置列表
Name Value Type Location
---- ----- ---- --------
profile <not set> None None
access_key ******************** shared-credentials-file
secret_key ******************** shared-credentials-file
region eu-west-1 config-file ~/.aws/config
$ aws ecs list-clusters
$ aws ecs list-clusters
> HTTPSConnectionPool(host='ecs.eu-west-1.amazonaws.com', port=443): Max retries exceeded with url: / (Caused by : [Errno 8] nodename nor servname provided, or not known)> HTTPSConnectionPool(host ='ecs.eu-west-1.amazonaws.com',port = 443):URL超过最大重试次数:/(由:[Errno 8]节点名或服务名提供,或未知)
Worth noting that the ec2 command is working just fine: 值得注意的是ec2命令可以正常工作:
$ aws ec2 describe-instances
$ aws ec2 describe-instances
{"Reservations": []}{“保留”:[]}
The Amazon EC2 Container Service is currently only available in us-east-1. Amazon EC2容器服务当前仅在us-east-1中可用。 From: http://docs.aws.amazon.com/AmazonECS/latest/developerguide/ECS_GetStarted.html
来源: http : //docs.aws.amazon.com/AmazonECS/latest/developerguide/ECS_GetStarted.html
Customers accessing Amazon ECS during the preview should use the US East (N. Virginia) region.
在预览期间访问Amazon ECS的客户应使用美国东部(弗吉尼亚北部)区域。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.