addons-frontend: CSS is broken on -dev; CORS errors reported in the browser console

Describe the problem and steps to reproduce it:

  1. Load AMO -dev with the browser console opened
  2. Notice the page layout and the console messages

What happened?

The CSS is not loaded and the following errors can be seen in the console:

Access to CSS stylesheet at 'https://addons-amo-dev-cdn.allizom.org/amo-0f67d0acb9f599965ba2.css' from origin 'https://addons-dev.allizom.org' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
GET https://addons-amo-dev-cdn.allizom.org/amo-0f67d0acb9f599965ba2.css net::ERR_FAILED
Access to script at 'https://addons-amo-dev-cdn.allizom.org/amo-5c62d6abfc3e7e8be81c.js' from origin 'https://addons-dev.allizom.org' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
GET https://addons-amo-dev-cdn.allizom.org/amo-5c62d6abfc3e7e8be81c.js net::ERR_FAILED

What did you expect to happen?

AMO frontend is loaded successfully

About this issue

  • Original URL
  • State: closed
  • Created 4 years ago
  • Comments: 16 (12 by maintainers)

Most upvoted comments

Do you recall if we knew what the problem was on Friday?

No, we didn’t find out what happened last Friday.

Is there anything we can do to mitigate this?

@bobsilverberg I think we first need to understand what the cause is, then we can think about how to mitigate or fix it.