Skip to main content
Announcements
Have questions about Qlik Connect? Join us live on April 10th, at 11 AM ET: SIGN UP NOW

There was an error when getting license information from the license server or The license is not applicable to this product

No ratings
cancel
Showing results for 
Search instead for 
Did you mean: 
Benjamin_Moullin
Digital Support
Digital Support

There was an error when getting license information from the license server or The license is not applicable to this product

Last Update:

Dec 21, 2023 5:47:40 AM

Updated By:

Sonja_Bauernfeind

Created date:

Nov 7, 2019 7:06:50 AM

Applying a Qlik Sense License Key to Qlik Sense Enterprise on Windows fails. The license cannot be activated.

Two possible error messages are displayed:

There was an error when getting license information from the license server

an error occurred there was an error when getting license information from the license service.png

If the error is caused by an invalid license key, log files read: 

"errorMessage":"invalid license error, no license found, tenant not found"
"errorType":"LICENSES-ForbiddenRequest"
"statusCode":403,"

If the error is caused by connectivity issues, log files read: 

wsarecv: An existing connection was forcibly closed by the remote host.","errorType":"*url.Error"},...

LicenseOverview: The remote server returned an error: (500) Internal Server Error.

 

From Qlik Sense Enterprise on Windows November 2023 onwards, an invalid license returns the following error:

The license is not applicable to this product.

license not applicable to this product.png

"errorMessage":"License is not valid in the current environment, (invalid product level)"
"errorType":"LICENSES-InvalidLicense"
"statusCode":403

 

Resolution

Depending on the root cause, different solutions apply.

 

Invalid license; license does not apply to your product

Verify that the license you purchased is for the correct product. 

License intended for Qlik Cloud

You cannot apply the SaaS-Only subscription License in Qlik Sense Enterprise on Windows. If the Product level is 51, then the License is meant for SaaS only.

00000000000000
OVERAGE;NO;;
PRODUCTLEVEL;51;;2024-12-31

A signed License Key only has tokens assigned

Signed License Keys cannot be used if a license is Token-based Only. In this case, a license number and Control Number need to be used.  

00000000000000
OVERAGE;NO;;
PRODUCTLEVEL;50;;2020-12-31
TOKENS;3000;;

To check your product level and license information, obtain a LEF using Manual LEF. If you don't know your 16-digit Product Key, see Find your Qlik Cloud Subscription ID and Tenant Hostname and ID or contact Qlik Support.

Information about product levels and LEF features are documented in Qlik Product Levels and Supported Activation Methods (License Service vs LEF)

 

No Internet Access

Verify that the HTTPS port for outbound connections is opened (example: port 443 - mostly used - but the port number might differ for the end-user). The port is used for accessing the endpoint at https://license.qlikcloud.com  which is required to activate the license key. See Testing connection to license.qlikcloud.com should return HTTP 404 Not Found  

If a Web proxy is required for Internet access, see proxy configuration for Qlik License Service communication for steps on how to achieve this. 

LicenseServerError.gif

 

A proxy is configured

If the license cannot be applied even though HTTPS port (example: port 443) is opened, or the proxy configured for Qlik License Service communication correctly; please reach out to the technical Product Support team.

 

 

 

Related Content:

 

Environment:

Qlik Sense Enterprise on Windows , with Signed License Key (SLK)

 

Comments
PabloLabbeImaps
Partner Ambassador
Partner Ambassador

One of my Customers had an issue with the SLK .

All users loose their assigned license, and QMC was asking to input the SLK again and after that we assigned the licenses (Professional/Analyzer) one by one to each user.

Making some research on the System Repository log I found this error :

7191 20220902T172940.411-0300 WARN DSPQLIKVIEWPRD5 System.Repository.Repository.Core.Licensing.LicenseVault 67 dae7822b-5196-4f8f-ae49-bc00404b75a8 DPSP\qlikview.user Failed to GetCurrentLicense A valid product level is not defined for the specified key. at Repository.Core.Licensing.LicenseServer.LicenseDefinitionParser.Parse(License licenseEntity, LicenseDefinition licenseDefinition, LicenseOverview licenseOverview)↵↓ at Repository.Core.Licensing.LicenseServer.LicenseServerFacade.RequestAndParse(License license, Func`2 licenseDefinitionApiCallFunc)↵↓ at Repository.Core.Licensing.LicenseVault.<>c__DisplayClass20_0.<GetCurrentLicenseInternal>b__0(Lazy`1 licenseRepository, Lazy`1 securityFilter) dae7822b-5196-4f8f-ae49-bc00404b75a8

I couldn´t find a clue on why it happened and if it won´t be happen again.

 

 

PabloLabbeImaps
Partner Ambassador
Partner Ambassador

@Sonja_Bauernfeind , can you help ?

Sonja_Bauernfeind
Digital Support
Digital Support

Hello @PabloLabbeImaps 

Can you confirm if the issue persists for you currently?

I have reviewed what the error message means and it indicates a temporarily issue on the license backend (I was able to find a singular instance of that in the past). If the issue persists, please contact our support through chat (the blue help people in the bottom right corner) and have them verify if the license is active.

 

All the best,
Sonja 

PabloLabbeImaps
Partner Ambassador
Partner Ambassador

Hello @Sonja_Bauernfeind ,

It was temporary. We are also checking with security team to put the license backend server URL / Port on a white list because we think it was related to the license backend connectivity.

Thanks,

Pablo

Mahamed_Qlik
Specialist
Specialist

Hi Benjamin

I have tried below solution and I am able to get 404 as well 

Internet Access
Make sure the HTTPS port for outbound connections is opened (example: port 443 - mostly used - but the port number might differ for the end-user). The port is used for accessing the endpoint at https://license.qlikcloud.com which is required to activate the license key. See Testing connection to license.qlikcloud.com should return HTTP 404 Not Found

 

but when I again run tracert then the server is  showing not reachable

Sonja_Bauernfeind
Digital Support
Digital Support

Hello @Mahamed_Qlik 

If you are unable to reach the server with tracert using the instructions above, we recommend getting in touch with your network support team to troubleshoot network connectivity (they will be able to see if any traffic passes through your firewalls/proxies or is being blocked).

All the best,
Sonja

Version history
Last update:
‎2023-12-21 05:47 AM
Updated by: