OPCFoundation / UA-Java-Legacy

This repository is provided by OPC Foundation as legacy support for an Java version for OPC UA.
https://github.com/OPCFoundation/UA-.NETStandard
Other
354 stars 226 forks source link

Error : Bad_InvalidTimestamp (0x80230000) "The timestamp is outside the range allowed by the server." #204

Open pradeipk opened 4 years ago

pradeipk commented 4 years ago

When our client tries to connect to one of the discovery server we get following error. ServiceFault: Bad_InvalidTimestamp (0x80230000) "The timestamp is outside the range allowed by the server."

After some research, found that, in Client.java the timestamp is not set in RequestHeader. Changes are needed in following methods in Client.java - discoverEndpoints and discoverServersOnNetwork.

dependency : opc-ua-stack-1.4.1 jar