AWS S3 CLI - 无法连接到端点 URL [英] AWS S3 CLI - Could not connect to the endpoint URL

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

问题描述

$ aws s3 ls

Could not connect to the endpoint URL: "https://s3.us-east-1a.amazonaws.com/"

可能是什么问题?

推荐答案

您可能在默认区域的默认配置文件中有问题.

You probably have something wrong in your default profile for the default region.

~/.aws/config 检查你的文件,你有类似的东西

Check your file at ~/.aws/config, you have something like

[default]
region=us-east-1a
...

将区域固定为region=us-east-1,然后命令将正常运行

Fix the region to region=us-east-1 and then the command will work correctly

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

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