cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Why would you get a network lc_checkout fljobenabled error -5,414 when the license exists?

Why would you get a network lc_checkout fljobenabled error -5,414 when the license exists?

Summary

Why would you get a network lc_checkout fljobenabled error -5,414 when the license exists?

Question

Some license-enabled products do not appear to be working consistently. They sometimes get error -5,414. The license checkout is performed for an existing license, but fails. That same license can be checked in the same process/program at other times successfully, but then all of a sudden returns -5,414.

The application also checks for other existing and not existing licenses. The not existing licenses return error code -5,412.

The -5,414 error does not result in an error message in the server log file. If you introduce a retry mechanism when the lc_checkout returns other errors (different from LM_NOFEATURE), this solves the problem. Why is the error code for the existing license different (-5,414 compared to -5,412), and why does a retry solve the problem?

Answer

If a license file does not have USE_SERVER line and we have read the feature in this license for this vendor but we are not able to connect to the server for checkout, we may report this error (-5, 414).

For example, this situation can be duplicated with the following steps (note that both the server and client were tested on the same machine).

1. Start the license server with a valid license file that has valid feature lines and corrected hostname on SERVER line.

2. Set the license path pointing to the following license file that does not have USE_SERVER line and it does not have valid hostname on SERVER line.
SERVER invalid ANY
VENDOR demo
FEATURE f1 demo 1.0 permanent 4 SIGN="003D B062 54D1 47E3 1FF6 145F \
59CE 0200 8002 FE69 0FBC F4FF AA10 FFB3 6EB3"

3. Ensure client checkout filter is enabled on the client application.

4. When trying to checkout feature "f1", we will be able to find the valid license for this feature, however we do not have the valid hostname for server connection. As a result, it returns -5,414 error.
Labels (1)
Was this article helpful? Yes No
No ratings
Version history
Last update:
‎Nov 14, 2018 09:40 PM
Updated by: