Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Apr 15, 2021 7:13:09 AM
May 18, 2020 12:19:07 PM
After a successful installation of Qlik Alerting following Qlik Alerting installation steps, Installing the Qlik Sense Extension, and then adding the extension object to an Qlik Sense app with the proper Qlik Alerting server information, the extension shows up blank in Internet Explorer (IE) or with the message "Could not retrieve user info. Check your extension settings or contact your administrator" when using Google Chrome:
Chrome will output the following or similar in the Developer tools Console logs: (also under Network tab the extension failure is registered)
POST https://<Qlik Alerting server>:4552/api/users/extension net::ERR_CERT_AUTHORITY_INVALID
error
IE in the other hand will output the following or similar in the Developer tools Console logs and not much under the Network tab (halts after loading the Qlik Alerting js file):
SCRIPT1002: Syntax error
File: qlik-alerting.js, Line:9, Column: 42
SCRIPT5007: Unable to get property '__esModule'of Underfined or null reference
In order to use a HTTPS connection with the Qlik Alerting extension a proper certificate needs to be installed on the Qlik Sense clients' computers. Otherwise HTTP needs to be used as indicated in the Workaround(s) section.
! The information in this article is provided as-is and to be used at own discretion. Depending on tool(s) used, customization(s), and/or other factors ongoing support on the solution below may not be provided by Qlik Support.
Replace the Qlik Alerting self-signed certificate with the certificate issued for the deployment in order to allow HTTPS connections. Otherwise, a certificate error is observed when connecting to the Qlik Alerting web console and API connections from the extension fails as described above. See Workaround section below for an alternative.
There are at least the two methods for resolving the error above:
The easiest way to resolve the error above is to use the server certificate and private key that was originally exported from Qlik Sense.
Note: This may not be suitable for all production environments. It will not allow the extension to function from outside the Qlik Sense / Qlik Alerting local network. E.g: When an external FQDN / Alias / CNAME is used to access the Qlik Sense app that uses the Qlik Alerting extension.
1. Follow the steps documented under Using trusted SSL certificates with Qlik Alerting and replace the mentioned server certificate files (server.pem and server_key.pem) with the server certificates (not the client certs) that were originally exported from Qlik Sense when going through the steps to configure the connection between Qlik Alerting and Qlik Sense.
2. When configuring the extension, make sure to use the machine name that was used when exporting the certificate via the Qlik Management Console (QMC). This will be the "Issued To" field found in the certificates.
3. Make sure the Qlik Sense self-signed root CA certificate (root.pem / root.cer) is installed on client computers (including the Qlik Alerting server) that require access to the web console and use of the Qlik Alerting extension in Qlik Sense apps. The certificate should be installed in the Trusted Root Certification Authorities store.
Note: The following is an example of issuing an SSL certificate using TinyCert. Please note that certificates issued by TinyCert.org are not considered to be "production ready" and should only be used for evaluation or testing. More information in TinyCert FAQ
1. Sign up for a free TinyCert account.
2. Create a Certificate Authority (CA) certificate. Using the defaults works fine.
3. Create a server certificate. Make sure to include all the host names used when accessing the Qlik Alerting server over https.
For example: The server machine name (hostname) may be sufficient in environments where clients are always on the same local network (LAN). However, an external FQDN (Alias, or CNAME records) for Qlik Alerting may be needed in the certificate's Subject Alternative Names in order to allow the extension to work when Qlik Sense app are accessed from outside the LAN. Keep in mind the client using the Qlik Alerting extension in the Qlik Sense app makes the connection request directly to the Qlik Alerting server.
4. Download the CA Certificate (cacert.pem). This certificate will need to be installed on client computers that use the Qlik Alerting extension as well as accessing the web console (to eliminate the cert error).
5. Download the server Certificate (cert.pem), and the Private key (clear) (key.dec.pem).
Note: Qlik Alerting does not support the option Private key (encrypted) as it does not support passphrases.
6. Move the three files to the Qlik Alerting server and follow the steps documented under Using trusted SSL certificates with Qlik Alerting.
Note:
7. Import the CA Certificate (cacert.pem) on the Qlik Alerting server and on any needed client computer using the Certificates snap-in.
Hello
Qlik Alerting Extension is not connected.
The error is as follows.
When does "Cookie not found" occur?
Thanks
hanna.choi