<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>article How To Check For Missing Database Listeners in Qlik Sense on Windows in Official Support Articles</title>
    <link>https://community.qlik.com/t5/Official-Support-Articles/How-To-Check-For-Missing-Database-Listeners-in-Qlik-Sense-on/ta-p/1780463</link>
    <description>&lt;P&gt;Qlik Sense Enterprise on Windows relies on database listeners to notify nodes when changes have occurred. These connections can be silently closed, which can result in a variety of strange behavior such as newly published apps not being visible on all nodes, or newly created streams or load balancing rules appearing to not take effect until the node is restarted.&lt;/P&gt;
&lt;P&gt;Fortunately, it is easy to check if your environment is currently impacted by this issue, and configure keep alive packets to help prevent termination of the listeners.&lt;/P&gt;
&lt;H4&gt;&lt;STRONG&gt;&lt;FONT color="#339966"&gt;Environment&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/H4&gt;
&lt;UL&gt;
&lt;LI&gt;Qlik Sense Enterprise on Windows, all versions&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;div class="video-embed-center video-embed"&gt;&lt;iframe class="embedly-embed" src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2F77d0aQ1qvu8%3Ffeature%3Doembed&amp;amp;display_name=YouTube&amp;amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3D77d0aQ1qvu8&amp;amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2F77d0aQ1qvu8%2Fhqdefault.jpg&amp;amp;type=text%2Fhtml&amp;amp;schema=youtube" width="600" height="337" scrolling="no" title="Qlik Fix: How To Check For Missing Database Listeners in Qlik Sense on Windows" frameborder="0" allow="autoplay; fullscreen; encrypted-media; picture-in-picture;" allowfullscreen="true"&gt;&lt;/iframe&gt;&lt;/div&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.qlik.com/t5/Qlik-Fix/Qlik-Fix-How-To-Check-For-Missing-Database-Listeners-in-Qlik/ta-p/1786175" target="_blank" rel="noopener"&gt;Click here for Video Transcript&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;Steps:&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Connect to the QRS database&lt;/LI&gt;
&lt;LI&gt;Run the following query:&lt;BR /&gt;
&lt;DIV&gt;&lt;LI-CODE lang="markup"&gt;select cast(count(client_addr) as text), 'Total Listeners' as "query" from pg_catalog.pg_stat_activity where "query" like 'LISTEN%Entity%'
union select cast(count("ID") as text), 'Total Nodes' from public."ServerNodeConfigurations" snc
union select cast(client_addr as text), "query" from pg_catalog.pg_stat_activity where "query" like 'LISTEN%Entity%'
order by "query";&lt;/LI-CODE&gt;&lt;/DIV&gt;
&lt;/LI&gt;
&lt;LI&gt;The Total Listeners should match the Total Nodes value, if there are more nodes than listeners, at least one has been silently terminated, you can determine which ones by comparing the IP addresses listed in the results with those of your nodes. (The one marked &lt;FONT face="courier new,courier"&gt;::1&lt;/FONT&gt; is the node that hosts the database)&lt;/LI&gt;
&lt;LI&gt;We can ensure that these database connections remain open by adding a keep alive to the connection string. You can do this using the following instructions. NB This will require a brief outage, as all nodes will need to be restarted.
&lt;OL class="lia-list-style-type-lower-roman"&gt;
&lt;LI&gt;&lt;SPAN&gt;Open the Qlik Sense Utility found in&amp;nbsp;&lt;FONT face="courier new,courier"&gt;C:\Program&amp;nbsp;Files\Qlik\Sense\Repository\Util\QlikSenseUtil&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;Click on &lt;STRONG&gt;Connection String Editor&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;Click Read to read in the connection string&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;Add &lt;FONT face="courier new,courier"&gt;Keep Alive=30;&lt;/FONT&gt; to the connection string for both &lt;STRONG&gt;QSR&lt;/STRONG&gt; and &lt;STRONG&gt;QSMQ&lt;/STRONG&gt;, the end result should look something like:&lt;/SPAN&gt;&lt;BR /&gt;&lt;LI-CODE lang="markup"&gt;&amp;lt;add name="QSR" connectionString="User ID=qliksenserepository;Host='&amp;lt;host&amp;gt;';Port='4432';Database=QSR;Pooling=true;Min Pool Size=0;Max Pool Size=90;Connection Lifetime=3600;Unicode=true;Password='&amp;lt;pwd&amp;gt;';Keep Alive=30;" providerName="Devart.Data.PostgreSql" /&amp;gt;
&amp;lt;add name="QSMQ" connectionString="User ID=qliksenserepository;Host='&amp;lt;host&amp;gt;';Port='4432';Database=QSMQ;Pooling=true;Min Pool Size=0;Max Pool Size=90;Connection Lifetime=3600;Unicode=true;Password='&amp;lt;pwd&amp;gt;';Keep Alive=30;" providerName="Devart.Data.PostgreSql" /&amp;gt;​&lt;/LI-CODE&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;Click &lt;STRONG&gt;Save Value in config file encrypted&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;Restart the &lt;STRONG&gt;Qlik Sense Repository service&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/LI&gt;
&lt;/OL&gt;
&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;We can also identify this drop in connection by initiating a ping processes on each of the rim nodes towards the central node. A simple way is to run the following command on rim node and leave it running for at least 24 hours then compare the two resulting txt files which are placed on the current directory:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Option One:&lt;/STRONG&gt; Use the command prompt (CMD). This will not identify the time.&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="javascript"&gt; ping -t &amp;lt;central node&amp;gt; &amp;gt; ping_log.txt&lt;/LI-CODE&gt;
&lt;P&gt;&lt;STRONG&gt;Option Two:&lt;/STRONG&gt; Use PowerShell. &lt;SPAN&gt;This will use&amp;nbsp;&lt;/SPAN&gt;&lt;FONT face="courier new,courier"&gt;Get-Date&lt;/FONT&gt;&lt;SPAN&gt;&amp;nbsp;to generate a timestamp for each ping, which helps with cross-referencing environmental events.&lt;/SPAN&gt;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;ping.exe -t &amp;lt;DestinationFileServer_IP&amp;gt; | Foreach{"{0} - {1}" -f (Get-Date),$_} &amp;gt; ping_DestinationFileServerName.txt&lt;/LI-CODE&gt;
&lt;P&gt;&lt;STRONG&gt;Option Three:&lt;/STRONG&gt; Use psping on tcp port &lt;FONT face="courier new,courier"&gt;4432&lt;/FONT&gt;.&lt;/P&gt;
&lt;P&gt;This is useful in an environment where either QoS is implemented, ping is blocked, or there are other environmental restrictions that could affect TCP connections only. In this scenario, Ping (which uses ICMP protocol) would not indicate latency, which can lead to concluding the TCP protocol is not observing latency as well. To rule this out, use psping.&lt;/P&gt;
&lt;P&gt;See&amp;nbsp;&lt;A href="https://community.qlik.com/t5/Support-Knowledge-Base/Test-latency-to-Qlik-Server-on-a-specific-port/ta-p/1713832" target="_blank" rel="noopener"&gt;&lt;SPAN&gt;&lt;SPAN class="TEXT"&gt;Test latency to Qlik Server on a specific port&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H3&gt;&lt;FONT color="#339966"&gt;Related Content&lt;/FONT&gt;&lt;/H3&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;&lt;A href="https://community.qlik.com/t5/Support-Knowledge-Base/Qlik-Sense-Randomly-some-streams-are-not-available-in-the-Hub/ta-p/1778814" target="_blank" rel="noopener"&gt;Qlik Sense - Randomly, some streams are not available in the Hub&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="font-style: italic;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;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.&lt;/EM&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 18 Feb 2026 08:17:28 GMT</pubDate>
    <dc:creator>Andrew_Delaney</dc:creator>
    <dc:date>2026-02-18T08:17:28Z</dc:date>
    <item>
      <title>How To Check For Missing Database Listeners in Qlik Sense on Windows</title>
      <link>https://community.qlik.com/t5/Official-Support-Articles/How-To-Check-For-Missing-Database-Listeners-in-Qlik-Sense-on/ta-p/1780463</link>
      <description>&lt;P&gt;Qlik Sense Enterprise on Windows relies on database listeners to notify nodes when changes have occurred. These connections can be silently closed, which can result in a variety of strange behavior such as newly published apps not being visible on all nodes, or newly created streams or load balancing rules appearing to not take effect until the node is restarted.&lt;/P&gt;
&lt;P&gt;Fortunately, it is easy to check if your environment is currently impacted by this issue, and configure keep alive packets to help prevent termination of the listeners.&lt;/P&gt;
&lt;H4&gt;&lt;STRONG&gt;&lt;FONT color="#339966"&gt;Environment&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/H4&gt;
&lt;UL&gt;
&lt;LI&gt;Qlik Sense Enterprise on Windows, all versions&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;div class="video-embed-center video-embed"&gt;&lt;iframe class="embedly-embed" src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2F77d0aQ1qvu8%3Ffeature%3Doembed&amp;amp;display_name=YouTube&amp;amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3D77d0aQ1qvu8&amp;amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2F77d0aQ1qvu8%2Fhqdefault.jpg&amp;amp;type=text%2Fhtml&amp;amp;schema=youtube" width="600" height="337" scrolling="no" title="Qlik Fix: How To Check For Missing Database Listeners in Qlik Sense on Windows" frameborder="0" allow="autoplay; fullscreen; encrypted-media; picture-in-picture;" allowfullscreen="true"&gt;&lt;/iframe&gt;&lt;/div&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.qlik.com/t5/Qlik-Fix/Qlik-Fix-How-To-Check-For-Missing-Database-Listeners-in-Qlik/ta-p/1786175" target="_blank" rel="noopener"&gt;Click here for Video Transcript&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;Steps:&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Connect to the QRS database&lt;/LI&gt;
&lt;LI&gt;Run the following query:&lt;BR /&gt;
&lt;DIV&gt;&lt;LI-CODE lang="markup"&gt;select cast(count(client_addr) as text), 'Total Listeners' as "query" from pg_catalog.pg_stat_activity where "query" like 'LISTEN%Entity%'
union select cast(count("ID") as text), 'Total Nodes' from public."ServerNodeConfigurations" snc
union select cast(client_addr as text), "query" from pg_catalog.pg_stat_activity where "query" like 'LISTEN%Entity%'
order by "query";&lt;/LI-CODE&gt;&lt;/DIV&gt;
&lt;/LI&gt;
&lt;LI&gt;The Total Listeners should match the Total Nodes value, if there are more nodes than listeners, at least one has been silently terminated, you can determine which ones by comparing the IP addresses listed in the results with those of your nodes. (The one marked &lt;FONT face="courier new,courier"&gt;::1&lt;/FONT&gt; is the node that hosts the database)&lt;/LI&gt;
&lt;LI&gt;We can ensure that these database connections remain open by adding a keep alive to the connection string. You can do this using the following instructions. NB This will require a brief outage, as all nodes will need to be restarted.
&lt;OL class="lia-list-style-type-lower-roman"&gt;
&lt;LI&gt;&lt;SPAN&gt;Open the Qlik Sense Utility found in&amp;nbsp;&lt;FONT face="courier new,courier"&gt;C:\Program&amp;nbsp;Files\Qlik\Sense\Repository\Util\QlikSenseUtil&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;Click on &lt;STRONG&gt;Connection String Editor&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;Click Read to read in the connection string&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;Add &lt;FONT face="courier new,courier"&gt;Keep Alive=30;&lt;/FONT&gt; to the connection string for both &lt;STRONG&gt;QSR&lt;/STRONG&gt; and &lt;STRONG&gt;QSMQ&lt;/STRONG&gt;, the end result should look something like:&lt;/SPAN&gt;&lt;BR /&gt;&lt;LI-CODE lang="markup"&gt;&amp;lt;add name="QSR" connectionString="User ID=qliksenserepository;Host='&amp;lt;host&amp;gt;';Port='4432';Database=QSR;Pooling=true;Min Pool Size=0;Max Pool Size=90;Connection Lifetime=3600;Unicode=true;Password='&amp;lt;pwd&amp;gt;';Keep Alive=30;" providerName="Devart.Data.PostgreSql" /&amp;gt;
&amp;lt;add name="QSMQ" connectionString="User ID=qliksenserepository;Host='&amp;lt;host&amp;gt;';Port='4432';Database=QSMQ;Pooling=true;Min Pool Size=0;Max Pool Size=90;Connection Lifetime=3600;Unicode=true;Password='&amp;lt;pwd&amp;gt;';Keep Alive=30;" providerName="Devart.Data.PostgreSql" /&amp;gt;​&lt;/LI-CODE&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;Click &lt;STRONG&gt;Save Value in config file encrypted&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;Restart the &lt;STRONG&gt;Qlik Sense Repository service&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/LI&gt;
&lt;/OL&gt;
&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;We can also identify this drop in connection by initiating a ping processes on each of the rim nodes towards the central node. A simple way is to run the following command on rim node and leave it running for at least 24 hours then compare the two resulting txt files which are placed on the current directory:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Option One:&lt;/STRONG&gt; Use the command prompt (CMD). This will not identify the time.&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="javascript"&gt; ping -t &amp;lt;central node&amp;gt; &amp;gt; ping_log.txt&lt;/LI-CODE&gt;
&lt;P&gt;&lt;STRONG&gt;Option Two:&lt;/STRONG&gt; Use PowerShell. &lt;SPAN&gt;This will use&amp;nbsp;&lt;/SPAN&gt;&lt;FONT face="courier new,courier"&gt;Get-Date&lt;/FONT&gt;&lt;SPAN&gt;&amp;nbsp;to generate a timestamp for each ping, which helps with cross-referencing environmental events.&lt;/SPAN&gt;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;ping.exe -t &amp;lt;DestinationFileServer_IP&amp;gt; | Foreach{"{0} - {1}" -f (Get-Date),$_} &amp;gt; ping_DestinationFileServerName.txt&lt;/LI-CODE&gt;
&lt;P&gt;&lt;STRONG&gt;Option Three:&lt;/STRONG&gt; Use psping on tcp port &lt;FONT face="courier new,courier"&gt;4432&lt;/FONT&gt;.&lt;/P&gt;
&lt;P&gt;This is useful in an environment where either QoS is implemented, ping is blocked, or there are other environmental restrictions that could affect TCP connections only. In this scenario, Ping (which uses ICMP protocol) would not indicate latency, which can lead to concluding the TCP protocol is not observing latency as well. To rule this out, use psping.&lt;/P&gt;
&lt;P&gt;See&amp;nbsp;&lt;A href="https://community.qlik.com/t5/Support-Knowledge-Base/Test-latency-to-Qlik-Server-on-a-specific-port/ta-p/1713832" target="_blank" rel="noopener"&gt;&lt;SPAN&gt;&lt;SPAN class="TEXT"&gt;Test latency to Qlik Server on a specific port&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H3&gt;&lt;FONT color="#339966"&gt;Related Content&lt;/FONT&gt;&lt;/H3&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;&lt;A href="https://community.qlik.com/t5/Support-Knowledge-Base/Qlik-Sense-Randomly-some-streams-are-not-available-in-the-Hub/ta-p/1778814" target="_blank" rel="noopener"&gt;Qlik Sense - Randomly, some streams are not available in the Hub&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="font-style: italic;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;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.&lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 18 Feb 2026 08:17:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Official-Support-Articles/How-To-Check-For-Missing-Database-Listeners-in-Qlik-Sense-on/ta-p/1780463</guid>
      <dc:creator>Andrew_Delaney</dc:creator>
      <dc:date>2026-02-18T08:17:28Z</dc:date>
    </item>
  </channel>
</rss>

