When I try searching up my site i get 502 error cloudfront failed to establish a connection with the origin.

0

This just started to happen shortly after my cert expired on my WordPress Lightsail instance, I have re-issued the cert on my server and then totally re config the new CloudFront, still getting the same error. I'm not sure what the issue is. I can hit the page directly through instances IP.

Enter image description here

mthomas
gefragt vor 9 Monaten255 Aufrufe
2 Antworten
1

Hello.
Is there any possibility that the cache is still in CloudFront?
The following document describes how to delete the cache.
https://repost.aws/knowledge-center/cloudfront-clear-cache

If deleting the cache does not solve the problem, please check the following document once.
https://repost.aws/knowledge-center/cloudfront-502-errors

profile picture
EXPERTE
beantwortet vor 9 Monaten
1

Hi,

As you mention that you re-issued a new SSL certificate, I would suggest you to have a deep read of this article focused on 502 errors after new SSL cetificate: https://saturncloud.io/blog/how-to-troubleshoot-502-errors-after-updating-ssl-on-amazon-cloudfront/

You may well find the cause of your issue in it.

Best,

Didier

profile pictureAWS
EXPERTE
beantwortet vor 9 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