-
Notifications
You must be signed in to change notification settings - Fork 60
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
Immersive Editor refuses to connect in production #3786
Comments
Assigning to @cstns as the Immersive stuff is his domain, but I suspect this is more likely linked to how we've configured/setup |
As discussed in Slack, this seems to be a Chrome vs. Firefox difference. Both work fine with staging though |
Can confirm, the issue is browser related |
I narrowed it down to CSP difference between production & staging. The staging environment is hosted on .flowfuse.dev and the editor is hosted on .flowfuse.dev Both environments include the I'm not sure why Firefox doesn't enforce these policies the same way Chrome or other Webkit based browsers do because they all seem to have support for it. |
The fix for this requires Node-RED to set I cannot see how to get Node-RED to set that header with the current settings/APIs it exposes - this may have to be a new thing we add in NR 4. Meaning the immersive editor will only work with that version. In the immediate short term, we need to revert #3761 until we figure this out - as it stands, we cannot go live with the immersive editor. |
I reverted the editor links that were pointing to the immersive editor until we can add CSP headers to the instances |
#2246 (comment) is suggesting that we're okay with getting this to work with historical NR versions too? |
Not quite. There's still a dependency on a specific nr-launcher version that will know how to address Node-RED page redirects and pass them to the parent in order to handle them so it won't crash the iframe and I assume there's also a dependency on a Node-RED version that allows injecting custom links in the logo header and other menus |
Current Behavior
Works fine in Staging environment: https://forge.flowfuse.dev/
Expected Behavior
No response
Steps To Reproduce
Navigate to any instance overview and change the
/overview
in the URL to/editor
Environment
Have you provided an initial effort estimate for this issue?
I have provided an initial effort estimate
The text was updated successfully, but these errors were encountered: