IMD SolutionComputing LibraryShop main store

Troubleshooting

Why a Node-RED dashboard page goes blank in the browser

Edge computing and IIoT Published 8 min read By IMD Solution engineering team

Short answer

When /ui goes blank while the Node-RED log stays clean, the server started fine and the fault sits in the browser: a cached dashboard asset left over from a version change. Read the F12 console and the Network panel, confirm the failed file, and test a private window; if it renders, flush that browser's stored site data and hard-reload. Reinstalling the dashboard package will not fix a cache fault.

On this page
  1. What a clean startup log proves
  2. Read the browser console before touching the server
  3. Reading the console for a dashboard at 192.168.1.26:1880
  4. Flush the cache so the fix sticks
  5. When a private window is blank too
  6. The same fault in the editor
  7. When the page renders but widgets stay empty
  8. The decision, case by case
  9. Questions asked

A dashboard page that goes blank while the Node-RED log stays clean has not broken on the server: the log shows the dashboard registered and the flows running, so the runtime did its job. The blank page is the browser serving stale copies of dashboard files, usually left over from a version change, and the browser's own console names the file that fails. Press F12, reload the dashboard route, read the first console error and the failed request in the Network panel, then point the browser straight at that file's URL. If a private window renders the dashboard while the normal window stays blank, flush that browser's cache and hard-reload. Reinstalling the dashboard package — the step that consumed the most time in the reported case — changes nothing, because the stale file never sat on the server.

What a clean startup log proves #

The startup output in the reported case ends the way a healthy server ends: a line reporting the dashboard version and its route — Dashboard version 2.15.2 started at /ui — then the flows starting, then the MQTT broker connection succeeding, with no error after any of it. That is exactly the signature a browser-side fault leaves behind:

  • The dashboard registering its route means the web server, the route and the installed package all came up.
  • The flows starting means the runtime parsed and started every flow in the file it names.
  • The broker connection succeeding means the network path out of the host works.
  • None of that output captures the dashboard page's client-side JavaScript, so a failure there never reaches the log.

Silence in node-red-log after a blank page is therefore the expected result, not comfort. It tells you where not to look: do not restart the service, do not edit the settings file the log names, and do not rebuild the flows before the browser has been examined.

Read the browser console before touching the server #

The browser's developer tools answer the question the server log cannot: which file stopped the page. Work in this order:

  • Press F12 in Chrome and keep the Console and Network panels open while you reload the page.
  • Read the first console error, not the last: rendering stops at the first file that fails, and that error names it.
  • In the Network panel, find the failed request and record its full URL, its status and whether the response came from the browser's cache.
  • Point the browser directly at that file's URL in the same session. If the file loads on its own, the server is serving it correctly and the copy the page used was stale.
  • Repeat the whole test in a private window, which starts without the site's stored files.

Two outcomes decide everything. A private window that renders the dashboard while the normal window stays blank convicts the stored cache. A private window that also stays blank convicts the server side: scheme, listener address, route or the file itself.

Reading the console for a dashboard at 192.168.1.26:1880 #

Inputs. The startup banner tells the operator to open http://192.168.1.26:1880, and the log line reports the dashboard registered at /ui as version 2.15.2. The log ends with the flows started and the broker connected, no error after it. Chrome shows a blank page; Firefox rendered the dashboard earlier and then went blank too. The package was removed and reinstalled, then updated to the latest release, with no change. The F12 console reports that the browser failed to load the cache file correctly, so the page never rendered.

Rule. A blank page with a clean server log fails on the client, and a private window — which loads the site without the stored copies — is the deciding test.

Elimination. Log clean, so the server started. Route registered, so the route exists. Reinstall done with no change, so the server's files were not the fault. Update done with no change, so the version number was not the fault. Firefox worked earlier and then failed too, which fits two caches failing in turn rather than a server that never worked. The console names the cache load as the failure. Every server-side cause comes out clean; the only cause left standing is the browser's stored site data.

Result. The browser kept serving a cached dashboard asset from before the version change; that asset failed to load, and the page stopped before it rendered.

Decision. If the private window renders while the normal window is blank — as here — flush the browser's cache and reload, and do not reinstall the palette again. If the private window had also been blank, the decision flips to the server-side tests below.

Flush the cache so the fix sticks #

'Properly' is the word the fix hinges on: an ordinary reload revalidates some files and leaves others in place, and it was a version change that made the stored copies wrong.

  • Run the browser's hard reload first — Ctrl+F5 in Chrome and Firefox on Windows — which bypasses stored copies for that load.
  • If the page is still blank, clear the site's stored files through the browser's own settings: Chrome keeps this in its clear-browsing-data flow, Firefox under its site-data and history settings. Cookies alone are not enough; the cached files are the target.
  • Older releases of the dashboard nodes shipped a file named dashboard.appcache, a manifest telling the browser to keep dashboard files available offline. After a version change the browser keeps serving the old copies from that store even after an ordinary clear. The fix recorded in the dashboard project's issue tracker was to remove that manifest and clear the browser's application-cache storage; Chrome listed the stored caches on an internal page whose address starts with chrome://appcache-. Browsers current enough to have dropped application-cache support removed that store entirely, so their ordinary clear-browsing-data flow covers it.

Reload the dashboard route in the normal window afterwards and confirm the console comes back clean. From then on, treat every Node-RED or dashboard upgrade as a cache-invalidating event and flush on every browser that opens the dashboard, because the upgrade is exactly what makes the old files wrong.

When a private window is blank too #

That outcome moves the fault to the server side, and the reported log itself shows the first thing to reconcile: the banner prints an http address while the runtime reports the server running at https://127.0.0.1:1880/. Address, scheme, port and route are four separate things, and each fails on its own:

  • Scheme: request the route with the scheme the listener actually accepts. A certificate warning or a forced redirect can present as a blank page; resolve certificate errors through the site's certificate process, not by turning certificate checking off as a permanent state.
  • Address: on a remote workstation, 127.0.0.1 is that workstation, not the host running Node-RED, so a page that loads on the host proves nothing about the LAN-facing listener. Check the bind address in the settings file the log names and the address the workstation actually requests.
  • Route: request the dashboard route explicitly rather than the server root; a root response does not prove the dashboard works.
  • The file itself: open the failed file's URL directly. A script URL that comes back as an HTML login page is being redirected by authentication — per-user login on the dashboard is the layer that does this, and its requirements are set out in What per-user login on a Node-RED dashboard really requires. A file that errors even in a private window genuinely is not being served; only then is reinstalling the palette justified, and the package list should confirm the dashboard sits under the user directory the log names.

A ping reply from the host proves none of this: the web listener must answer, not just ICMP.

The same fault in the editor #

Stale cache does not stop at the dashboard. In one reported case on Node-RED v3.1.3 under Chrome 120.0.6099.129, the editor itself failed with RED.utils.validateTypedProperty is not a function after a version change, and a reload that cleared local cache fixed it. The lesson matches the dashboard's: after a Node-RED or palette upgrade, a browser still holding the old files can break in ways that look like code faults. The editor's own version of this — a canvas that comes up empty after an update — is worked through in Why the Node-RED editor canvas is blank after an update.

When the page renders but widgets stay empty #

A dashboard that comes back after the flush can still show empty widgets, and that is a different mechanism, not a leftover cache fault. The ui-table node documents that data sent to it through commands is not cached: a newly opened or reconnected browser starts with an empty table until the flow sends rows again. The fix belongs to the flow — republish the current rows when a client connects, for instance with an inject node triggered on connection. Charts misbehave the same way across a fresh page load, which is why a dashboard chart can flatten to a straight line after reopening; that case is worked in Why a Node-RED dashboard chart flattens to a straight line.

The decision, case by case #

  • Log clean, private window renders: the cache is the fault. Flush the stored site data in that browser, hard-reload, and stop there — no reinstall, no flow edits.
  • Log clean, private window blank: reconcile the scheme, listener address, dashboard route and the failed file itself; only a file that errors in a private window justifies reinstalling the palette.
  • Log shows errors at startup: fix the server first, then retest the browser, because the cache test is only valid against a server that came up cleanly.
  • Page renders, widgets empty: republish the data from the flow on client connect; the browser was never caching widget data.

Questions asked

Does reinstalling node-red-dashboard fix a blank dashboard page?

Not when the log is clean and a private window renders the page. In the reported case the package was removed, reinstalled and then updated to the latest release, and the page stayed blank, because the stale asset sat in the browser's cache, not on the server. Reinstall only when the failed file also errors in a private window or when opening its URL directly fails.

Why did the dashboard go blank in Chrome first and Firefox later?

Each browser keeps its own cache, so clearing one does nothing for the other. After a version change, the first browser to request the changed file blanks out first; the second follows once it holds the same stale copy. Flush the stored site data in every browser and device that opens the dashboard, including any shop-floor tablet, which counts as another cache.

What is the dashboard.appcache file and why does it matter?

Older releases of the dashboard nodes shipped a dashboard.appcache manifest, which tells a browser to keep dashboard files available offline. After a version change the browser keeps serving the old copies from that store, and the page can stay blank even after a normal cache clear. The fix recorded in the project's issue tracker was to remove the manifest and clear the browser's application-cache storage; current browsers have dropped that technology, so the ordinary clear-browsing-data flow covers it.

Why does a table widget stay empty after the page loads?

The ui-table node does not cache the rows sent to it, so a newly opened or reconnected browser starts with an empty table until the flow sends data again. That is a flow fix, not a cache flush: add an inject or trigger node that republishes the current rows when a client connects, so every fresh dashboard session receives the table contents.

Keep reading

  • Explainer

    What per-user login on a Node-RED dashboard really requires

    Node-RED Dashboard cannot scope tabs per user: it applies one gate to the whole application. The six-tab shop-floor layout — a public dashboard, two engineer-only tabs and one machine-entry tab per supervisor — needs a session layer on uibuilder or middleware that validates session, role and machine on every request. Hiding a tab is navigation, not authorization; the backend must reject out-of-scope requests itself.

    Edge computing and IIoT

  • How-to

    Configuring MQTT TLS certificates in Node-RED on an edge PC

    Configure the MQTT node's own TLS inputs: the broker's CA chain always, the client certificate and private key when the broker requires mutual TLS. A platform certificate store is invisible to Node-RED until the installed integration exposes it, so use persistent files unless store support is verified, and renew in a staged 30-day window.

    Edge computing and IIoT

  • Troubleshooting

    Fixing an edge gateway MQTT TLS private key load failure

    The errors error:0906D06C PEM routines:PEM_read_bio:no start line and error:140B0009 SSL routines:SSL_CTX_use_PrivateKey_file mean the gateway cannot parse its own private-key file, so the failure is local and happens before the broker sees anything. On a Flexy 205 running firmware 15.0s1 the confirmed correction is the 15.0s2 firmware upgrade with the same certificate files, not new keys or AWS IoT policy edits.

    Edge computing and IIoT

InfluxDB tag and field schema for a PLC historian dashboard