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

Third-party nodes not loading when Dashboard hosted on proxy #1024

Open
joepavitt opened this issue Jun 25, 2024 · 3 comments
Open

Third-party nodes not loading when Dashboard hosted on proxy #1024

joepavitt opened this issue Jun 25, 2024 · 3 comments
Labels
bug Something isn't working needs-triage Needs looking at to decide what to do size:M - 3 Sizing estimation point

Comments

@joepavitt
Copy link
Collaborator

Current Behavior

Details: https://discourse.nodered.org/t/d2-third-party-nodes-do-not-appear-blocked-due-to-forbidden-mime-text-html/88916

Reported error:

/resources/@colinl/node-red-dashboard-2-ui-gauge-classic/ui-gauge-classic.umd.js” zostało zablokowane z powodu niedozwolonego typu MIME („text/html”).`

I suspect we have a hardcoded path when loading third-party nodes

Expected Behavior

Third party widgets should be loading as core nodes do.

Steps To Reproduce

  • Will need to setup an nginx proxy
  • Install a third-party widget

Environment

  • Dashboard version:
  • Node-RED version:
  • Node.js version:
  • npm version:
  • Platform/OS:
  • Browser:

Have you provided an initial effort estimate for this issue?

I have provided an initial effort estimate

@joepavitt joepavitt added size:M - 3 Sizing estimation point bug Something isn't working needs-triage Needs looking at to decide what to do labels Jun 25, 2024
@joepavitt joepavitt changed the title Third-arty nodes not loading when Dashboard hosted on proxy Third-party nodes not loading when Dashboard hosted on proxy Jun 25, 2024
@colinl
Copy link
Contributor

colinl commented Jun 25, 2024

For the record, I use Cloudflare Zero Trust as a proxy and I don't see the problem there.

@joepavitt
Copy link
Collaborator Author

Link to an nginx config we've had working locally before: #526 (comment)

@joepavitt
Copy link
Collaborator Author

Other reporting that it works okay with nginx, and that Docker may be the problem: https://discourse.nodered.org/t/d2-third-party-nodes-do-not-appear-blocked-due-to-forbidden-mime-text-html/88916/8?u=joepavitt

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working needs-triage Needs looking at to decide what to do size:M - 3 Sizing estimation point
Projects
None yet
Development

No branches or pull requests

2 participants