Hi, we are implementing the LexActivator in a service for Windows. I have realized that our service more often than not starts before the computer has an internet connection. This seems to make the first server sync to fail and it seems as the next one is scheduled according to the “Server Sync Interval” setting in the license. We have currently setup up our license to have a “Server Sync Interval” at 6 hours (thought it was nice to the server) and a “Server Sync Grace Period” at 1 day. So if a computer has been shut down for more than a day we will have to wait for 6 hours before the IsLicenseGenuine call will reply LA_OK.
If you have administrative “powers” you can restart the service and the problem is solved but that is not really a viable solution for us.
We could decrease the “Server Sync Interval” to 180 seconds and increase the “Server Sync Grace Period” to maybe 10 days. That will make the problem occur less often but it will still be a problem for a couple of minutes after startup if the computer have been shutdown or not had access to the internet for 10 days. One of the reasons we have implemented our software as a service is that we’d like the functionality of our software to work as soon as the computer starts.
Does anyone have a good solution for this? For example is there any way we can “force” LexActivator to do a server sync? Or is there a way to restart the thread handling the sync?