Troubleshooting
Why a group of MQTT tags goes stagnant in Ignition
Short answer
Groups of tags can freeze between an Ignition MQTT edge node and the cloud server while the connection stays up, then recover on their own after hours. No fixed version is proven: an in-place module upgrade above 4.0.6 reproduced the same behavior during an active incident, so capture evidence while it happens and monitor past the 29-day recurrence.
On this page
- What does the failure profile actually show?
- Why does no alarm fire when a group of tags stops updating?
- Is it the connection, the edge node or the cloud side?
- How do you capture evidence before it self-clears?
- Does a second edge node stagnant from birth share the same fault?
- Will upgrading the MQTT modules above 4.0.6 fix it?
- How do you decide between upgrading and monitoring?
- Questions asked
One Ignition 8.0.17 site server publishes roughly 80,000 tags over MQTT to a cloud server running the same platform version. After close to a year of operation, a group of tags randomly stops updating in the cloud with no warning or notification, stays stagnant for hours to days, and later resumes on its own; one event cleared after 10 hours and the next appeared 29 days later. The cause is not proven, but the symptom pattern tells you exactly what to capture, in what order, and what the version history does and does not license you to conclude.
What does the failure profile actually show? #
The pattern points at a group-level stall inside the MQTT path, not a lost connection, and the self-clearing behavior means evidence must be captured live. The site and cloud both run Ignition 8.0.17, with the MQTT Transmitter, Engine and Distributor all at version 4.0.6. Events last hours to days, give no alarm, and one recovered after 10 hours with no intervention; the next occurred 29 days later. Version 4.0.6 was retained because later releases reportedly carried a separate wrong-historical-data problem, so version history is a trade-off, not a one-way upgrade path.
Why does no alarm fire when a group of tags stops updating? #
A stagnant group does not trip any connection-level alarm because the MQTT session itself stays established; only a subset of payloads stops being applied. Ignition's tag system and tag change scripts act on value or quality changes, so a tag that simply never receives a new value produces no event anywhere to alarm on. Without a freshness check — comparing each tag's timestamp against the current time — the stall is invisible until someone notices the values are old.
Is it the connection, the edge node or the cloud side? #
The reported site ruled out connectivity, but the tests behind that conclusion were not documented, so treat the stage as open and identify it with paired timestamps. Record, for affected tags and for healthy tags on the same path, the site value, the cloud value and the time each side last changed. If the site tag is current and the cloud tag is stale, the stall is between Transmitter publish and Engine-to-tag application; if both sides froze together, look upstream at the source device, not MQTT.
How do you capture evidence before it self-clears? #
Capture everything during the incident, before restarting services or changing versions, because a 10-hour self-recovery can erase the state mid-diagnosis. Work through this list:
- Record the first and last affected tag names to establish whether the boundary is a contiguous group or scattered individual tags.
- Compare affected tags with tags that keep updating through the same MQTT path.
- Check whether the boundary follows an edge node or another grouping visible in the configuration.
- Capture the operational state and available diagnostics for the Transmitter, the Distributor and the Engine while the event is active.
- Preserve logs and status pages before any restart, since the restart itself destroys the evidence.
- Test the second edge node separately; its values were reportedly stagnant from birth, which is a reproducible case, not the intermittent fault.
Does a second edge node stagnant from birth share the same fault? #
Treat it as its own case, because a failure present from the first publish is reproducible on demand while the first node's stall is random. That makes the second node the better diagnostic instrument: you can compare its Transmitter state and publish behavior against a working node at any time, without waiting for the intermittent event. The site also reported being unable to connect more than one edge node successfully, which points at Distributor connection handling for multiple clients and deserves its own capture.
Will upgrading the MQTT modules above 4.0.6 fix it? #
No fixed version is proven: during one active incident, an in-place module upgrade above 4.0.6 reproduced exactly the same stagnant behavior, so the upgrade did not recover that event. That observation does not prove later releases are permanently affected, but it removes the assumption that a newer version alone clears the condition. Vendor guidance was to move to a newer Ignition platform so current MQTT module versions can run; current module releases are downloadable per platform version from the vendor's site, but no release notes in the evidence name this fault as fixed.
How do you decide between upgrading and monitoring? #
Make the upgrade a controlled validation, not a fix attempt, and pair it with monitoring that outlasts the recurrence interval. The decision for each case:
- Intermittent group stall, self-clearing: keep the current version running, add a timestamp-freshness check on the affected group, and capture state at the next occurrence before touching anything.
- Second node stagnant from birth: debug it now against the Distributor and Engine, since it reproduces continuously.
- Version decision: before adopting anything above 4.0.6, verify both live updates and historical data on a test system, because the newer release must clear the stagnant behavior without reintroducing the wrong-historical-data problem that kept the site on 4.0.6.
- Resolution claim: monitor past 29 days of clean operation, longer than the observed recurrence interval, before calling it closed; a 10-hour self-recovery proves nothing about the fault.
For the paired-timestamp check, calculate staleness per tag as cloud now minus the tag's last-change timestamp; with an example group last updated at 02:00 and checked at 12:00, the staleness is 10 hours, which alone marks the group as stalled even though quality still reads good.
If the same fault pattern shows up in your own history data, our articles on why Ignition historian tags stopped recording while live data is good and on why MQTT Engine still feeds old tags after a broker stops cover the neighboring symptoms and how to tell them apart.
Questions asked
Why do some Ignition MQTT tags stop updating while others continue?
The failure follows a tag group, not the whole connection, so the fault is in how one set of values moves through the path rather than a dropped link. Compare the same tags at the site and the cloud, then capture Transmitter, Distributor and Engine state while the event is active to find the stage where the values stop.
Will upgrading the MQTT modules above 4.0.6 fix stagnant tags?
Not proven. During one active incident, upgrading above 4.0.6 produced exactly the same stagnant behavior, so no confirmed fix version exists in the reported evidence. Also weigh the separate wrong-historical-data problem that kept the site on 4.0.6 before adopting a newer release.
How long should stagnant MQTT tags be monitored after recovery?
Longer than 29 days, because one recurrence appeared that long after the previous event. A recovery after 10 hours without any corrective action shows the symptom left, not that the fault was fixed; resolution needs an observation window beyond the recurrence interval.
Does a second edge node failing from birth point to the same fault?
Treat it as a separate case. One site reported a second node whose values were stagnant from the first publish, which is a reproducible condition rather than an intermittent one. Test it independently against the Distributor and Engine; it often yields cleaner evidence than waiting for the random group freeze.