KB87993
Published:
Revision: 1.0

Wires get duplicated when installing missing node types.


Applies To:

groov products including:

  • GROOV-AR1, GROOV-AR1-BASE, GROOV-AR1-SNAP
  • GRV-EPIC-PR1
Any installation of Node-RED.

Versions Affected:

Node-RED 0.17.4.


Symptoms:

This bug in Node-RED  ONLY affects nodes of the same type that are connected together, and only when a project is used in a Node-RED instance that does not yet have the nodes installed.

Opto 22 users are somewhat likely to see this issue because:

  • They may chain our PAC or Groov nodes together, when reading multiple values in a series.
  • They may restore a Node-RED project to a different device.
  • After updating a PR1, the user MUST restore their Node-RED project and install any missing flows.
Symptoms:
After restoring or moving a Node-RED project and then installing missing nodes, there may be hidden duplicate wires between nodes. This cannot be easily seen, because the duplicate wires are on top of each other.

The duplicate wires cause messages to be duplicated, as if they were going to multiple nodes.

If more than two of the same node are chained together, then the wire and message duplication will grow exponentially.

Other possible symptoms:

Our nodes have an internal message queue mechanism that can hold 1000 messages waiting to be processed. In one case, a user had 8 or 9 PAC Read nodes chained together so the message queue filled quickly.

Workaround:

Once affected:

  • Delete and replace wires  OR 
  • Edit the project file's JSON (advanced users only)
To avoid:
  • After installing missing nodes, refresh the browser.

Questions?

Contact: Opto 22 Product Support.
Phone: 800-835-6786 or 951-695-3080
Email: support@opto22.com


DISCLAIMER

This Opto 22 Knowledge Base ('OptoKB') article is intended to provide general technical information on a particular subject or subjects and is not an exhaustive treatment of such subjects. Accordingly, the information in this OptoKB article is not intended to constitute application, design, software, or other professional engineering advice or services. Opto 22 may modify the OptoKB articles at any time. Before making any decision or taking any action which might affect your equipment, you should consult a qualified professional.

OPTO 22 DOES NOT WARRANT THE COMPLETENESS, TIMELINESS, OR ACCURACY OF THE DATA CONTAINED IN THIS OPTOKB ARTICLE AND MAY MAKE CHANGES THERETO AT ANY TIME AT ITS SOLE DISCRETION WITHOUT NOTICE. FURTHER, ALL INFORMATION CONVEYED HEREBY IS PROVIDED TO USERS 'AS IS.' IN NO EVENT SHALL OPTO 22 BE LIABLE FOR ANY DAMAGES OF ANY KIND INCLUDING DIRECT, INDIRECT INCIDENTAL, CONSEQUENTIAL, LOSS PROFIT, OR DAMAGE, EVEN IF OPTO 22 HAS BEEN ADVISED ON THE POSSIBILITY OF SUCH DAMAGES.

OPTO 22 DISCLAIMS ALL WARRANTIES WHETHER EXPRESSED OR IMPLIED WITH RESPECT TO THE INFORMATION (INCLUDING HARDWARE, SOFTWARE, AND/OR FIRMWARE) PROVIDED HEREBY, INCLUDING THE IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR PURPOSE, MERCHANTIBILITY, AND NON-INFRINGEMENT. Note that certain jurisdictions do not sanction the exclusion of implied warranties: thus, this disclaimer may not apply to you.

Copyright © 2019 Opto 22. All rights reserved.