botocore.exceptions.EndpointConnectionError:无法连接到端点 [英] botocore.exceptions.EndpointConnectionError: Could not connect to the endpoint

查看:638
本文介绍了botocore.exceptions.EndpointConnectionError:无法连接到端点的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在运行Ubuntu 12.04,Python 2.7.3,并尝试运行圣杯

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

但是,当我跑步

圣杯部署

我回来了:

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

我找不到导致此问题的任何信息.我的AWS配置已设置并经过测试可与boto配合使用.

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

我的配置:

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

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

推荐答案

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

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.

在配置中将该区域更改为us-east-1,然后尝试一下将起作用.

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

这篇关于botocore.exceptions.EndpointConnectionError:无法连接到端点的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆