Skip to main content

License expiration

A license key has a validity period during which the On-Premise software suite can be used. Once the license expires, the services stop working.

Important

CityLens services do not have a soft block stage: there is no warning about the upcoming license expiration. The services are blocked immediately after the license expires.

CityLens behavior upon license expiration

When the mobile application sends the request to the api/1.0/routes/{{uuid}}/init endpoint, error messages appear in the logs:

{"message": "Retrying request 2/3 to http://license/api/v2/authority/citylens-api/test@example.com9cf60abdee55cb0d/check", "@timestamp": "2025-10-06T14:43:00.918562", "level": "WARNING", "logger": "PasportoolClient", "track_uuid": "<id>"}
{"message": "Retrying request 3/3 to http://license/api/v2/authority/citylens-api/test@example.com9cf60abdee55cb0d/check", "@timestamp": "2025-10-06T14:43:03.928796", "level": "WARNING", "logger": "PasportoolClient", "track_uuid": "<id>"}
{"message": "<ip>:<port> - \"POST /api/1.0/routes/<id>/init HTTP/1.1\" 500", "@timestamp": "2025-10-06T14:43:03.940320", "level": "INFO", "logger": "uvicorn.access", "track_uuid": "undefined"}
{
"message": "Exception in ASGI application\n",
"exc_info": " + Exception Group Traceback (most recent call last):<...> Cannot connect to host license:443 ssl:True [SSLCertVerificationError: (1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: certificate has expired (_ssl.c:1147)')]\n +------------------------------------",
"@timestamp": "2025-10-06T14:43:03.944955",
"level": "ERROR",
"logger": "uvicorn.error",
"track_uuid": "undefined"
}

Actions when license expires

  1. Contact your Urbi manager to renew your license.

  2. Get a new license using the DGCLI utility. For details, see the Get license section.

  3. Make sure that the new license is active. For details, see the Check license status section.