What to do when the connection to MQTT server fails after importing flows?

This troubleshooting guide describes how to connect mqtt-in node from an old Node-RED flow

Problem

When copying mqtt-in nodes from old Node-RED flow, it is not possible to connect them.

Untitled

Solution

The root cause is that there is an old MQTT server still preselected (”ia_mosquitto”).

  1. Change the server to united-manufacturing-hub-vernemq:1883

    Untitled

If it does not exist yet, create a new one (in newer versions you do not have to specify “ia_nodered” anymore):

Untitled

Untitled

Last modified February 17, 2023: update (#208) (ea731fc)