Login  •  Register


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 ...

Time trial has ended, but why???

Postby rainmang » 26 Jul 2017, 13:18

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
rainmang
Newbie
Newbie
 
Posts: 5
Joined: 13 Feb 2017, 14:26

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

Postby Support Team » 31 Jul 2017, 11:52

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
User avatar
Support Team
Hero Member
Hero Member
 
Posts: 2411
Joined: 18 Mar 2011, 15:09

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

Postby rainmang » 31 Jul 2017, 16:58

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
rainmang
Newbie
Newbie
 
Posts: 5
Joined: 13 Feb 2017, 14:26

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

Postby hartmut_irs » 19 Nov 2018, 14:45

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
hartmut_irs
Newbie
Newbie
 
Posts: 4
Joined: 26 Oct 2018, 08:31

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

Postby Support Team » 19 Nov 2018, 18:27

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
User avatar
Support Team
Hero Member
Hero Member
 
Posts: 2411
Joined: 18 Mar 2011, 15:09

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

Postby cipenero » 25 Jun 2019, 10:24

Time trial was going to be end among the all formats that was useful for me or have the all aspection on this that was good. I need to fetch details that was for making my assignment help reviews it was useful to have the all formation that I need to read on this affect it has the all formats on this.
cipenero
Newbie
Newbie
 
Posts: 1
Joined: 25 Jun 2019, 10:24


Return to .NET based OPC UA SDK

Who is online

Users browsing this forum: No registered users and 0 guests

cron