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?

2 Respostas
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
ESPECIALISTA
Paul_L
respondido há um ano
  • 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
Resposta aceita

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

respondido há um ano

Você não está conectado. Fazer login para postar uma resposta.

Uma boa resposta responde claramente à pergunta, dá feedback construtivo e incentiva o crescimento profissional de quem perguntou.

Diretrizes para responder a perguntas