botocore.exceptions.EndpointConnectionError: Could not connect to the endpoint

botocore.exceptions.EndpointConnectionError: Could not connect to the endpoint

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

然而,当我 运行

chalice deploy

我回来了:

botocore.exceptions.EndpointConnectionError: Could not connect to the endpoint URL: "https://lambda.us-east-1.amazonaws.com/2015-03-31/functions/helloworld"

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

我的配置:

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

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

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