CloudFront 5xxErrorRate without technical evidences

0

I'm receiving a lot of error messages that suggest the resources associated with my CloudFront distributions are/were outage. Nevertheless, I cannot view any messages/logs associated with unavailable resources throughout AWS Health Dashboard.

The error message I've receiving looks like as informed below:

The AWS CloudFront instance XYZ is returning 5XX errors for 70.5882% of requests, putting it into a state of error. You should check that CloudFront is up and configured properly for your environment. If this is a side-effect of an AWS outage (eg. S3 is unavailable and your content is stored there), you should see an alert on the "AWS Service Health" EventSource soon. This condition has been ongoing since 2024-03-04 09:30:00 BRT, or for 0h 24m."

How can I troubleshoot this particular scenario?

2 Antworten
1
Akzeptierte Antwort

There could be multiple reasons.

Did you check your content is available in S3 ? ( if thats the origin ? ). Any policy/permission change on s3 ? ( in that the origin? ).

Next step would be have a look at this documentation to correlate the issue.

https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/troubleshooting-response-errors.html

You may need to enable cloudfront logs to dig deep into actual error code. https://docs.aws.amazon.com/athena/latest/ug/cloudfront-logs.html

beantwortet vor 2 Monaten
profile picture
EXPERTE
überprüft vor 2 Monaten
  • Hello,

    Unfortunately, I have tried all the options you mentioned. I have several types of endpoints for my CloudFront distributions, like API gateway, S3 buckets and others...

    ...and I keep getting these messages every 1-2 days

1

My hunch would be something behind your api gateway is throwing the 500 errors.

I would look at your application logs and like Muhammad said enable cloudfront logs.

profile picture
EXPERTE
beantwortet vor 2 Monaten

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen