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 个月前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则