pythonamazon-web-servicesaws-lambdaboto3

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


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


Solution

  • 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.