Score:0

Amazon Lightsail + CDN 502 Error

us flag

I have gone through all of the various posts here about the issue as well as gone through this link and still can't solve the problem.

Using Amazon's Lightsail and Amazon Linux 2, I tried setting up a CDN distribution and it returns the error: "502 Error The request could not be satisfied."

What I have done:

  1. I have a working instance, with a SSL certificate for example.com, www.example.com and cms.example.com.

  2. Attached a distribution to that instance.

  3. Added a SSL to the distribution for cdn.example.com and example.com and it says it is in use

  4. Verified the custom domain via DNS for cdn.example.com

  5. For the policy, I have set "forward default HTTP headers"

  6. I have this checked "Your distribution pulls content from your origin using HTTPS only"

I have tested the origin domain using openssl s_client -connect example.com:443 and I see the certificate for example.com in there,

I'm also not using Bitnami/Wordpress.

Any guidance and solving the problem is appreciated.

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.