2020-05-28 15:20:01.795 [DBG] OPC UA client opened with SecurityPolicy http://opcfoundation.org/UA/SecurityPolicy#Basic256, UserTokenType Certificate. 2020-05-28 15:20:01.795 [VRB] EasyUAClient Information OPCLabs-UAEngine: OPC-UA engine application info 'Time' -> UtcNow: 05/28/2020 12:20:01, Now: 05/28/2020 15:20:01, TickCount: 596555296. 2020-05-28 15:20:01.795 [VRB] EasyUAClient Information OPCLabs-UAEngine: OPC-UA engine application info 'Debugger' -> IsAttached: False. 2020-05-28 15:20:01.795 [VRB] EasyUAClient Information OPCLabs-UAEngine: OPC-UA engine application info 'AssemblyAttributes' -> AssemblyConfiguration: "Release". 2020-05-28 15:20:01.795 [VRB] EasyUAClient Information OPCLabs-UAEngine: OPC-UA engine application info 'ExecutingAssembly' -> FullName: "OpcLabs.BaseLib, Version=5.58.151.1, Culture=neutral, PublicKeyToken=6faddca41dacb409", Location: "D:\OpcUaTool\OpcUaTool\bin\Debug\net472\OpcLabs.BaseLib.dll", GlobalAssemblyCache: False. 2020-05-28 15:20:01.795 [VRB] EasyUAClient Information OPCLabs-UAEngine: OPC-UA engine application info 'AppDomain' -> Id: 1. 2020-05-28 15:20:01.795 [VRB] EasyUAClient Information OPCLabs-UAEngine: OPC-UA engine application info 'SystemAssembly' -> FullName: "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089", Location: "C:\Windows\Microsoft.NET\Framework\v4.0.30319\mscorlib.dll", GlobalAssemblyCache: True. 2020-05-28 15:20:01.795 [VRB] EasyUAClient Information OPCLabs-UAEngine: OPC-UA engine application info 'Clr' -> ClrVersion: "4.0.30319.42000", PtrSize: 4. 2020-05-28 15:20:01.795 [VRB] EasyUAClient Information OPCLabs-UAEngine: OPC-UA engine application info 'Process' -> Is64BitProcess: False, CurrentDirectory: "D:\OpcUaTool\OpcUaTool\bin\Debug\net472", Id: 19036. 2020-05-28 15:20:01.795 [VRB] EasyUAClient Information OPCLabs-UAEngine: OPC-UA engine application info 'User' -> Name: "[DELETED]", DomainName: "[DELETED]", Interactive: True. 2020-05-28 15:20:01.795 [VRB] EasyUAClient Information OPCLabs-UAEngine: OPC-UA engine application info 'OSConfiguration' -> MachineName: "CompanyName-PC13", SystemPageSize: 4096. 2020-05-28 15:20:01.795 [VRB] EasyUAClient Information OPCLabs-UAEngine: OPC-UA engine application info 'OperatingSystem' -> VersionString: "Microsoft Windows NT 6.2.9200.0". 2020-05-28 15:20:01.795 [VRB] EasyUAClient Information OPCLabs-UAEngine: OPC-UA engine application info 'Environment' -> Is64BitOperatingSystem: True, SystemDirectory: "C:\WINDOWS\system32". 2020-05-28 15:20:01.795 [VRB] EasyUAClient Information OPCLabs-UAEngine: OPC-UA engine application info 'Computer' -> ProcessorCount: 8. 2020-05-28 15:20:01.795 [VRB] EasyUAClient Information OPCLabs-UAEngine: The OPC-UA engine is connecting to the underlying subsystems. 2020-05-28 15:20:01.805 [DBG] Browsing nodes. RootNode is ns=2;s=[SOME_ROOT_NODE]. 2020-05-28 15:20:01.868 [VRB] EasyUAClient Information OPCLabs-UAEngine: OPC-UA engine SDK configuration successfully provided by "OpcLabs.EasyOpc.UA.Toolkit.ClientServer.InternalSdkConfigurationProvider". 2020-05-28 15:20:01.875 [VRB] EasyUAClient Information OPCLabs-UAEngine: The OPC-UA engine has determined the client instance certificate parameters as listed below. SubjectName: MYH3 StorePath: %CommonApplicationData%\OPC Foundation\CertificateStores\MachineDefault ApplicationName: MYH3 ApplicationUri: urn:CompanyName-PC13:OpcUaTool:1.4.1.0:neutral:null 2020-05-28 15:20:01.876 [VRB] EasyUAClient Information OPCLabs-UAEngine: The OPC-UA engine will resolve the client instance certificate parameters directory store path to "C:\ProgramData\OPC Foundation\CertificateStores\MachineDefault". 2020-05-28 15:20:01.909 [VRB] EasyUAClient Information OPCLabs-UAEngine: The OPC-UA engine has determined the application configuration parameters as listed below. ProductUri: urn:literal:string:OpcUaTool 2020-05-28 15:20:02.119 [VRB] EasyUAClient Information OPCLabs-EasyUAClient: Licensing for EasyUAClient component started, license serial number [DELETED], issuer name "OPC Labs", subject name "CompanyName International". 2020-05-28 15:20:02.169 [VRB] EasyUAClient Information OPCLabs-UAEngine: External information from "InteractionProviderCompositor" (0,1): Newly selected interaction handler is 'Console'. 2020-05-28 15:20:04.111 [VRB] EasyUAClient Information OPCLabs-UAEngine: The OPC-UA engine has successfully connected to the underlying subsystems. 2020-05-28 15:20:04.194 [VRB] EasyUAClient Information OPCLabs-UAEngine: The OPC-UA client session with connect sequence number 1 is connecting to endpoint URL "opc.tcp://localhost:9090/OpcUaServer". 2020-05-28 15:20:04.206 [VRB] EasyUAClient Information OPCLabs-UAEngine: The OPC-UA client session with connect sequence number 1 for discovery URL "opc.tcp://localhost:9090/OpcUaServer" will use an endpoint selection policy that has warnings. The policy warnings are: - An endpoint with obsolete security policy will always be selected by this policy. 2020-05-28 15:20:04.274 [VRB] EasyUAClient Information OPCLabs-UAEngine: OPC-UA endpoint selection on discovery URL "opc.tcp://localhost:9090/OpcUaServer" candidate report (1 entries) follows. [0:Winner(104)]. 2020-05-28 15:20:04.275 [VRB] EasyUAClient Warning OPCLabs-UAEngine: The preference for endpoint selection was not to use security, but the OPC-UA server endpoint URL "opc.tcp://CompanyName-pc13:9090/OpcUaServer", selected using discovery on endpoint URL "opc.tcp://localhost:9090/OpcUaServer", has message security mode 'SignAndEncrypt'. This happens when no unsecured endpoints are available and eligible for selection. 2020-05-28 15:20:04.277 [VRB] EasyUAClient Warning OPCLabs-UAEngine: The preliminary OPC-UA server endpoint URL selected using discovery on endpoint URL "opc.tcp://localhost:9090/OpcUaServer" differs in host name or port number from the discovery endpoint. The original endpoint URL "opc.tcp://CompanyName-pc13:9090/OpcUaServer" has been replaced by "opc.tcp://localhost:9090/OpcUaServer". 2020-05-28 15:20:04.277 [VRB] EasyUAClient Information OPCLabs-UAEngine: An OPC UA endpoint has been selected and normalized. Endpoint URL: "opc.tcp://localhost:9090/OpcUaServer", security mode: 'SignAndEncrypt', security policy URI: "http://opcfoundation.org/UA/SecurityPolicy#Basic256", transport profile URI: "http://opcfoundation.org/UA-Profile/Transport/uatcp-uasc-uabinary" 2020-05-28 15:20:04.278 [VRB] EasyUAClient Information OPCLabs-UAEngine: The OPC-UA client session with connect sequence number 1 has preselected an OPC-UA endpoint for discovery URL "opc.tcp://localhost:9090/OpcUaServer" with following parameters: Endpoint URL "opc.tcp://localhost:9090/OpcUaServer", message security mode 'SignAndEncrypt', security policy URI "http://opcfoundation.org/UA/SecurityPolicy#Basic256", transport profile URI "http://opcfoundation.org/UA-Profile/Transport/uatcp-uasc-uabinary, use binary encoding: yes. 2020-05-28 15:20:04.302 [VRB] EasyUAClient Information OPCLabs-UAEngine: The OPC-UA client session with connect sequence number 1 user token selection on endpoint URL "opc.tcp://localhost:9090/OpcUaServer" candidate report (1 entries) follows. [0:Winner("http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-x509-token-profile-1.0")]. 2020-05-28 15:20:04.320 [VRB] EasyUAClient Information OPCLabs-UAEngine: The OPC-UA client session with connect sequence number 1 on endpoint URL "opc.tcp://localhost:9090/OpcUaServer" has been associated with user identity token type 'Certificate', display name "CN=MYH3". 2020-05-28 15:20:04.367 [VRB] EasyUAClient Warning OPCLabs-UAEngine: The OPC-UA client session with connect sequence number 1 failed to connect to endpoint URL "opc.tcp://localhost:9090/OpcUaServer". OPC-UA service result - Error establishing a connection. = BadSecurityChecksFailed. ---- SERVICE RESULT ---- Status Code: {BadSecurityChecksFailed} = 0x80130000 (2148728832) Description: Error establishing a connection. ----- Status Code: {BadSecurityChecksFailed} = 0x80130000 (2148728832) Description: Error received from remote host: Certificate is not trusted. SubjectName: CN=MYH3, DC=CompanyName-PC13 IssuerName: CN=MYH3, DC=CompanyName-PC13 Additional Info: + The SDK action called was "static Session.Create". + Following (4) events were gathered during the action on activity ID [7], in the order of first occurrence: SDK trace: CreateSession Called. RequestHandle=1, PendingRequestCount=1 [6] SDK trace: Token #0 created. CreatedAt = 12:20:04.327 . Lifetime = 3600000 [6] Exception: {Opc.Ua.ServiceResultException} Error received from remote host: Certificate is not trusted. SubjectName: CN=MYH3, DC=CompanyName-PC13 IssuerName: CN=MYH3, DC=CompanyName-PC13 SDK trace: CreateSession Completed. RequestHandle=1, PendingRequestCount=0, StatusCode=Bad + Events starting with activity ID in [] may not necessarily be related to the current action. 2020-05-28 15:20:04.368 [VRB] EasyUAClient Information OPCLabs-UAEngine: The OPC-UA client session on endpoint URL "opc.tcp://localhost:9090/OpcUaServer" failed at tick 596557890 and will retry in 10000 milliseconds. 2020-05-28 15:20:04.374 [VRB] EasyUAClient Warning OPCLabs-UAEngine: The status subscription for an OPC-UA session on endpoint URL "opc.tcp://localhost:9090/OpcUaServer" is in failure. Further such warnings on this session will not be logged. OPC-UA service result - Error establishing a connection. = BadSecurityChecksFailed. ---- SERVICE RESULT ---- Status Code: {BadSecurityChecksFailed} = 0x80130000 (2148728832) Description: Error establishing a connection. ----- Status Code: {BadSecurityChecksFailed} = 0x80130000 (2148728832) Description: Error received from remote host: Certificate is not trusted. SubjectName: CN=MYH3, DC=CompanyName-PC13 IssuerName: CN=MYH3, DC=CompanyName-PC13 Additional Info: + The SDK action called was "static Session.Create". + Following (4) events were gathered during the action on activity ID [7], in the order of first occurrence: SDK trace: CreateSession Called. RequestHandle=1, PendingRequestCount=1 [6] SDK trace: Token #0 created. CreatedAt = 12:20:04.327 . Lifetime = 3600000 [6] Exception: {Opc.Ua.ServiceResultException} Error received from remote host: Certificate is not trusted. SubjectName: CN=MYH3, DC=CompanyName-PC13 IssuerName: CN=MYH3, DC=CompanyName-PC13 SDK trace: CreateSession Completed. RequestHandle=1, PendingRequestCount=0, StatusCode=Bad + Events starting with activity ID in [] may not necessarily be related to the current action. 2020-05-28 15:20:04.381 [ERR] An error occured while initializing client. OpcLabs.EasyOpc.UA.OperationModel.UAException: An OPC-UA operation failure with error ID 'Opc.UA.ServiceResult=0x80130000' occurred, originating from '' and with depth of 1. The inner OPC-UA service exception with service result 'BadSecurityChecksFailed' contains details about the problem. ---> OpcLabs.EasyOpc.UA.UAServiceException: OPC-UA service result - Error establishing a connection. = BadSecurityChecksFailed. ---- SERVICE RESULT ---- Status Code: {BadSecurityChecksFailed} = 0x80130000 (2148728832) Description: Error establishing a connection. ----- Status Code: {BadSecurityChecksFailed} = 0x80130000 (2148728832) Description: Error received from remote host: Certificate is not trusted. SubjectName: CN=MYH3, DC=CompanyName-PC13 IssuerName: CN=MYH3, DC=CompanyName-PC13 Additional Info: + The SDK action called was "static Session.Create". + Following (4) events were gathered during the action on activity ID [7], in the order of first occurrence: SDK trace: CreateSession Called. RequestHandle=1, PendingRequestCount=1 [6] SDK trace: Token #0 created. CreatedAt = 12:20:04.327 . Lifetime = 3600000 [6] Exception: {Opc.Ua.ServiceResultException} Error received from remote host: Certificate is not trusted. SubjectName: CN=MYH3, DC=CompanyName-PC13 IssuerName: CN=MYH3, DC=CompanyName-PC13 SDK trace: CreateSession Completed. RequestHandle=1, PendingRequestCount=0, StatusCode=Bad + Events starting with activity ID in [] may not necessarily be related to the current action. + The client method called was 'BrowseMultiple'. --- End of inner exception stack trace --- at OpcLabs.EasyOpc.UA.IEasyUAClientExtension.Browse(IEasyUAClient client, UABrowseArguments browseArguments) at OpcLabs.EasyOpc.UA.IEasyUAClientExtension.Browse(IEasyUAClient client, UAEndpointDescriptor endpointDescriptor, UANodeDescriptor nodeDescriptor, UABrowseParameters browseParameters) at OpcLabs.EasyOpc.UA.IEasyUAClientExtension.BrowseDataNodes(IEasyUAClient client, UAEndpointDescriptor endpointDescriptor, UANodeDescriptor nodeDescriptor) at OpcUaTool.Controllers.CustomClientOpcUa.Connection.OpcUaDataAccessQuickOpcClient.BrowseNodes(ItemRequest rootNode, Boolean withRecursion) in D:\OpcUaTool\OpcUaTool.Controllers\CustomClientOpcUa\Connection\OpcUaDataAccessQuickOpcClient.cs:line 332 at OpcUaTool.Controllers.CustomClientOpcUa.CustomClientOpcUaController.Connect(CancellationToken cancellationToken) in D:\OpcUaTool\OpcUaTool.Controllers\CustomClientOpcUa\CustomClientOpcUaController.cs:line 108 2020-05-28 15:20:04.387 [DBG] OPC UA client closed.