IMD SolutionComputing LibraryShop main store

Troubleshooting

Failed to load node catalog: check the gateway and DNS first

Edge computing and IIoT Published 7 min read

Short answer

The error means the Node-RED editor on the edge computer could not download the catalog from nodered.org. It is almost always a missing default gateway or DNS entry on the edge computer's internet-facing interface, not a firewall rule, because the edge computer is not a router between its two ports.

On this page
  1. Why does Manage Palette say "Failed to load node catalog"?
  2. Does a successful ping to 8.8.8.8 prove internet access?
  3. Which device fetches the node catalog, the laptop or the edge computer?
  4. Can laptop traffic cross the edge computer's two Ethernet ports?
  5. What gateway and DNS settings does the edge computer need?
  6. How do I test gateway and DNS on the edge computer?
  7. Why is no firewall rule needed for Node-RED on the edge computer?
  8. What setup actually fixed it?
  9. Questions asked

When the Node-RED editor on an edge computer reports Failed to load node catalog, the computer that runs Node-RED has no working route to the internet: the interface it would use is missing its default gateway, or it has no DNS server configured, so the name nodered.org never resolves. Your browser laptop can be fine at the same moment, because the catalog is fetched by the edge computer, not by the browser. Fix the gateway and DNS on the internet-facing port and the catalog loads. No new firewall rule is needed when the editor runs on the same HTTPS port as the device's own web management interface.

Why does Manage Palette say "Failed to load node catalog"? #

The Nodes tab of Manage Palette is a live download: the Node-RED runtime on the edge computer requests the catalog over HTTPS from the public catalog host and shows that error string when the request times out or fails DNS. Everything else in the editor can work, because the editor itself is served locally and your browser talks only to the edge computer over the control network.

The error text points at the browser console, which is misleading on a plant network: the console shows the browser's failed request to the edge computer's catalog endpoint, but the root cause sits one hop further out, in the edge computer's outbound route. Before touching Node-RED configuration, prove the edge computer can resolve a public name and reach it.

Does a successful ping to 8.8.8.8 prove internet access? #

No. A reply from 8.8.8.8 proves only that packets reach a public IP address and come back; it proves nothing about DNS or about which interface carried the traffic. Manage Palette requests the catalog by hostname, so a system that can ping an address but cannot resolve nodered.org will still fail to load the catalog.

Treat the two tests as separate gates:

  • Ping an address such as 8.8.8.8: proves a route beyond the local subnet exists on some interface.
  • Resolve nodered.org: proves a DNS server is configured and reachable on that same path.

Both must pass before the catalog can load. A ping pass with a lookup failure is a DNS problem, not a Node-RED problem, and it is one of the cases covered in the knowledge-base article on Node-RED Manage Palette install failures.

Which device fetches the node catalog, the laptop or the edge computer? #

The edge computer fetches it. Node-RED runs there; the laptop runs only a browser session against the editor. Any internet access the laptop has is irrelevant to the catalog download, which trips up a lot of first-time setups: the engineer's laptop browses normally, the editor page opens, and the failure looks like a Node-RED bug when it is really the edge computer's network configuration.

This also settles the instinct to move the laptop to the internet and retry. That changes nothing, because the request never comes from the laptop. Give the edge computer its own internet path instead.

Can laptop traffic cross the edge computer's two Ethernet ports? #

No. A two-port edge controller is a computer with two network interfaces, not a router: it does not forward packets from one port to the other. If the laptop hangs off the control-network port and only the other port has internet, the laptop gets no internet through the controller, and the Node-RED runtime on the controller does not get the laptop's connection either.

Plan each device's path independently:

  • The edge computer needs an interface on a network with a gateway to the internet.
  • The laptop needs its own internet path if it needs one; it does not need internet at all for the catalog to load.
  • Nothing routes between the two ports, so do not design around bridging them.

A related trap is interface identity: port labels change between firmware versions and cabling orders. Identify the interfaces by function, which one faces the control network and which one faces the upstream network, and verify that mapping in the OS or the device's network page before editing addresses.

What gateway and DNS settings does the edge computer need? #

The internet-facing interface needs three things at once: an IP address and mask valid on the upstream network, a default gateway address on that same subnet, and at least one DNS server. A static IP with a blank gateway field is the most common cause of this exact error, because the interface answers local traffic while every outbound request to a public hostname fails.

Worked example, using example addresses: the upstream network is 192.168.1.0/24 with a router at 192.168.1.1. Give the edge computer's internet-facing interface the static address 192.168.1.10 with mask 255.255.255.0, enter 192.168.1.1 as the gateway, and enter 192.168.1.1 or a public resolver such as 9.9.9.9 as DNS server 1. Now nodered.org resolves to a public address and the HTTPS request leaves on the right interface. Omit the gateway and the lookup and request both fail; omit DNS and the address still pings while the name never resolves.

Mixing a static address on one port with DHCP on the other can leave the system confused about which gateway to use, so confirm what each interface is set to before changing anything.

How do I test gateway and DNS on the edge computer? #

Use the device's own network diagnostics page or a console session on the edge computer, in this order, and do not retry Manage Palette until every step passes:

  1. Confirm the interface map: which physical port faces the upstream network, and what mode it is in, static or DHCP.
  2. Read the gateway field at the bottom of the network settings; a blank gateway must be filled with the upstream router's address on that subnet.
  3. Read the DNS entries; at least one server must be present.
  4. Ping a public address such as 8.8.8.8 to prove a route beyond the local subnet.
  5. Run a name lookup for nodered.org and confirm it returns a public address.
  6. Use a traceroute or TCP port test toward the catalog host to see where the path stops if the first five pass.
  7. Reload the editor and open Manage Palette again.

If the edge computer runs Linux, checking the resolver and route from a shell is the same work; our guide on installing Node-RED natively on a Linux edge computer shows how that kind of install is set up and where its configuration lives.

Why is no firewall rule needed for Node-RED on the edge computer? #

Because the editor usually rides on the same HTTPS port as the device's web management interface, so the rule that already lets your browser in also carries the editor and its catalog endpoint. That was the case in the setup behind this error: Node-RED ran on port 443 alongside the management and view interfaces, so a separate Node-RED role added nothing.

Check your own device rather than assuming the port: if Node-RED listens on its default port 1880 instead, then outbound HTTPS to the catalog is what matters, and outbound traffic is rarely blocked by these devices' default rules. Either way, the catalog failure with a working management page points at gateway and DNS, not at a missing rule. If your outbound path runs through a proxy, that is a different failure with its own fix, described in our article on npm palette installs behind a proxy.

What setup actually fixed it? #

In the documented case, the controller showed no gateway address at all: the port facing the control network had a static address, the other port was idle on DHCP, and the gateway field was blank. Once the application engineer and the user gave the controller's internet-facing interface a valid gateway and DNS entries on an upstream network, the Opto22-class nodes installed normally through Manage Palette. The laptop also had its own internet access, which was convenient but not what made the install work.

The decision for each case: if the edge computer's internet-facing interface has no gateway, add the upstream router's address and a DNS server, then retry the catalog. If gateway and DNS both verify and the catalog still fails, capture the full network configuration, both interface modes, gateways and DNS entries, and take it to the vendor's support channel, and check the system certificates at that point, because an outdated trust store produces the same error string on a healthy route. And if the edge computer is older or the failure keeps returning, it may be time to replace the unit with a fanless mini PC rather than keep fighting its network stack.

Questions asked

Why does the browser laptop load pages fine while Manage Palette fails?

The browser runs on the laptop, but the catalog download is requested by Node-RED on the edge computer. If the laptop reaches the editor through a control network while the edge computer has no gateway or DNS entry on any interface, the editor shows failed to load node catalog even though your browser session works.

Can two devices share one internet connection through a two-port edge computer?

No. A two-port edge controller does not forward traffic between its Ethernet interfaces, so it will not carry the laptop's traffic to the internet. Each device that needs internet access needs its own path to a network that has a gateway, either the same upstream switch or a separate connection.

Does Node-RED need its own firewall rule on the edge computer?

Usually not. When the editor is served on the same HTTPS port as the device's web management interface, an existing management rule already covers it. Check which port your Node-RED editor actually listens on before adding any rule, and never open a rule for an interface that has no route to the internet.

How can I install palette nodes on an edge computer with no internet at all?

Download the node modules on an internet-connected workstation, transfer them to the edge computer, and install them from local files or a local npm registry. Our guide on installing vendor Node-RED nodes offline on an IPC walks through the offline install and version pinning.

Keep reading

  • Troubleshooting

    Fix MQTT sensor data missing in Node-RED

    A green MQTT connection in Node-RED proves only a broker session, not that the GSM module published a value or that the flow subscribes to its topic. An http in node cannot receive MQTT publications at all: use an mqtt in node. Trace RS-485 acquisition, publish result, broker identity and topic match in order, and fix the first stage with no positive result.

    Edge computing and IIoT

  • Troubleshooting

    Fix npm E502 when installing Node-RED nodes behind a proxy

    npm error code E502 on a palette install means an answering hop could not resolve or connect onward to the registry host, even when a generic HTTP check passes. Work the failure upstream from the proxy: confirm the proxy process, match the device's proxy address and mode, check the firewall rule, then verify outbound TCP 443 to registry.npmjs.org. Treat an App Unavailable editor as a missing localhost exception, a separate fault.

    Edge computing and IIoT

  • Troubleshooting

    Node-RED MQTT stuck on connecting inside a Docker container

    A Node-RED MQTT node stuck on connecting means no session was ever established: the transport connection to the server address and port never completed, or the broker declined the client. Test name resolution and routing from inside the container, then set the server to the broker's IP address and the port of its active listener. The controller's own IP works only when a broker actually listens there.

    Edge computing and IIoT