# Node-red-contrib-opcua frequently halts Node-Red machine

**URL:** <https://discourse.nodered.org/t/node-red-contrib-opcua-frequently-halts-node-red-machine/47001>\
**Category:** Industrial\
**Created:** [10 June 2021 23:52 UTC](https://discourse.nodered.org/t/node-red-contrib-opcua-frequently-halts-node-red-machine/47001 "2021-06-10T23:52:25Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![bobfield](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/bobfield/32/83723_2.png) [@bobfield](https://discourse.nodered.org/u/bobfield)\
**Post date:** [10 June 2021 23:52 UTC](https://discourse.nodered.org/t/node-red-contrib-opcua-frequently-halts-node-red-machine/47001/1 "2021-06-10T23:52:25Z")

</div>

Hi node-red-contrib-opcua users,

I'm using the opcua client to read tags from an opc server. It works, but frequently, when there is some opc server problem, the opcua client node begins to send several error messages to the debug area, and the node-red machine stopped. Is there a way to disable the debug message error of the node?

Thanks,

Roberto Campos

---

<div class="post-metadata">

**Author:** ![tree-frog](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/tree-frog/32/89303_2.png) [@tree-frog](https://discourse.nodered.org/u/tree-frog)\
**Post date:** [7 August 2021 18:33 UTC](https://discourse.nodered.org/t/node-red-contrib-opcua-frequently-halts-node-red-machine/47001/2 "2021-08-07T18:33:06Z")

</div>

You can use a "Catch" node to handle the errors on that OPCUA node.

---

<div class="post-metadata">

**Author:** ![bobfield](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/bobfield/32/83723_2.png) [@bobfield](https://discourse.nodered.org/u/bobfield)\
**Post date:** [11 September 2021 10:11 UTC](https://discourse.nodered.org/t/node-red-contrib-opcua-frequently-halts-node-red-machine/47001/3 "2021-09-11T10:11:54Z")

</div>

Hi /hp\_apcc,

Thanks for your attention. We solved the problem, changing the action in the OPC-UA node from READ to SUBSCRIBE. Then the tags are sent only when its value change, lowing the comunication frequency.

Best regards.

Roberto

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [25 September 2021 10:12 UTC](https://discourse.nodered.org/t/node-red-contrib-opcua-frequently-halts-node-red-machine/47001/4 "2021-09-25T10:12:39Z")

</div>

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
