Time trial has ended, but why???

Questions regarding the use of the .NET SDK 2.0 for Server or Client development or integration into customer products ...

Moderator: uasdknet

Post Reply
rainmang
Full Member
Full Member
Posts: 5
Joined: 13 Feb 2017, 14:26

Time trial has ended, but why???

Post by rainmang »

In our application using a licensed OPC UA client SDK we are checking the license during startup. Everythings works as expected.
However after about one hour we are getting an error message: "OPC UA Server did nor respond, retrying. Message: Time trial has ended."
This message is repeated several times. After this an other message occurs: "OPC UA Server did nor respond, retrying. Message: The operation is not available because the session is in the 'Disconnected' state"
Both messages are note beeing generate by our application, so they must be thrown by the SDK.

Could you please explain the reason of these messages.

Unformunately I cannot find any reference in you documentation.

Rainer

User avatar
Support Team
Hero Member
Hero Member
Posts: 3064
Joined: 18 Mar 2011, 15:09

Re: Time trial has ended, but why???

Post by Support Team »

Hello Rainer,

Please make sure that the license is added correctly:
[*]The assemblies from thwe download share are used
[*] ApplicationInstance.Start is called after AddLicense
Please see documentation: Licensing the SDK

Make sure that the server is licensed, too.
Best regards
Unified Automation Support Team

rainmang
Full Member
Full Member
Posts: 5
Joined: 13 Feb 2017, 14:26

Re: Time trial has ended, but why???

Post by rainmang »

In the meanwhile we found out that the customer started an old version of you software which, indeed was build only using the trial version.

What was very confusing for us is that the Client SDK created an error message: "OPC UA Server did nor respond, retrying. Message: Time trial has ended" This made us assume that the server was not working correctly, perhaps because of a trial license on this (server) side.

Finally it was the OPC UA Client which was not licensed.

Rainer

hartmut_irs
Jr. Member
Jr. Member
Posts: 4
Joined: 26 Oct 2018, 08:31

Re: Time trial has ended, but why???

Post by hartmut_irs »

Dear Support Team,

we have the same problem that after one hour the connection to the OPC server is ended with the message "Time trial has ended" but didn't found any solution inside the forum.
-> After a restart of the client the connection can be established again but after one hour the same problem occurs.

We are using an OPC UA Client, the server is a Siemens SIMATEC S7 controller.

The client license is: Unified Automation license information: ***VALID***UaSdkNetClient-2.5.8-Win32-Binary - ClientSDK enabled - Hartmut Knecht - IRS Software GmbH - - UaSdkNetClient-2.5.8-Win32-Binary
We tested it with the ClientSDK ver. 2.5.8 as well as the latest SDK ver. 2.6.1 downloaded from the UA download page.
Both have the same behaviour.
UnifiedAutomation.UaBase.ApplicationLicenseException: Time trial has ended.
bei UnifiedAutomation.UaBase.ClientBase.UpdateRequestHeader(IServiceRequest request, Boolean useDefaults, String serviceName)
bei UnifiedAutomation.UaBase.SessionClient.BeginWrite(RequestHeader requestHeader, WriteValueCollection nodesToWrite, AsyncCallback callback, Object asyncState) bei UnifiedAutomation.UaClient.Session.BeginWrite(WriteAsyncResult ar)
bei UnifiedAutomation.UaClient.Session.BeginWrite(IList`1 nodesToWrite, RequestSettings settings, AsyncCallback callback, Object userData)
bei XXX.Write(...) (custom code)
Could you give us a hint how to solve this issue?

Thank You

User avatar
Support Team
Hero Member
Hero Member
Posts: 3064
Joined: 18 Mar 2011, 15:09

Re: Time trial has ended, but why???

Post by Support Team »

Hello Hartmut,

please make sure you have included the correct license that matches the assembly.
The license shipped with 2.5.8 will work with assembly 2.5.8, however the license shipped with 2.6.x will work with 2.6.x assembly only. Therefore you can not just replace the assemblies, you also need to replace the license file (embedded ressource) inside your application.

Additional note: the Eval-Edition available for the website does not accept any of the licenses, you must always use the SDK delivered in your "pesonal download share" \uasdknetbundle\2.6.1\win32-bin\ your personal license file can be found in that folder.
Best regards
Unified Automation Support Team

Post Reply