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
已提問 9 個月前檢視次數 255 次
2 個答案
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
專家
已回答 9 個月前
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
專家
已回答 9 個月前

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

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

回答問題指南