【问题标题】:botocore.exceptions.EndpointConnectionError: Could not connect to the endpointbotocore.exceptions.EndpointConnectionError:无法连接到端点
【发布时间】:2016-11-26 19:08:03
【问题描述】:

我正在运行 Ubuntu 12.04、Python 2.7.3 并尝试运行 chalice

但是,当我运行时

圣杯部署

我回来了:

botocore.exceptions.EndpointConnectionError:无法连接到端点 URL:“https://lambda.us-east-1.amazonaws.com/2015-03-31/functions/helloworld

我找不到任何有关导致此问题的信息。我的 AWS 配置已设置并经过测试可以与 boto 一起使用。

我的配置:

[default] output = table region = us-west-1

【问题讨论】:

  • 你能粘贴你的 ~/.aws/config 没有凭据吗?
  • [default] output = table region = us-west-1

标签: python amazon-web-services aws-lambda boto3


【解决方案1】:

根据您的配置,您已将区域设置为 region = us-west-1,并且您正在尝试访问区域 us-east-1 中的 Lambda 函数。

在配置中将该区域更改为 us-east-1,然后试一试它会起作用。

【讨论】:

  • 我得到 OSError: [Errno 2] 没有这样的文件或目录,这似乎是一个与圣杯相关的错误
  • 查看 github.com/awslabs/chalice/issues/33 错误,这是虚拟环境的已知 Chalise 错误尝试在该线程上报告。
猜你喜欢
  • 2021-09-12
  • 1970-01-01
  • 1970-01-01
  • 2014-01-21
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
相关资源
最近更新 更多