Quantcast
Channel: OPC Labs - OPC Labs - Recent Topics - OPC Labs Online Forums
Viewing all articles
Browse latest Browse all 1794

Server nonce, SIEMENS Sinumerik OPC UA server - by: Vosecky

$
0
0
Dear support,

Since last update to 5.70.1152 we are getting this error when we are trying to connect to the SIEMENS SINUMERIK OPC server. (complete error log is in the attachment)

What I can do with this error?

File Attachment:

File Name: OPC_error_M355.txt
File Size: 172 KB


D:18.56.13.0526:6339: OPC Client: OPC ERR: <nsu=SinumerikVarProvider;ns=2;s=/Channel/State/acProg || OpcLabs.EasyOpc.UA.Engine.UAEngineException: UA SDK error (System.Reflection.TargetInvocationException) in 'static Session.Create'. Exception has been thrown by the target of an invocation.
+ Connection attempt #703; last connected at 01-01-0001 00:00:00 (local); unconnected for 02:27:28.8910000.
+ The client method called (or event/callback invoked) was 'DataChangeNotification'. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> Opc.Ua.ServiceResultException: The server nonce has not the correct length or is not random enough.
at Opc.Ua.Client.Session.ValidateServerNonce(IUserIdentity identity, Byte[] serverNonce, String securityPolicyUri, Byte[] previousServerNonce, MessageSecurityMode channelSecurityMode)
--- End of inner exception stack trace ---
at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at OpcLabs.EasyOpc.UA.Sdk.Shims.SessionShim.ValidateServerNonce(IUserIdentity identity, Byte[] serverNonce, String securityPolicyUri, Byte[] previousServerNonce, MessageSecurityMode channelSecurityMode)
at OpcLabs.EasyOpc.UA.Sdk.Shims.SessionShim.Open2(String sessionName, UInt32 sessionTimeout, IUserIdentity identity, IList`1 preferredLocales, Boolean checkDomain)
at OpcLabs.EasyOpc.UA.Sdk.Shims.SessionShim.<Create>d__3.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at OpcLabs.EasyOpc.UA.Toolkit.Sdk.ToolkitSession.<Create>d__2.MoveNext()
--- End of inner exception stack trace ---> <nsu=SinumerikVarProvider;ns=2;s=/Channel/State/totalParts || OpcLabs.EasyOpc.UA.Engine.UAEngineException: UA SDK error (System.Reflection.TargetInvocationException) in 'static Session.Create'. Exception has been thrown by the target of an invocation.

Viewing all articles
Browse latest Browse all 1794

Trending Articles