Node offline - GET /v1/licenses/overview StatusCode: InternalServerError Response Could not connect to the license service
After installing, upgrading to Qlik Sense Enterprise April 2019 or later, or changing the Central node hostname (or hostname for the postgreSQL server) the Qlik Sense node(s) remains offline.
Review the SERVERNAME_System_Repository log files located in C:\ProgramData\Qlik\Sense\Log\Repository\Trace\
Verify if one of the below errors can be found:
There was an error contacting the license service. Keep retrying... (1 failed requests) GET /v1/licenses/overview StatusCode: InternalServerError Response: Could not connect to the license service.
There was an error contacting the license service. Keep retrying... (60 failed requests) GET /v1/licenses/overview StatusCode: InternalServerError"
The Windows Event (Application) log may report the following:
The description for Event ID 300 from source Qlik Sense Service Dispatcher cannot be found. Either the component that raises this event is not installed on your local computer or the installation is corrupted. You can install or repair the component on the local computer.
The following information was included with the event: Unexpected termination (0) for process 0 Facility = Resource Distribution ExePath = Node\node.exe Script = ..\ResourceDistributionService\server.js
Qlik Sense Enterprise, April 2019 and later
A number of possible root causes have been identified.
Is the license service running?
Open a cmd prompt with elevated permission and run:
netstat -aon | findstr 9200
If port 9200 is running, verify that the PID listed connects from Licenses.exe, which shows the service is up.
Also check if the Qlik Sense node's License service is trying to connect to the correct FQDN and Port where the postgreSQL databases (Licenses and QSMQ) are located.
The update is made on the RIM node server's License service settings file C:\Program Files\Qlik\Sense\Licenses\appsettings.json.Update both "host": fields with the new FQDN of the Central node.
Network Connectivity between services
The services may not be communicating correctly due to network configuration issues, such as a proxy between the nodes. This will probably result in the logs containing "Unexpected character encountered while parsing value" in the error line.
On the Qlik Sense nodes do the following:
Make sure that you are logged-in with the Service account.
Open Internet Options
Click on the Connections Tab
Click on LAN Settings
If Use a proxy server for your LAN is checked, ensure that bypass proxy server for local addresses is also checked. Ensure that the internal server names of the Qlik Sense nodes are added as exceptions as well, so no proxy is used between them.
Restart all Qlik Sense Services
Note: Even if the other RIM are set up with a proxy server or proxy PAC and that works. Please disable it for testing purposes on the non-working node. If your problem is fixed by this action you will need to engage your proxy support team.
Qlik Sense License Database
Special characters are used in the username or password of the Qlik Sense license database. This has been recorded as defect ID QLIK-96329, which is fixed in:
This will align your Server, protocol and client cryptographic settings with common best practices, should allow the repository to communicate with the licenses server.
! This workaround is only applicable if a LEF is used to license Qlik Sense. If a Signed License key is used, the workaround cannot be used. The following two parameters need to be added to the Repository Service in the Windows Registry: -licensetestmode (April and June 2019) -testmode=license (September 2019 and later)
Open regedit.exe and browse to: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\QlikSenseRepositoryService