CLOUDFRONT EC2 源错误 CloudFront 试图与源建立连接
CLOUDFRONT EC2 origin error CloudFront attempted to establish a connection with the origin
我有一个带有自定义来源 (EC2) 的 Cloudfront 发行版,当我像 http://xyz.cloudfront.net/assets/abcd.jpg
一样获取文件时
我收到类似
的错误
The request could not be satisfied.
CloudFront attempted to establish a connection with the origin, but either the attempt failed or the origin closed the connection.
CloudFront wasn't able to connect to the origin.
Generated by cloudfront (CloudFront)
Request ID: cDjvMwhz6AhjwOyTgEqwH6KPA3X97Zq1GXQLtvdUlkAWIUDmUAincA==
但是 10-15 分钟后,如果我尝试获取相同的 rom url,那么我工作正常,然后如果我获取新的 url,同样的事情会发生。我不明白这是什么问题,为什么第一次获取新文件会产生错误?
编辑
问题出在 https 上,我已经将云端分发更改为仅提供 https,现在云端总是 return "The request could not be satisfied."
我的服务器配置正确,我可以通过 https
访问它
我不想使用自定义 CNAME,cloudfront 提供的 dns 名称没问题,我只想在 https 上提供资产,cloudfront 对此有任何自定义 ssl 要求吗?
我的证书链无效,这就是造成所有麻烦的原因。
我有一个带有自定义来源 (EC2) 的 Cloudfront 发行版,当我像 http://xyz.cloudfront.net/assets/abcd.jpg
一样获取文件时我收到类似
的错误The request could not be satisfied.
CloudFront attempted to establish a connection with the origin, but either the attempt failed or the origin closed the connection.
CloudFront wasn't able to connect to the origin.
Generated by cloudfront (CloudFront)
Request ID: cDjvMwhz6AhjwOyTgEqwH6KPA3X97Zq1GXQLtvdUlkAWIUDmUAincA==
但是 10-15 分钟后,如果我尝试获取相同的 rom url,那么我工作正常,然后如果我获取新的 url,同样的事情会发生。我不明白这是什么问题,为什么第一次获取新文件会产生错误?
编辑
问题出在 https 上,我已经将云端分发更改为仅提供 https,现在云端总是 return "The request could not be satisfied."
我的服务器配置正确,我可以通过 https
访问它我不想使用自定义 CNAME,cloudfront 提供的 dns 名称没问题,我只想在 https 上提供资产,cloudfront 对此有任何自定义 ssl 要求吗?
我的证书链无效,这就是造成所有麻烦的原因。