Skip to content

Critical resources cannot be fetched from CDN #7

Description

@eismail-aiopsgroup

Very often critical resources like https://unpkg.com/monaco-editor@0.50.0/min/vs/loader.js cannot be fetched (502 Bad Gateway) and because of that, the console fails to load. I'm not sure if the cartridge is requesting this file, or it's loaded by an NPM package but perhaps it's better to have them stored locally if possible.

The page tries to load for a minute:
image
image

When not being able to fetch the JS file, the editor is not available:
image

The same happens with files like:

  • https://unpkg.com/monaco-editor@0.50.0/min/vs/editor/editor.main.css, too.
  • https://unpkg.com/monaco-editor@0.50.0/min/vs/base/common/worker/simpleWorker.nls.js
  • etc.

So it looks like there's something wrong with unkp.com.
As a workaround, I open the failed files in the browser directly, and it helps for the next load. But even in this case, I'm sometimes receiving a bad gateway error.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions