The license used has the required offline tag, but offline licensing after an upgrade of Qlik Sense Enterprise on Windows to February 2024 fails with error:
There was an error when getting license information from the license service

In repository logs you also could have the below error:
There was an error contacting the license service. Keep retrying
Resolution
Qlik has identified a defect in the initial February 2024 release as well as patch 1 (QB-25231).
Workaround
Change the -offline parameter position in the configuration file.
- Stop the ServiceDispatcher service
- As Administrator, open the Service Dispatcher services.conf file.
Default location Qlik Sense on-prem: C:\Program Files\Qlik\Sense\ServiceDispatcher
Default location QlikView: C:\Program Files\QlikView\ServiceDispatcher
- Locate [Licenses.parameters]and add the parameter -offline
Example:
[licenses.parameters]
-qsefw-mode
-offline
-app-settings="..\Licenses\appsettings.json"
Previous versions of Qlik Sense allowed for the -offline parameter to be situated anywhere. February 2024 requires it in this order.
- Save the file
- Start the ServiceDispatcher service
Fix Version
QB-25231 is expected to be fixed in Qlik Sense Enterprise on Windows February 2024 Patch 2.
Cause
QB-25231
Related Content
Long term offline use for Qlik Sense and QlikView Signed Licenses
Information provided on this defect is given as is at the time of documenting. For up-to-date information, please review the most recent Release Notes, or contact support with the QB-25231 for reference.
Environment
Qlik Sense Enterprise on Windows February 2024