"ERROR: Operation timed out" may be displayed After executing "update ns aptlicense" command like below.
> update ns aptlicense <id> <sessionId> <bindType> <countAvailable> [<licenseDir>] [-useProxy ( YES | NO )]
ERROR: Operation timed out
This error occurs with current builds, the license file will continue to be downloaded in the background until the true timeout (300 sec).
If there is the license file in /nsconfig/license/,"update ns aptlicense" command is successful.
# ls -la /nsconfig/license/
-rw-r--r-- 1 root wheel 1891 Jun 1 20:00 FID_XXXXXXXX_XXXX_XXXX_XXXX_XXXXXXXXXXXX.lic
The ADC unexpectedly displays the "ERROR: Operation timed out" if the license download is not completed within 10 seconds after executing the "update ns aptlicense" command. However, the actual timeout value is 300 sec based on the current design of license server, so ADC will continue to download the allocated license file in background until the true timeout (300 sec).
If users execute the command by automation tool, users may not be able to determine if it completed successfully due to the error. Because of recent increased workload on license server, sometimes the server response takes longer than before. In a situation it is more than 10 seconds, this could lead to license activation failure from overall automation workflow perspective.
Engineering is currently planning to fix the ADC issue, and planning to enhancement the license server for the future.