# Node-red-contrib-opcua - connection error: end point must exist

**URL:** <https://discourse.nodered.org/t/node-red-contrib-opcua-connection-error-end-point-must-exist/44741>\
**Category:** General\
**Created:** [26 April 2021 10:45 UTC](https://discourse.nodered.org/t/node-red-contrib-opcua-connection-error-end-point-must-exist/44741 "2021-04-26T10:45:42Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ashkan](https://avatars.discourse-cdn.com/v4/letter/a/67e7ee/32.png) [@Ashkan](https://discourse.nodered.org/u/Ashkan)\
**Post date:** [26 April 2021 10:45 UTC](https://discourse.nodered.org/t/node-red-contrib-opcua-connection-error-end-point-must-exist/44741/1 "2021-04-26T10:45:42Z")

</div>

Hello everyone,

i´m trying to connect my PLC over the Client with Node-RED.  
i added in my Client a Server with the correct address (hopefully 🙂 )but i receive this error " Client node error on: error: [" OPC UA connection error: End point must exist opc.tcp://139.6.134.110:4840"]".

when i Change somthing on my PLC changes the value on Client, which means they are connected, but i can't connect my Client with Node-RED.

could someone help me please?  
 ![Unbenannt](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/b/3/b332bc937e2ad5a684f41ca4d89767bae685374d.png)

---

<div class="post-metadata">

**Author:** ![Steve-Mcl](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/steve-mcl/32/4826_2.png) [@Steve-Mcl](https://discourse.nodered.org/u/Steve-Mcl)\
**Post date:** [26 April 2021 14:50 UTC](https://discourse.nodered.org/t/node-red-contrib-opcua-connection-error-end-point-must-exist/44741/2 "2021-04-26T14:50:04Z")

</div>

is the node-red server on the same IP address range as the opc server?

Add node-red-node-ping and see if you can ping `139.6.134.110` from node-red.

---

<div class="post-metadata">

**Author:** ![Ashkan](https://avatars.discourse-cdn.com/v4/letter/a/67e7ee/32.png) [@Ashkan](https://discourse.nodered.org/u/Ashkan)\
**Post date:** [26 April 2021 15:29 UTC](https://discourse.nodered.org/t/node-red-contrib-opcua-connection-error-end-point-must-exist/44741/3 "2021-04-26T15:29:00Z")

</div>

![Unbenannt01](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/b/e/bec7b54670d95ca64e86344b50e75da97fce60b3.png)

did you mean like this?

---

<div class="post-metadata">

**Author:** ![Steve-Mcl](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/steve-mcl/32/4826_2.png) [@Steve-Mcl](https://discourse.nodered.org/u/Steve-Mcl)\
**Post date:** [26 April 2021 16:19 UTC](https://discourse.nodered.org/t/node-red-contrib-opcua-connection-error-end-point-must-exist/44741/4 "2021-04-26T16:19:18Z")

</div>

No. Just feed the ping to a debug node. Do you get successful pings from node-red to the OPC server?

---

<div class="post-metadata">

**Author:** ![Ashkan](https://avatars.discourse-cdn.com/v4/letter/a/67e7ee/32.png) [@Ashkan](https://discourse.nodered.org/u/Ashkan)\
**Post date:** [27 April 2021 07:54 UTC](https://discourse.nodered.org/t/node-red-contrib-opcua-connection-error-end-point-must-exist/44741/5 "2021-04-27T07:54:14Z")

</div>

![Unbenannt02](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/5/b/5bed84ed0b58d165b01ea1c9f967bd0c7e8b25c5.png)

that looks to be connected correctly  
i copied my OPC URL from my Client, everythings looks good, but when i use OPCUA-Client in Node-RED i receive the errors

---

<div class="post-metadata">

**Author:** ![Steve-Mcl](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/steve-mcl/32/4826_2.png) [@Steve-Mcl](https://discourse.nodered.org/u/Steve-Mcl)\
**Post date:** [27 April 2021 07:56 UTC](https://discourse.nodered.org/t/node-red-contrib-opcua-connection-error-end-point-must-exist/44741/6 "2021-04-27T07:56:47Z")

</div>

have you entered that full URL into the ping node?

Ping only operates on hostname or IP

Only enter the IP 139.6.134.110 - check again

---

<div class="post-metadata">

**Author:** ![Ashkan](https://avatars.discourse-cdn.com/v4/letter/a/67e7ee/32.png) [@Ashkan](https://discourse.nodered.org/u/Ashkan)\
**Post date:** [27 April 2021 08:07 UTC](https://discourse.nodered.org/t/node-red-contrib-opcua-connection-error-end-point-must-exist/44741/7 "2021-04-27T08:07:37Z")

</div>

i get the massage: "some configurations-node are not used, klich hier to see"  
when i click i see what in Picture

 ![Unbenannt03](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/5/4/546c048802a5032fc8a28abae62e1ff68122ae5b.png)

when i choose one of them, the same thing happens like the last picture

---

<div class="post-metadata">

**Author:** ![Steve-Mcl](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/steve-mcl/32/4826_2.png) [@Steve-Mcl](https://discourse.nodered.org/u/Steve-Mcl)\
**Post date:** [27 April 2021 08:08 UTC](https://discourse.nodered.org/t/node-red-contrib-opcua-connection-error-end-point-must-exist/44741/8 "2021-04-27T08:08:40Z")

</div>

you have multiple unused config nodes - delete the ones not in use.

does ping work?

---

<div class="post-metadata">

**Author:** ![Ashkan](https://avatars.discourse-cdn.com/v4/letter/a/67e7ee/32.png) [@Ashkan](https://discourse.nodered.org/u/Ashkan)\
**Post date:** [27 April 2021 08:17 UTC](https://discourse.nodered.org/t/node-red-contrib-opcua-connection-error-end-point-must-exist/44741/9 "2021-04-27T08:17:16Z")

</div>

![Unbenannt05](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/5/2/5247799f2cc8dac1e2d4ebb3483a4bb6be26d69a.png)

it's working

---

<div class="post-metadata">

**Author:** ![Steve-Mcl](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/steve-mcl/32/4826_2.png) [@Steve-Mcl](https://discourse.nodered.org/u/Steve-Mcl)\
**Post date:** [27 April 2021 08:24 UTC](https://discourse.nodered.org/t/node-red-contrib-opcua-connection-error-end-point-must-exist/44741/10 "2021-04-27T08:24:31Z")

</div>

is OPC now working?

If not, I can only suggest you read through the issues on [the projects github issues pages](https://github.com/mikakaraila/node-red-contrib-opcua/issues?q=) - you might find a solution.

EDIT: I updated the title for better exposure

---

<div class="post-metadata">

**Author:** ![Ashkan](https://avatars.discourse-cdn.com/v4/letter/a/67e7ee/32.png) [@Ashkan](https://discourse.nodered.org/u/Ashkan)\
**Post date:** [27 April 2021 08:27 UTC](https://discourse.nodered.org/t/node-red-contrib-opcua-connection-error-end-point-must-exist/44741/11 "2021-04-27T08:27:19Z")

</div>

OPC is not working.

ok thanks a lot

---

<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:** [26 June 2021 08:27 UTC](https://discourse.nodered.org/t/node-red-contrib-opcua-connection-error-end-point-must-exist/44741/12 "2021-06-26T08:27:55Z")

</div>

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