Licensing

View and Update License

To view your current licensing information or upload a new license file, navigate to Preferences -> License.

license_en

Troubleshoot Licensing and findface-ntls

When troubleshooting licensing and findface-ntls (see Provide Licensing), the first step is to retrieve the licensing information and findface-ntls status. You can do so by sending an API request to findface-ntls. Necessary actions are then to be undertaken, subject to the response content.

Tip

Please do not hesitate to contact our experts on troubleshooting by info@ntechlab.com.

To retrieve the FindFace Enterprise Server licensing information and findface-ntls status, execute on the findface-ntls host console:

curl http://localhost:3185/license.json -s | jq

The response will be given in JSON. One of the most significant parameters is last_updated. It indicates in seconds how long ago the local license has been checked for the last time.

Interpret the last_updated value as follows:

  • [0, 5] — everything is alright.
  • (5, 30] — there may be some problems with connection, or with the local drive where the license file is stored.
  • (30; 120] — almost certainly something bad happened.
  • (120; ∞) — the licensing source response has been timed out. Take action.
  • "valid": false: connection with the licensing source was never established.
curl http://localhost:3185/license.json -s | jq
{
  "name": "NTLS",
  "time": 1520844897,
  "type": "offline (extended)",
  "license_id": "001278983",
  "generated": 487568400,
  "last_updated": 4,
  "valid": {
    "value": true,
    "description": ""
  },
  "source": "/ntech/license/001278983.lic",
  "limits": [
    {
      "type": "time",
      "name": "end",
      "value": 25343
    },
    {
      "type": "number",
      "name": "faces",
      "value": 90071,
      "current": 230258
    },
    {
      "type": "number",
      "name": "cameras",
      "value": 9007,
      "current": 3
    },
    {
      "type": "number",
      "name": "extraction_api",
      "value": 900,
      "current": 8
    },
    {
      "type": "boolean",
      "name": "gender",
      "value": true
    },
    {
      "type": "boolean",
      "name": "age",
      "value": true
    },
    {
      "type": "boolean",
      "name": "emotions",
      "value": true
    },
    {
      "type": "boolean",
      "name": "fast-index",
      "value": true
    }
  ],
  "services": [
    {
      "name": "fkvideo-detector",
      "ip": "127.0.0.1:58970"
    },
    {
      "name": "FindFace-tarantool",
      "ip": "127.0.0.1:58978"
    },
    {
      "name": "findface-extraction-api",
      "ip": "127.0.0.1:52376"
    }
  ]
}