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"]
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}"]