Q100189: "License timed out on server" error message in Nuke

SYMPTOMS

After running Nuke for a while, typically more than an hour, you can sometimes get a license warning pop up with the following error message:

RLM: License time out on server
 
Once you click OK you should be able to continue to run Nuke.  This can happen when using in-built plug-in nodes such as Kronos, Keylight or OFlow and some NukeX features such as FurnaceCore and will only happen with floating licenses.
 
 

CAUSE

This issue only happens with floating licenses.
 
Nuke maintains various connections to a license server, and if one of these connections are not maintained regularly, the license will time out. This is coupled with the default setting for how long our RLM server will wait before assuming a license is dead.
 
Nuke license checks with a server:
 
When Nuke runs, both the Nuke executable and the internal DDImage libraries check with the server that they have a nuke_i license. 
 
Only one license is checked out to the computer but it is shared by both processes. 
 
Additionally, when you run Nuke in NukeX mode, both the executable and DDImage also check out a nukex_i license to share.
 
Some nodes in Nuke (e.g. OFlow, Kronos, Keylight) and NukeX features (including FurnaceCore nodes) check that DDImage still has a license checked out, instead of contacting the license server themselves. However, as the DDImage checkouts aren't maintaining a heartbeat connection to the license server to let it know that the license is still in use, this can cause Nuke to report a timeout error.
 
License Timeout setting on server:

We install an RLM options file with the Foundry Licensing Tools (FLT) which sets a timeout setting for all licenses of 1 hour by including the following line:
TIMEOUTALL 3600
 
The TIMEOUT or TIMEOUTALL setting determines how long the server will wait without hearing from a license checkout before it assumes license is not being used and takes it back. We set this default value of an hour to prevent crashed programs from keeping a license checked out to a machine.

Unfortunately this combines with the DDImage license heartbeat issue, so that if you run Nuke for more than the timeout setting, and then try to use a node that checks DDImage, you'll get the license timed out message. Creating another node or changing a setting on the node should be enough to prompt DDImage to communicate with the server again and check back out the same license. You should not need to restart Nuke.
 
 

RESOLUTION

You can workaround this problem by increasing the timeout setting in the options file(s) so that Nuke runs for longer before giving you these popups. To do this, you need to edit the following files on the server:


Windows:
C:\Program Files\The Foundry\RLM\foundry.opt
C:\ProgramData\The Foundry\RLM\foundry.opt

OSX:
/Library/Application Support/TheFoundry/RLM/foundry.opt

Linux:
/usr/local/foundry/RLM/foundry.opt

and change the TIMEOUTALL value. For example, to set a timeout of 2 hours you'd change the line to
TIMEOUTALL 7200

You will need to restart the RLM server in order for this change to take effect.

 
Windows & OSX:
Run the Foundry License Utility (FLU) as an admin user, go to the RLM Server tab and click on "Stop Server" and then "Start Server".
 
Linux:
Run the following commands as root or with sudo:
cd /opt/foundry/licensing/9.0.2
./FoundryLicenseUtility -s stop -t RLM
./FoundryLicenseUtility -s start -t RLM
  
 

FURTHER READING

More information about how NUKE licensing works is available in Q100106: How does Nuke licensing work?

 
More information about the RLM options file and how you can control the behavior of the RLM server is available in the RLM End User Guide.

    We're sorry to hear that

    Please tell us why