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달 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠