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

Created on 21 Jul 2016  路  4Comments  路  Source: aws/chalice

Ubuntu 12.04, Python 2.7.3

chalice deploy

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

response-requested

All 4 comments

That error suggests it can't even establish a connection to the lambda endpoint. Are you able to curl the output? What happens if you just try to curl the url? You should get something like this:

$ curl -i https://lambda.us-east-1.amazonaws.com/
HTTP/1.1 403 Forbidden
Date: Fri, 29 Jul 2016 17:26:03 GMT
x-amzn-RequestId: 86c55406-55b1-11e6-9293-a584f4f4075f
Content-Length: 127
Connection: keep-alive

<MissingAuthenticationTokenException>
  <Message>Missing Authentication Token</Message>
</MissingAuthenticationTokenException>

I modified the config and no longer get this error.

@whatsdis How did you modify the conifg?

After you have installed CLI. Use the following command to change the config in cmd
$ aws configure
AWS Access Key ID [None]: "Your_access_key_id"
AWS Secret Access Key [None]: "Your_secret_access_key"
Default region name [None]: "your_zone"
Default output format [None]: json

for more info refer : https://docs.aws.amazon.com/cli/latest/userguide/cli-chap-configure.html#cli-quick-configuration

Was this page helpful?
0 / 5 - 0 ratings

Related issues

montao picture montao  路  4Comments

jarretraim picture jarretraim  路  3Comments

Miserlou picture Miserlou  路  4Comments

nedlowe picture nedlowe  路  3Comments

rupello picture rupello  路  4Comments