【问题标题】:Amazon saying S3 bucket doesn't exist亚马逊说 S3 存储桶不存在
【发布时间】:2019-08-20 16:56:30
【问题描述】:

我在 Amazon S3 上创建了一个存储桶并转到了 url(这是我需要在我的 rails 应用程序中放入初始化程序的 url)

https://mtest73.s3.amazonaws.com/

收到这条消息

This XML file does not appear to have any style information associated with it. The document tree is shown below.
<Error>
<Code>NoSuchBucket</Code>
<Message>The specified bucket does not exist</Message>
<BucketName>mtest73</BucketName>
<RequestId>9FBDCC50303F4306</RequestId>
<HostId>
owG6PSSjvcS7QZwEMKzTjMnYiwclXkRG7QGIF/Ly+jc8mHnmbvWHXqitDzfjnzgM
</HostId>
</Error>

但是,在 Amazon 控制台中,我什至将一个小文件上传到此存储桶。

这是有原因的吗?我认为这可能是由于安全原因导致存储桶不存在,但如果我做错了什么,这可能是我无法让 Rails 应用程序工作的原因......

【问题讨论】:

  • S3 控制台显示“m73test”,您的 URL 显示“mtest73”。
  • mtest73 还是 m73test?会不会是这个问题?

标签: amazon-s3


【解决方案1】:

@JohnFlatness 和@pjotr 指出,我写错了网址

https://mtest73.s3.amazonaws.com/

应该是的

https://73mtest.s3.amazonaws.com/

【讨论】:

  • 好。这个标题吓死我了。
猜你喜欢
  • 1970-01-01
  • 1970-01-01
  • 2017-03-03
  • 2011-06-26
  • 1970-01-01
  • 2012-11-15
  • 2013-05-23
  • 1970-01-01
  • 1970-01-01
相关资源
最近更新 更多