I have my Node-Red installation behind a traefik proxy using basicAuth.
With basicAuth middleware enabled i get the nodered banner and nothing more.
fqdn/ui shows my UI and works.
When i disable basicAuth as middleware in traefik, the nodered flows and gui works as normal.
Anyone knows how to fix this? Have tested a lot, but came no closer to a solution.
Not ever used Traefik as I use NGINX but I rather imagine that it means that the iotlogin function is failing. But without knowing more about what that is, hard to say. Isn't there any log output?
Source map error: Error: request failed with status 404
Resource URL: https://nodered......com/vendor/vendor.js?v=3.0.2
Source Map URL: purify.min.js.map
Error: Promised response from onMessage listener went out of scope
The vendor.js is accessible via the proxy.
Firefox, shows the black banner line.
Safari, shows the Node-red login dialogue but does not accept the username/password combination.
I suspect that the source map error isn't the issue here. That is really just a warning that the js files source map can't be found. It doesn't stop anything from working since a source map is purely optional.
But I don't think that the problem is at the browser end anyway. The actual problem, as I said, is almost certainly in the "iotlogin" middleware. You need to understand what that is or isn't doing and whether it is generating any log output on the server.