Force gateway back into trial expired state

Hi all,

I am testing the licensing system in my module and don’t want to wait 2 hours for the gateway trial to expire , is there a way to force a trial expired state? The gateway is in a docker container , would I need to use a gwcmd command or change the container timestamp?

No, quite deliberately not. That would facility abuse of trial mode. If you rebuild the docker container, you should get a new trial condition.

Rebuilding the container is definitely the easiest option, but for posterity in 8.1 you could:

  1. Stop the gateway service
  2. Edit the config.idb to set the DEMOTIMEREMAINING column in SYSPROPS to 0/a low value
  3. Restart the gateway

And no, you can't get cute and set the trial to longer than two hours remaining - all this lets you do is reset it more often.

2 Likes