<?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 Re: QVS failed due to SocketException in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/QVS-failed-due-to-SocketException/m-p/423460#M1274228</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Eamonn O'Brien ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I get same error. Did you found the solution?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 16 Apr 2014 16:09:42 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-04-16T16:09:42Z</dc:date>
    <item>
      <title>QVS failed due to SocketException</title>
      <link>https://community.qlik.com/t5/QlikView/QVS-failed-due-to-SocketException/m-p/423458#M1274225</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone tell me that why these errors occured?&lt;/P&gt;&lt;P&gt;Today qlikview server and publisher stop responding, no msg or alert was generated by server. In winder service viewer all services were running but i found errors in Event Viewer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Message 1:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;System.Net.Sockets.SocketException: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp; at QlikTech.NetClient.QvClient.GetMessageDataFromSocket(Byte[] buffer, Double timeout)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp; at QlikTech.NetClient.QvClient.GetMessageSizeFromSocket(Double timeout)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp; at QlikTech.NetClient.QvClient.GetMessageSizeFromSocket()&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp; at QlikTech.NetClient.QvClient.Execute(Byte[] request)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp; at QlikTech.NetClient.QvClient.Execute(String request)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp; at Wrappers.QVSWrapper.CallFunction(String methodname, String iStartElement, String iStartAttribute, IXmlSerializable arguments, IXmlSerializable outpar, String&amp;amp; message)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp; at Wrappers.QVSWrapper.CallFunction(String methodname, String iStartElement, String iStartAttribute, IXmlSerializable arguments, IXmlSerializable outpar)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp; at Wrappers.QVSWrapper.GetServerStatus()&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp; at QMSBackendCore.Communication.QlikViewServer.GetServerStatus(QVSCluster qvsClusterMember, String userName, String password)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp; at QMSBackendCore.Service.ServiceImpl.&amp;lt;&amp;gt;c__DisplayClass4a.&amp;lt;DoGetServiceStatuses&amp;gt;b__44(QVSCluster member)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp; at System.Linq.Enumerable.ToDictionary[TSource,TKey,TElement](IEnumerable`1 source, Func`2 keySelector, Func`2 elementSelector, IEqualityComparer`1 comparer)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp; at System.Linq.Enumerable.ToDictionary[TSource,TKey,TElement](IEnumerable`1 source, Func`2 keySelector, Func`2 elementSelector)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp; at QMSBackendCore.Service.ServiceImpl.DoGetServiceStatuses()&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Message 2:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;System.Exception: Failed to retrieve settings from QlikView Server.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp; at QMSBackendCore.Service.ServiceImpl.GetQVSSettings(Guid qvsID, QVSSettingsScope scope)&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Jan 2026 18:19:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/QVS-failed-due-to-SocketException/m-p/423458#M1274225</guid>
      <dc:creator />
      <dc:date>2026-01-26T18:19:17Z</dc:date>
    </item>
    <item>
      <title>Re: QVS failed due to SocketException</title>
      <link>https://community.qlik.com/t5/QlikView/QVS-failed-due-to-SocketException/m-p/423459#M1274227</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Adnan&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Did you ever get an answer to why these errors occur?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind Regards&lt;/P&gt;&lt;P&gt;Eamonn&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Apr 2013 14:39:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/QVS-failed-due-to-SocketException/m-p/423459#M1274227</guid>
      <dc:creator>obriened83</dc:creator>
      <dc:date>2013-04-15T14:39:00Z</dc:date>
    </item>
    <item>
      <title>Re: QVS failed due to SocketException</title>
      <link>https://community.qlik.com/t5/QlikView/QVS-failed-due-to-SocketException/m-p/423460#M1274228</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Eamonn O'Brien ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I get same error. Did you found the solution?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Apr 2014 16:09:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/QVS-failed-due-to-SocketException/m-p/423460#M1274228</guid>
      <dc:creator />
      <dc:date>2014-04-16T16:09:42Z</dc:date>
    </item>
    <item>
      <title>Re: QVS failed due to SocketException</title>
      <link>https://community.qlik.com/t5/QlikView/QVS-failed-due-to-SocketException/m-p/423461#M1274231</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Did anyone find the solution, even I am getting same error. I have even registered a qlik support case.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Nisha&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Aug 2014 06:10:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/QVS-failed-due-to-SocketException/m-p/423461#M1274231</guid>
      <dc:creator />
      <dc:date>2014-08-14T06:10:04Z</dc:date>
    </item>
    <item>
      <title>Re: QVS failed due to SocketException</title>
      <link>https://community.qlik.com/t5/QlikView/QVS-failed-due-to-SocketException/m-p/423462#M1274232</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Nish,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; This issue was caused by our CPUs maxing to 100% for a certain length of time when the QMS was trying to initiate a task execution. We overcame this issue, by ensuring that all our loads were optimized so that the CPUs would never be maxed out at any time when tasks were reloaded over night. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A few things that you could do to reduce CPU usage:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt; Ensure that all your loads are optimized when loading in QVDs, It's good practice not to try and do everything at once. Instead break it into steps, for example..&lt;OL&gt;&lt;OL&gt;&lt;OL&gt;&lt;OL&gt;&lt;OL&gt;&lt;OL&gt;&lt;LI&gt;Load the Data QVD first into a resident table&lt;/LI&gt;&lt;LI&gt;Format Dates or Text of that resident table&lt;/LI&gt;&lt;LI&gt;Then Aggregate the Data.&lt;/LI&gt;&lt;/OL&gt;&lt;/OL&gt;&lt;/OL&gt;&lt;/OL&gt;&lt;/OL&gt;&lt;/OL&gt;&lt;/LI&gt;&lt;LI&gt; One function that we came across that was constantly max the CPUs was the &lt;STRONG&gt;DayStart()&lt;/STRONG&gt; Function. Use an alternative such as Date(Floor(date_field)) instead.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let me know if this helps any bit.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;Eamonn&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Aug 2014 17:12:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/QVS-failed-due-to-SocketException/m-p/423462#M1274232</guid>
      <dc:creator>obriened83</dc:creator>
      <dc:date>2014-08-21T17:12:08Z</dc:date>
    </item>
  </channel>
</rss>

