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

我怕爱的太早我们不能终老 提交于 2020-01-17 05:20:12

问题


I'm running Ubuntu 12.04, Python 2.7.3 and trying to run chalice

However, when I run

chalice deploy

I get back:

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

I can't find any information on what's causing this. My AWS configuration was setup and tested to be working with boto.

My config:

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


回答1:


As per your config you have setup the region to region = us-west-1 and you are trying to access a Lambda function in region us-east-1.

Change that region to us-east-1 in the config and then give it a try it will work.



来源:https://stackoverflow.com/questions/38533897/botocore-exceptions-endpointconnectionerror-could-not-connect-to-the-endpoint

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!