<?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>topic QlikSense Operations Monitor reload generates Warning in Connectivity &amp; Data Prep</title>
    <link>https://community.qlik.com/t5/Connectivity-Data-Prep/QlikSense-Operations-Monitor-reload-generates-Warning/m-p/1863062#M9885</link>
    <description>&lt;P&gt;Hello everyone,&lt;/P&gt;
&lt;P&gt;i got this weird error, that every time we reload the "Operations Monitor" we get spit out a Warning:&lt;/P&gt;
&lt;P&gt;"CGenericConnection: disconnection failed, because it's not connected at all."&lt;/P&gt;
&lt;P&gt;At the same time an Information in the MS Eventviewer gets generated:&lt;/P&gt;
&lt;P&gt;Source: PostgreSQL&lt;/P&gt;
&lt;P&gt;"LOG:&amp;nbsp;could not receive data from the client: An existing connection was forcibly closed by the remote host." (Translated, so might not be the original english information)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;Only thing i could realy find to these Message didn't realy fit.&lt;/P&gt;
&lt;P&gt;for Example i tested the REST connector, works fine (&lt;A href="https://community.qlik.com/t5/Connectivity-Data-Prep/Monitoring-App-Error-CGenericConnection-QvConnect-failed-to/td-p/113695" target="_blank"&gt;Monitoring App Error - CGenericConnection: QvConne... - Qlik Community - 113695&lt;/A&gt;)&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Would be thankfull for any kind of advice or help, thanks in Advance!&lt;/P&gt;
&lt;P&gt;Best regards,&lt;BR /&gt;Tobi&lt;/P&gt;</description>
    <pubDate>Wed, 24 Nov 2021 11:53:46 GMT</pubDate>
    <dc:creator>TobiasW</dc:creator>
    <dc:date>2021-11-24T11:53:46Z</dc:date>
    <item>
      <title>QlikSense Operations Monitor reload generates Warning</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/QlikSense-Operations-Monitor-reload-generates-Warning/m-p/1863062#M9885</link>
      <description>&lt;P&gt;Hello everyone,&lt;/P&gt;
&lt;P&gt;i got this weird error, that every time we reload the "Operations Monitor" we get spit out a Warning:&lt;/P&gt;
&lt;P&gt;"CGenericConnection: disconnection failed, because it's not connected at all."&lt;/P&gt;
&lt;P&gt;At the same time an Information in the MS Eventviewer gets generated:&lt;/P&gt;
&lt;P&gt;Source: PostgreSQL&lt;/P&gt;
&lt;P&gt;"LOG:&amp;nbsp;could not receive data from the client: An existing connection was forcibly closed by the remote host." (Translated, so might not be the original english information)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;Only thing i could realy find to these Message didn't realy fit.&lt;/P&gt;
&lt;P&gt;for Example i tested the REST connector, works fine (&lt;A href="https://community.qlik.com/t5/Connectivity-Data-Prep/Monitoring-App-Error-CGenericConnection-QvConnect-failed-to/td-p/113695" target="_blank"&gt;Monitoring App Error - CGenericConnection: QvConne... - Qlik Community - 113695&lt;/A&gt;)&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Would be thankfull for any kind of advice or help, thanks in Advance!&lt;/P&gt;
&lt;P&gt;Best regards,&lt;BR /&gt;Tobi&lt;/P&gt;</description>
      <pubDate>Wed, 24 Nov 2021 11:53:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/QlikSense-Operations-Monitor-reload-generates-Warning/m-p/1863062#M9885</guid>
      <dc:creator>TobiasW</dc:creator>
      <dc:date>2021-11-24T11:53:46Z</dc:date>
    </item>
    <item>
      <title>Re: QlikSense Operations Monitor reload generates Warning</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/QlikSense-Operations-Monitor-reload-generates-Warning/m-p/1926066#M10674</link>
      <description>&lt;P&gt;&lt;STRONG&gt;tldr&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;You can safely ignore those warnings.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Long version&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;This is caused by slightly poor script design in that&amp;nbsp;app (and in the License Monitor app too).&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Those apps use a nested call hierarchy where one sub calls another sub etc.&amp;nbsp;&lt;/LI&gt;
&lt;LI&gt;In some of those subs there are calls to the Sense APIs, the repository db, log db etc.&amp;nbsp;&lt;/LI&gt;
&lt;LI&gt;When those calls are done a "disconnect" script command is used to do just that - disconnect from the data source.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;That's all good - it's in fact very good development practice to explicitly disconnect.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;But... In these apps there are a few misaligned disconnects, meaning that sometimes there will be a disconnect statement even though one was just done. I.e. disconnecting when not connected to something.&lt;BR /&gt;Which gives you the warning in the logs.&lt;/P&gt;
&lt;P&gt;Sense is pretty forgiving when it comes to &lt;STRONG&gt;not&lt;/STRONG&gt;&amp;nbsp;disconnecting though.. So if you want to get rid of those warnings you can comment out the disconnect statements in the app script. I've done this for the License Monitor that ships with November 2021 and the app reloads just fine.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Note: Future versions of the monitoring apps may very well fix this issue. Worth keeping in mind when starting to use new monitoring app versions after doing an upgrade of Sense.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 04 May 2022 08:39:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/QlikSense-Operations-Monitor-reload-generates-Warning/m-p/1926066#M10674</guid>
      <dc:creator>mountaindude</dc:creator>
      <dc:date>2022-05-04T08:39:15Z</dc:date>
    </item>
  </channel>
</rss>

