Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when loading assets/mode-pipeline.js for pipeline source code editor. #16725

Open
linuspahl opened this issue Sep 27, 2023 · 2 comments
Open

Comments

@linuspahl
Copy link
Contributor

linuspahl commented Sep 27, 2023

Description

When opening the source code editor for a pipeline rule, the following browser console error occurs in production:

Refused to execute script from '/assets/mode-pipeline.js' because its MIME type ('text/html') is not executable, and strict MIME type checking is enabled.

In the dev environment the console error is:

Uncaught SyntaxError: Unexpected token '<' (at mode-pipeline.js:1:1)

In both cases the JS file contains HTML. I just checked it for development, but the related JS code is still being executed.

Your Environment

  • Graylog Version: dev version for 5.2, error occurs also with 5.1 and 5.0
@drewmiranda-gl
Copy link
Member

Noting i still see this in 6.0.3. Unclear if its harming functionality in any way or is a benign error.

@linuspahl
Copy link
Contributor Author

It does not harm any functionality.

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

No branches or pull requests

4 participants