# OPCUA Client invalid endpoint error node-red-contrib-opcua issue

**URL:** <https://discourse.nodered.org/t/opcua-client-invalid-endpoint-error-node-red-contrib-opcua-issue/79630>\
**Category:** General\
**Created:** [7 July 2023 11:43 UTC](https://discourse.nodered.org/t/opcua-client-invalid-endpoint-error-node-red-contrib-opcua-issue/79630 "2023-07-07T11:43:35Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![laksh](https://avatars.discourse-cdn.com/v4/letter/l/35a633/32.png) [@laksh](https://discourse.nodered.org/u/laksh)\
**Post date:** [7 July 2023 11:43 UTC](https://discourse.nodered.org/t/opcua-client-invalid-endpoint-error-node-red-contrib-opcua-issue/79630/1 "2023-07-07T11:43:35Z")

</div>

I am getting the below message while connecting to opcua client. please suggest the solution for the same. image attached for your reference

> > 11:37:36.262Z :client\_base\_impl :531 Inner create secure channel has failed \>\>ClientTCP\_transport256: socket has been disconnected by third party  
> > Client connect error: The connection may have been rejected by server,  
> > Err = (ClientTCP\_transport256: socket has been disconnected by third party)  
> > 7 Jul 17:07:36 - [warn] [OpcUa-Client:dee671e0a01751dd] OpcUaClientNode: Case A: Endpoint does not contain, 1==None 2==Sign 3==Sign&Encrypt, using securityMode: [1]  
> > 7 Jul 17:07:36 - [warn] [OpcUa-Client:dee671e0a01751dd] OpcUaClientNode: using securityPolicy: ["[Profile Reporting Links](http://opcfoundation.org/UA/SecurityPolicy#None)"]  
> > 7 Jul 17:07:36 - [warn] [OpcUa-Client:dee671e0a01751dd] OpcUaClientNode: Case B: UserName & password does not match to server (needed by Sign or SignAndEncrypt), check username: undefined and password: undefined  
> > 7 Jul 17:07:36 - [warn] [OpcUa-Client:dee671e0a01751dd] OpcUaClientNode: Case C: With Sign you cannot use SecurityPolicy None!!  
> > 7 Jul 17:07:36 - [warn] [OpcUa-Client:dee671e0a01751dd] OpcUaClientNode: Invalid endpoint parameters:  
> > 7 Jul 17:07:36 - [error] [OpcUa-Client:dee671e0a01751dd] Client node error on: error: ["Wrong endpoint parameters: {"id":"0f05bb4a49ab044e","type":"OpcUa-Endpoint","\_closeCallbacks":,"\_inputCallback":null,"\_inputCallbacks":null,"wires":,"\_wireCount":0,"credentials":{},"endpoint":"opc.tcp://192.168.137.250:4840","securityPolicy":"None","securityMode":"None","login":false,"none":true,"usercert":false,"userCertificate":"","userPrivatekey":"","user":null,"password":null}"]
> > 
> > ![2023-07-07 17_08_55-Greenshot](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/c/7/c74094445798a6414d572ddac443f4142ecdc5b3.png)

---

<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:** [5 September 2023 11:43 UTC](https://discourse.nodered.org/t/opcua-client-invalid-endpoint-error-node-red-contrib-opcua-issue/79630/2 "2023-09-05T11:43:44Z")

</div>

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