IMD SolutionComputing LibraryShop main store

Troubleshooting

Why the Node-RED editor is unavailable when a ctrlX CORE goes offline

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

Short answer

When a ctrlX CORE goes offline and the Node-RED editor answers 'The app is currently not available', the fault in the documented case was not the network: it was the installed palette node-red-contrib-cip-st-ethernet-ip 2.0.3 in the Node-RED app 3.6.5+4.0.9-ctrlx. Confirm the browser still reaches the controller, capture the diagnostic logbook with debug messages on, then replace the ST package with node-red-contrib-cip-ethernet-ip.

On this page
  1. What the message tells you and what it does not
  2. Confirm the browser still reaches the controller offline
  3. Capture the diagnostic logbook with debug messages
  4. An empty flow does not isolate the package
  5. Replace the ST package with the tested alternative
  6. The decision for each outcome
  7. Questions asked

When a ctrlX CORE loses its internet connection and the Node-RED flow editor answers with "The app is currently not available", the fault is usually not the network. In the documented case — the Node-RED app 3.6.5+4.0.9-ctrlx on a ctrlX CORE X3 with the palette node-red-contrib-cip-st-ethernet-ip 2.0.3 installed — the message appeared the moment the upstream link was removed, and it disappeared only after that package was replaced with node-red-contrib-cip-ethernet-ip. Work through three checks in order: confirm the browser still reaches the controller, capture the diagnostic logbook with debug messages on, then test the installed package. An active PLC-to-InfluxDB flow and an empty flow both reproduced the fault, so the flow contents were not the trigger.

What the message tells you and what it does not #

"The app is currently not available" is the ctrlX app layer reporting that it cannot serve the editor behind a controller interface you can otherwise reach. It is not a browser timeout, not a certificate error and not a package-specific error code. Two different paths meet at that message: the browser-to-controller path that serves pages from the controller, and the package-loading path through which Node-RED brings contributed node code into the runtime. Serving the editor from a controller on your own network does not depend on an upstream internet link, so a reachable controller with an unavailable app points inside the app itself.

Do not confuse this with the blank editor canvas that can follow a Node-RED update, which is an editor rendering fault with its own causes and fixes — the page on why the Node-RED editor canvas is blank after an update covers that branch. Here the editor never loads at all, which means the app never answered the request.

Confirm the browser still reaches the controller offline #

Separate removal of the internet connection from removal of the local network path. The following sequence proves which one you lost:

  1. While everything works, record the controller address, the workstation's active network interface and the exact editor URL from the browser's developer tools.
  2. Remove only the upstream internet connection. Leave the workstation-to-controller path — cable, switch, addressing — untouched.
  3. Open the ctrlX management interface at the same local controller address.
  4. If the management interface also fails, fix the physical link, addressing or route first; the app is not yet the suspect.
  5. If the management interface opens and only the editor shows the message, the local path is proven good and the app layer is the target.
Path element Reading to take What it means
Controller link state Link up on both controller and workstation The physical path is intact; continue.
Management interface Opens at the same local address The browser reaches the controller; the fault sits in the app layer.
Editor request Response status and body in developer tools A response confirms the app answered with the message; silence points to the service, not the page.

Capture the diagnostic logbook with debug messages #

Enable debug messages in the ctrlX diagnostic logbook before reproducing the fault, then capture four moments in one record: app startup, the moment the upstream link drops, the first failed editor request, and any app restart or recovery afterwards. Look for package-loading errors, uncaught exceptions and repeated retry loops. A runtime that stops or cycles is a different fault from an app that stays up but stops answering, and the log distinguishes them.

Document the exact versions you are testing so the reproduction can be compared line by line later. In the reported case that pair was the Node-RED app named in the introduction on a ctrlX CORE X3, with current system updates and no numbered system release recorded — read the system version from the device when you build your own record.

One structural reason a contributed package can produce this symptom: Node-RED runs as a safe app on the ctrlX CORE, with limited access to external software and interfaces. Package initialization, background connection work and retry handling all run inside that app, so a misbehaving package can degrade the whole app rather than only its own nodes on the canvas.

An empty flow does not isolate the package #

Both the PLC-to-InfluxDB flow and an empty flow reproduced the fault, which rules out flow workload — but it does not isolate the installed package. Node-RED loads contributed node code at startup regardless of what the visible canvas holds, and configuration nodes can hold connection definitions outside the visible tab. Before you conclude the flow is innocent:

  • Inspect every flow tab for deployed nodes that still reference the ST package.
  • Check configuration nodes for PLC or database connections retained outside the visible tab.
  • Deploy the test configuration; clearing the canvas without deploying changes nothing in the runtime.
  • Repeat the offline test with the logbook capture running.

If the fault persists with no deployed workload, the installed package is the remaining variable. Move to replacing it instead of clearing the canvas again.

Replace the ST package with the tested alternative #

The fix that resolved the documented case is a package substitution: uninstall node-red-contrib-cip-st-ethernet-ip and install node-red-contrib-cip-ethernet-ip. After the substitution, the flow editor opened with the controller offline, for both the PLC-reading flow and the empty flow.

Work in this order:

  1. Export every flow and keep the exported JSON outside the controller.
  2. Install the replacement package while the controller still has connectivity; a palette install downloads the package, and an offline device fails that with a download error of its own.
  3. Remove the nodes and configuration that reference the ST package, then uninstall it.
  4. Rebuild the PLC connection on the replacement's own node types and fields. Similar names do not establish identical node types, configuration fields or stored connection definitions, so re-enter the tag paths deliberately.
  5. Repeat the offline editor test before returning the controller to service.

Make the swap in a maintenance window: uninstalling the package takes the data-collection path down until the replacement flow is deployed. If the palette change goes wrong or flows vanish during it, the page on troubleshooting Node-RED Manage Palette changes and lost flows walks through the recovery, and if the new package leaves the runtime crash-looping, the safe-mode and rollback procedure for a Node-RED crash after a node install is the next step.

Independent reports against the ST package describe PLCs dropping offline after a package update and mismatched tag ordering when reading arrays. Treat those as reported symptoms to watch for during your own verification, not as confirmed causes in your installation.

The decision for each outcome #

  • Management interface unreachable when the controller is offline: network fault. Restore the local path before touching the app.
  • Management interface reachable, editor shows the message, logbook capture clean: re-capture with debug messages enabled before changing anything.
  • Message reproduces with no deployed workload and the ST package installed: replace node-red-contrib-cip-st-ethernet-ip with node-red-contrib-cip-ethernet-ip. That substitution restored offline editor access in the documented case on that app version, and it is the decision for this symptom.
  • Fault persists after the substitution with everything else held constant: corrupted app data is the remaining branch. Restore the Node-RED app from a known-good app backup rather than iterating on further package changes.

Questions asked

Does the deployed flow keep running on a ctrlX CORE when the internet link is down?

The reported fault affected only editor access; it does not tell you what the runtime does with your flow offline. Editor serving, package downloads and flow execution are separate activities inside the app. If your PLC-to-database flow must keep collecting during an outage, test that explicitly: drop the upstream link, watch the diagnostic logbook with debug messages enabled, and confirm writes continue or buffer the way your flow design intends before you rely on it.

Why does installing a node package need internet access when opening the editor does not?

Installing a palette node downloads the package from its registry, and the device reports a download error when it is offline. That is why the replacement package must be installed while the ctrlX CORE is still connected, even though editor access itself failed offline. Staging the package ahead of the maintenance window avoids the problem entirely.

Are node-red-contrib-cip-st-ethernet-ip and node-red-contrib-cip-ethernet-ip interchangeable?

No, not as drop-in replacements. The names are similar but the packages are separate projects, and similar names do not establish identical node types, configuration fields or stored connection definitions. Plan to rebuild the PLC connection on the replacement package's own nodes, re-enter the tag paths, and verify the values against the PLC before the flow goes back into service.

How do you prove the package was the cause rather than something else that changed?

Change one variable and record two states. Capture the app name and package version first, for example app 3.6.5+4.0.9-ctrlx running the ST package 2.0.3, and reproduce the offline editor failure. Substitute only the package, leaving the app version, system release, network path and flow unchanged, then repeat the same offline test. The before-and-after comparison with everything else held constant is what assigns the cause to the package.

Keep reading

  • How-to

    Collect drive parameter data without master communication

    Node-RED reads ctrlX DRIVE and IndraDrive parameters through the ctrlX CORE Data Layer and the Drive Connect app, with no changes to the master control program. Same-subnet Ethernet covers every fieldbus case except EtherCAT, EtherCAT needs a configured EoE tunnel, and drives behind a gateway controller need a route on the collection CORE plus an explicit registration per drive address.

    Edge computing and IIoT

  • Troubleshooting

    node-red-industrial snap upload failed with exit status 1

    The exit status 1 upload error on a ctrlX CORE almost always means the snap is built for amd64 instead of arm64. Confirm the cause in the device diagnostic log, download with UBUNTU_STORE_ARCH=arm64, verify meta/snap.yaml lists arm64, then enable unknown sources and re-upload.

    Edge computing and IIoT

  • Troubleshooting

    Fix empty pin dropdowns in Node-RED RevPi nodes

    The pin list in the RevPi nodes is served by the separate noderedrevpinodes-server systemd unit, not by the Node-RED runtime. Start and enable that unit, save the PiCtory layout as start-config in physical module order, confirm node-red-contrib-revpi-nodes at 1.0.6 or newer, and restart the server before the nodered service. If pins vanish after the first read, re-configure the DIO inputs in PiCtory and reboot.

    Edge computing and IIoT