CORS on CloudFront

0

Yesterday my app went down since I started getting "[Error] XMLHttpRequest cannot load https://d9rnb4peo8bk4.cloudfront.net due to access control checks. [Error] Failed to load resource: Preflight response is not successful" Something changed? Ny ideas how to fix it, CloudFront setup to allow CORS and was working fine. Any ideas?

已提问 2 年前262 查看次数
1 回答
0

Hi, have you checked the response of preflight request ? The preflight request might received a 4xx or 5xx error. It is common that the error message does not include CORS response headers and browser blocked it for security caution.

AWS
已回答 10 个月前

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

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

回答问题的准则