Issues with CloudFront CDN: CORS, ORB, and 502 Errors Affecting Users

0
9
Asked By TechieExplorer42 On

I've been running several client websites on a dedicated VPS in the UK, all utilizing a CloudFront CDN PAYG distribution configured the same way for quite some time. Recently, I've encountered issues where some users, particularly those outside the UK, are unable to fully load these sites. I've resolved several CORS errors during my checks, and based on my own testing in the UK using Edge, Chrome, and Firefox, everything seems to be working fine. However, some users from the US are still experiencing problems with CORS and 502 errors while others are not facing any issues. I've run tests through BrowserStack, where some states show no problems while others exhibit the same errors that I thought were fixed. The errors I'm seeing include browser console messages indicating blocked images and JavaScript files, often related to CORS policies or bad gateway errors. I'd really appreciate any insights into why this is happening and tips on how to resolve it, especially since I'm losing business opportunities due to these issues. Thanks!

3 Answers

Answered By CloudGuru99 On

Have you checked for any shared resources across your client sites? Sometimes, caching issues can cause one site's cache to conflict with another, leading to problems. Just double-check that everything is indeed isolated as you believe it is.

Answered By AWSolutionsPro On

Have you reached out to AWS support about this? They can classify it as a production issue and assist with any potential misconfigurations on your end.

Answered By DevWhiz007 On

We've had similar issues, and often it comes down to the specific browser setup. It's tricky to troubleshoot unless you can replicate the problem consistently. Make sure to gather details on OS, browser versions, and any extensions that users might have. We had a case where doing a HEAD request first cleared a cache miss and allowed the subsequent GET request to work without error.

Related Questions

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.