Cloudfront is throwing 504 error on a valid asset on a s3 bucket

0

I don't have a paid plan and I don't know where to ask this. The issue is, I've this clouldfront distribution that can't resolve 2 specific files, I already invalidated the files and also all the bucket but the problem remains. I don't see anything on the logs too.

Source url: https://s3.eu-west-3.amazonaws.com/m.proofing.albumteller.com/common/scripts/loading-helper/loading-helper.js Final url: https://m.proofing.albumteller.com/common/scripts/loading-helper/loading-helper.js

All other assets work fine, What can I do?

已提問 1 年前檢視次數 247 次
2 個答案
0

Is the bucket configured correctly as an S3 origin (using OAI or OAC) or a custom origin (where the bucket is configured as a website endpoint)? See https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/DownloadDistS3AndCustomOrigins.html for an explanation of these.

The error indicates CloudFront was unable to connect to the origin, so if it's configured for website hosting, confirm all your settings are correct, and in particular remember that S3 website endpoints do not support HTTPS

AWS
專家
Paul_L
已回答 1 年前
  • Confirmed everything, I saw one difference and I changed and invalidated the cloudfront again, but the error remains. The weird thing is that used to work for months.. I'll try to change the path or rename the file to see if behavior continues

-1
已接受的答案

Just got the problem! it was the cloudfront origin I was setting https instead of http.

已回答 1 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南