<?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: Qlik Engine API Does Not Work after June 2017 update in Integration, Extension &amp; APIs</title>
    <link>https://community.qlik.com/t5/Integration-Extension-APIs/Qlik-Engine-API-Does-Not-Work-after-June-2017-update/m-p/1436251#M9031</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi again!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To clarify, I'm trying to launch QlikSense using a background process to interact with an specific app. So, are you telling me this is not possible due to the login step? Is there any way to send to Qlik Sense Desktop my credentials? I tried out my code skiping the QlikSense launch and another exception was trhown: System.ComponentModel.WarningException: 'SDK target system version mismatch. SDK target system version (v4.0) should match server version(v3.2)'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Nevertheless, even if I fix the version mismatch, this is not the expected behavior.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help will be very appreciate.&lt;/P&gt;&lt;P&gt;Regards!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 23 Aug 2017 15:54:57 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2017-08-23T15:54:57Z</dc:date>
    <item>
      <title>Qlik Engine API Does Not Work after June 2017 update</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Qlik-Engine-API-Does-Not-Work-after-June-2017-update/m-p/1436241#M9021</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13.3333px;"&gt;Hi, &lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;With the June 2017 upgrade of the Qlik server, most of the Qlik Engine API calls fail now (GetConnections, SetScript, GetScript, etc.). Did anyone experience this issue?&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;I tested the Engine API in the Engine API Explorer in the Dev Hub and the calls work there. But, using the exact same parameters through a websocket connection, the Engine API returns {'code': -32602, 'parameter': 'Invalid handle', 'message': 'Invalid Params'}&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;The handle and parameters I send are exactly the ones in the Engine API Explorer. Can anyone relate to this issue? &lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Thanks,&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Chris&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Aug 2017 08:52:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Qlik-Engine-API-Does-Not-Work-after-June-2017-update/m-p/1436241#M9021</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-08-21T08:52:14Z</dc:date>
    </item>
    <item>
      <title>Re: Qlik Engine API Does Not Work after June 2017 update</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Qlik-Engine-API-Does-Not-Work-after-June-2017-update/m-p/1436242#M9022</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You'll probably need to add the method calls you use. Can you attach an example? From the "invalid handle" string, I would suspect that there is something fishy with how you use the handle. How do you get hold of the handle and how do you use it?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Aug 2017 10:28:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Qlik-Engine-API-Does-Not-Work-after-June-2017-update/m-p/1436242#M9022</guid>
      <dc:creator>Øystein_Kolsrud</dc:creator>
      <dc:date>2017-08-21T10:28:17Z</dc:date>
    </item>
    <item>
      <title>Re: Qlik Engine API Does Not Work after June 2017 update</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Qlik-Engine-API-Does-Not-Work-after-June-2017-update/m-p/1436243#M9023</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Øystein,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sure, below flow in the client I've implemented. Everything is pretty much hardcoded, so I really can't see what is the matter.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First, I open an app by sending this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data = {&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #008080;"&gt;"jsonrpc"&lt;/SPAN&gt;: &lt;SPAN style="color: #008080;"&gt;"2.0"&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;,&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #008080;"&gt;"id"&lt;/SPAN&gt;: &lt;SPAN style="color: #6897bb;"&gt;2&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;,&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #008080;"&gt;"method"&lt;/SPAN&gt;: "OpenDoc"&lt;SPAN style="color: #cc7832;"&gt;,&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #008080;"&gt;"handle"&lt;/SPAN&gt;: -&lt;SPAN style="color: #6897bb;"&gt;1&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;,&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #008080;"&gt;"params"&lt;/SPAN&gt;: [&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {"qDocName": "&lt;SPAN style="font-size: 13.3333px;"&gt;293dght3-cd32-40ff-99afF-380e46c384a3&lt;/SPAN&gt;"}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ]&lt;SPAN style="color: #cc7832;"&gt;,&lt;BR /&gt;&lt;/SPAN&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The server responds:&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 'jsonrpc': '2.0',&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 'id': 2,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 'result': {&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 'qReturn': {&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 'qType': 'Doc',&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 'qHandle': 1,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 'qGenericId': '293Dght3-CD32-40FF-99AF-380E46C384A3'&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }}, &lt;SPAN style="font-size: 10pt;"&gt;'change': [1]&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then, I send through the websocket connection a method such as GetConnections(), formatted as this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data = {&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #008080;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "jsonrpc"&lt;/SPAN&gt;: &lt;SPAN style="color: #008080;"&gt;"2.0"&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;,&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #008080;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "id"&lt;/SPAN&gt;: &lt;SPAN style="color: #6897bb;"&gt;2&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;,&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #008080;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "method"&lt;/SPAN&gt;: "GetConnections"&lt;SPAN style="color: #cc7832;"&gt;,&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #008080;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "handle"&lt;/SPAN&gt;: &lt;SPAN style="color: #6897bb;"&gt;1&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;,&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #008080;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "params"&lt;/SPAN&gt;: []&lt;SPAN style="color: #cc7832;"&gt;,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To which the server responds with an error containing the line I pasted in my question:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;{'jsonrpc': '2.0', 'id': 2, 'error': {'code': -32602, 'parameter': 'Invalid handle', 'message': 'Invalid Params'}}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please reply should you need any additional info on this. My initial thought was that something had changed along with the June 2017 update, because this worked perfectly (I actually got all the connections with the GetConnections() method) before updating the Qlik server.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Chris&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Aug 2017 11:48:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Qlik-Engine-API-Does-Not-Work-after-June-2017-update/m-p/1436243#M9023</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-08-21T11:48:46Z</dc:date>
    </item>
    <item>
      <title>Re: Qlik Engine API Does Not Work after June 2017 update</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Qlik-Engine-API-Does-Not-Work-after-June-2017-update/m-p/1436244#M9024</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I see you are reusing the request ID. (It's set to 2 in both calls.) Don't know if that is the problem here, but I would expect those numbers to be unique. Have you tried with different ids?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Aug 2017 11:55:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Qlik-Engine-API-Does-Not-Work-after-June-2017-update/m-p/1436244#M9024</guid>
      <dc:creator>Øystein_Kolsrud</dc:creator>
      <dc:date>2017-08-21T11:55:50Z</dc:date>
    </item>
    <item>
      <title>Re: Qlik Engine API Does Not Work after June 2017 update</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Qlik-Engine-API-Does-Not-Work-after-June-2017-update/m-p/1436245#M9025</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sure, I tried it with unique IDs, also&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Aug 2017 12:01:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Qlik-Engine-API-Does-Not-Work-after-June-2017-update/m-p/1436245#M9025</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-08-21T12:01:49Z</dc:date>
    </item>
    <item>
      <title>Re: Qlik Engine API Does Not Work after June 2017 update</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Qlik-Engine-API-Does-Not-Work-after-June-2017-update/m-p/1436246#M9026</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I just tried to do that GetConnections operation through the .Net SDK, and it seems to work fine with the June2017 release. How do you set up the server connection in your case? Could it be that the two calls somehow go to different sessions?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Are there any methods using the app handle that you are able to run successfully?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Aug 2017 12:48:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Qlik-Engine-API-Does-Not-Work-after-June-2017-update/m-p/1436246#M9026</guid>
      <dc:creator>Øystein_Kolsrud</dc:creator>
      <dc:date>2017-08-21T12:48:17Z</dc:date>
    </item>
    <item>
      <title>Re: Qlik Engine API Does Not Work after June 2017 update</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Qlik-Engine-API-Does-Not-Work-after-June-2017-update/m-p/1436247#M9027</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As a matter of fact, no methods using the app handle (1) work. They all reply the same thing: &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;{'code': -32602, 'parameter': 'Invalid handle', 'message': 'Invalid Params'}&lt;/SPAN&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using a Python client to connect to the server and make the calls. This is how I connect:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #cc7832; font-weight: bold;"&gt;async def &lt;/SPAN&gt;&lt;SPAN style="font-weight: bold;"&gt;connect&lt;/SPAN&gt;(&lt;SPAN style="color: #94558d;"&gt;self&lt;/SPAN&gt;&lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; ssl_ctx = ssl.create_default_context(ssl.Purpose.CLIENT_AUTH)&lt;/P&gt;&lt;P&gt;&amp;nbsp; ssl_ctx.load_cert_chain(&lt;SPAN style="color: #aa4926;"&gt;certfile&lt;/SPAN&gt;=&lt;SPAN style="color: #94558d;"&gt;self&lt;/SPAN&gt;.certfile&lt;SPAN style="color: #cc7832;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #aa4926;"&gt;keyfile&lt;/SPAN&gt;=&lt;SPAN style="color: #94558d;"&gt;self&lt;/SPAN&gt;.keyfile)&lt;/P&gt;&lt;P&gt;&amp;nbsp; conn = aiohttp.TCPConnector(&lt;SPAN style="color: #aa4926;"&gt;ssl_context&lt;/SPAN&gt;=ssl_ctx)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; session = aiohttp.ClientSession(&lt;SPAN style="color: #aa4926;"&gt;connector&lt;/SPAN&gt;=conn&lt;SPAN style="color: #cc7832;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #aa4926;"&gt;headers&lt;/SPAN&gt;={&lt;SPAN style="color: #008080;"&gt;"X-Qlik-User"&lt;/SPAN&gt;: &lt;SPAN style="color: #008080;"&gt;"UserDirectory=MyUserDirectory; UserId=MyUserId"&lt;/SPAN&gt;})&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; ws = &lt;SPAN style="color: #cc7832; font-weight: bold;"&gt;await &lt;/SPAN&gt;session.ws_connect(&lt;SPAN style="color: #008080;"&gt;f"wss://{self.host}:{self.port}/app"&lt;/SPAN&gt;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The funny thing is that this worked perfectly until upgrading to the June2017 version.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Aug 2017 13:31:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Qlik-Engine-API-Does-Not-Work-after-June-2017-update/m-p/1436247#M9027</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-08-21T13:31:47Z</dc:date>
    </item>
    <item>
      <title>Re: Qlik Engine API Does Not Work after June 2017 update</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Qlik-Engine-API-Does-Not-Work-after-June-2017-update/m-p/1436248#M9028</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well, I'm afraid I'm out of ideas, but if you are familiar with C#, then you might want to try doing it through the .Net SDK and see if you get it working there. If you don't then perhaps there is some sort of server setting that has changed? You mentioned that you upgraded to June 2017, so perhaps some form of access privilege is not what it aught to be? I'm not very familiar with those settings though so just guessing...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Aug 2017 15:09:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Qlik-Engine-API-Does-Not-Work-after-June-2017-update/m-p/1436248#M9028</guid>
      <dc:creator>Øystein_Kolsrud</dc:creator>
      <dc:date>2017-08-21T15:09:42Z</dc:date>
    </item>
    <item>
      <title>Re: Qlik Engine API Does Not Work after June 2017 update</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Qlik-Engine-API-Does-Not-Work-after-June-2017-update/m-p/1436249#M9029</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Øystein!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I saw this discussion and I'm very interested in how do you achieve to connect with Qlik Sense Desktop sing the .Net SDK. I'm using the documented examples, but can't connect with my Qlik Sense Desktop installation:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;var location = Qlik.Engine.Location.FromUri(new Uri("&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://127.0.0.1:4848" rel="nofollow" target="_blank"&gt;http://127.0.0.1:4848&lt;/A&gt;&lt;SPAN&gt;"));&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;location.AsDirectConnectionToPersonalEdition();&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;using(IHub hub = location.Hub())&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Console.WriteLine(hub.ProductVersion());&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Problem is when trying to do location.Hub(), this throws an exception with this message:&lt;/P&gt;&lt;P&gt;Connection failed after 4 attempts. Error message:&lt;/P&gt;&lt;P&gt;&amp;nbsp; No se puede establecer una conexión ya que el equipo de destino denegó expresamente dicha conexión [::ffff:127.0.0.1]:4848&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you guide me on how to do this? I'm following this documentation:&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.qlik.com/en-US/sense-developer/June2017/Subsystems/NetSDKAPI/Content/GettingStarted/Getting-Started-Steps.htm" title="http://help.qlik.com/en-US/sense-developer/June2017/Subsystems/NetSDKAPI/Content/GettingStarted/Getting-Started-Steps.htm"&gt;Getting started with the Qlik Sense .NET SDK ‒ Qlik Sense&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Aug 2017 00:33:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Qlik-Engine-API-Does-Not-Work-after-June-2017-update/m-p/1436249#M9029</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-08-23T00:33:20Z</dc:date>
    </item>
    <item>
      <title>Re: Qlik Engine API Does Not Work after June 2017 update</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Qlik-Engine-API-Does-Not-Work-after-June-2017-update/m-p/1436250#M9030</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just to make sure: In order to connect like that you need to have Qlik Sense Desktop up and running on your local machine, and you need to be logged in as well. Have you done that?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Aug 2017 07:10:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Qlik-Engine-API-Does-Not-Work-after-June-2017-update/m-p/1436250#M9030</guid>
      <dc:creator>Øystein_Kolsrud</dc:creator>
      <dc:date>2017-08-23T07:10:10Z</dc:date>
    </item>
    <item>
      <title>Re: Qlik Engine API Does Not Work after June 2017 update</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Qlik-Engine-API-Does-Not-Work-after-June-2017-update/m-p/1436251#M9031</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi again!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To clarify, I'm trying to launch QlikSense using a background process to interact with an specific app. So, are you telling me this is not possible due to the login step? Is there any way to send to Qlik Sense Desktop my credentials? I tried out my code skiping the QlikSense launch and another exception was trhown: System.ComponentModel.WarningException: 'SDK target system version mismatch. SDK target system version (v4.0) should match server version(v3.2)'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Nevertheless, even if I fix the version mismatch, this is not the expected behavior.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help will be very appreciate.&lt;/P&gt;&lt;P&gt;Regards!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Aug 2017 15:54:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Qlik-Engine-API-Does-Not-Work-after-June-2017-update/m-p/1436251#M9031</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-08-23T15:54:57Z</dc:date>
    </item>
    <item>
      <title>Re: Qlik Engine API Does Not Work after June 2017 update</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Qlik-Engine-API-Does-Not-Work-after-June-2017-update/m-p/1436252#M9032</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm not sure if it possible to pass along credentials to Desktop, so I hope someone else can chime in on that one.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The version mismatch is easy to avoid though. If you don't want to use the 3.2 version that matches the server, then you can deactivate the version check like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="c#" __jive_macro_name="code" class="jive_macro_code _jivemacro_uid_15035597378665572 jive_text_macro" jivemacro_uid="_15035597378665572" modifiedtitle="true"&gt;
&lt;P&gt;location.IsVersionCheckActive = false;&lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Keep in mind that this means that the SDK will be out of sync with the engine API, so you might get some strange behaviors. But in reality the API's change so little that it usually works anyway.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Aug 2017 07:29:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Qlik-Engine-API-Does-Not-Work-after-June-2017-update/m-p/1436252#M9032</guid>
      <dc:creator>Øystein_Kolsrud</dc:creator>
      <dc:date>2017-08-24T07:29:24Z</dc:date>
    </item>
    <item>
      <title>Re: Qlik Engine API Does Not Work after June 2017 update</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Qlik-Engine-API-Does-Not-Work-after-June-2017-update/m-p/1436253#M9033</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;The licensing terms for Qlik Desktop requires you to log in.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you wish to run it as a automated process then it should be connected to a Qlik Sense Enterprise server and authenticated through whatever mechanism the virtual proxy is configured for.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Aug 2017 08:48:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Qlik-Engine-API-Does-Not-Work-after-June-2017-update/m-p/1436253#M9033</guid>
      <dc:creator>Alexander_Thor</dc:creator>
      <dc:date>2017-08-24T08:48:51Z</dc:date>
    </item>
    <item>
      <title>Re: Qlik Engine API Does Not Work after June 2017 update</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Qlik-Engine-API-Does-Not-Work-after-June-2017-update/m-p/1436254#M9034</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I found the solution to my initial issue. It was related to not awaiting the receive() method on the websocket object created with the line from my above code: &lt;SPAN style="font-size: 13.3333px;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;ws = &lt;/SPAN&gt;&lt;SPAN style="font-weight: bold; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #cc7832;"&gt;await &lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;session.ws_connect(&lt;/SPAN&gt;&lt;SPAN style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #008080;"&gt;f"wss://{self.host}:{self.port}/app"&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;). In short, when I also awaited ws.receive() everything started to work again.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Now, to explain why it worked before without calling receive() on the websocket object, I can only presume that in version 3.2, Qlik Engine did not return any message upon successfully connecting through its websocket API. And now, in version 4.0, it does. So that message had to be awaited also. &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Aug 2017 08:55:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Qlik-Engine-API-Does-Not-Work-after-June-2017-update/m-p/1436254#M9034</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-08-24T08:55:48Z</dc:date>
    </item>
    <item>
      <title>Re: Qlik Engine API Does Not Work after June 2017 update</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Qlik-Engine-API-Does-Not-Work-after-June-2017-update/m-p/1436255#M9035</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Agreed, I used that approach to fix the versión mismatch. So, if the full automation is not possible, we will need another solution to our needs. Anyway, all your help is very appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Aug 2017 15:24:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Qlik-Engine-API-Does-Not-Work-after-June-2017-update/m-p/1436255#M9035</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-08-24T15:24:20Z</dc:date>
    </item>
  </channel>
</rss>

