<?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: Error 403 connecting to Desktop engine in Integration, Extension &amp; APIs</title>
    <link>https://community.qlik.com/t5/Integration-Extension-APIs/Error-403-connecting-to-Desktop-engine/m-p/1045820#M4320</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gene,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this is working fine. You have to open a WebSocket and Connection to the port 4848 and send you requests.&lt;/P&gt;&lt;P&gt;For paid Help you can ask &lt;A href="https://community.qlik.com/qlik-users/3136"&gt;rbecher&lt;/A&gt; he has already written all that in JAVA.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;bye&lt;/P&gt;&lt;P&gt;Konrad&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 05 Feb 2016 05:58:20 GMT</pubDate>
    <dc:creator>konrad_mattheis</dc:creator>
    <dc:date>2016-02-05T05:58:20Z</dc:date>
    <item>
      <title>Error 403 connecting to Desktop engine</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Error-403-connecting-to-Desktop-engine/m-p/1045819#M4319</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I need to query information about a Qlik Sense app from a Java program, using the Engine API.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Though I will eventually use the enterprise edition, I'm trying to do my development on a Desktop version, to keep things simple. Turns out to be not so simple.&amp;nbsp;&amp;nbsp; All attempts to connect to the engine on port 4848 get a consistent 403 error &lt;SPAN style="font-size: 13.3333px;"&gt; (Yes, the Desktop app is running.&amp;nbsp; When it is not, an expected connection failure occurs.)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Everything I could find by way of Google on this issue was not helpful. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The JSON structure to simply query the engine for a list of apps seemed simple enough in the API explorer.&amp;nbsp; My program creates the same JSON RPC request:&lt;/P&gt;&lt;P&gt;&lt;CODE class="ng-binding language-css"&gt;&lt;SPAN class="token punctuation"&gt;{&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp; &lt;SPAN class="token string"&gt;"handle"&lt;/SPAN&gt;&lt;SPAN class="token punctuation"&gt;:&lt;/SPAN&gt; -1,&lt;BR /&gt;&amp;nbsp; &lt;SPAN class="token string"&gt;"method"&lt;/SPAN&gt;&lt;SPAN class="token punctuation"&gt;:&lt;/SPAN&gt; &lt;SPAN class="token string"&gt;"GetDocList"&lt;/SPAN&gt;,&lt;BR /&gt;&amp;nbsp; &lt;SPAN class="token string"&gt;"params"&lt;/SPAN&gt;&lt;SPAN class="token punctuation"&gt;:&lt;/SPAN&gt; [],&lt;BR /&gt;&amp;nbsp; &lt;SPAN class="token string"&gt;"id"&lt;/SPAN&gt;&lt;SPAN class="token punctuation"&gt;:&lt;/SPAN&gt; 6,&lt;BR /&gt;&amp;nbsp; &lt;SPAN class="token string"&gt;"jsonrpc"&lt;/SPAN&gt;&lt;SPAN class="token punctuation"&gt;:&lt;/SPAN&gt; &lt;SPAN class="token string"&gt;"2.0"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN class="token punctuation"&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;&lt;CODE class="ng-binding language-css"&gt;&lt;SPAN class="token punctuation"&gt;}&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="token punctuation"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="token punctuation"&gt;&lt;SPAN&gt;which I send to the url &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://localhost/4848/" rel="nofollow"&gt;http://localhost/4848/&lt;/A&gt;&lt;SPAN&gt;. (Since no app is involved in a request to get the list of apps, I didn't put anything in the path as the resource to be accessed.)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="token punctuation"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="token punctuation"&gt;I get a solid 403 error.&amp;nbsp; Trying other variants, such as using 127.0.0.1:4848, gets the same error.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="token punctuation"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="token punctuation"&gt;Since the api explorer works, it is not surprising that&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;the connection exists, according to netstat:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;TCP&amp;nbsp;&amp;nbsp;&amp;nbsp; 127.0.0.1:4848&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;machinename&amp;gt;:65237&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ESTABLISHED&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="token punctuation"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="token punctuation"&gt;and the firewall appears to be allowing qliksense.exe access. &lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="token punctuation"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Feb 2016 02:26:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Error-403-connecting-to-Desktop-engine/m-p/1045819#M4319</guid>
      <dc:creator />
      <dc:date>2016-02-04T02:26:51Z</dc:date>
    </item>
    <item>
      <title>Re: Error 403 connecting to Desktop engine</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Error-403-connecting-to-Desktop-engine/m-p/1045820#M4320</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gene,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this is working fine. You have to open a WebSocket and Connection to the port 4848 and send you requests.&lt;/P&gt;&lt;P&gt;For paid Help you can ask &lt;A href="https://community.qlik.com/qlik-users/3136"&gt;rbecher&lt;/A&gt; he has already written all that in JAVA.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;bye&lt;/P&gt;&lt;P&gt;Konrad&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Feb 2016 05:58:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Error-403-connecting-to-Desktop-engine/m-p/1045820#M4320</guid>
      <dc:creator>konrad_mattheis</dc:creator>
      <dc:date>2016-02-05T05:58:20Z</dc:date>
    </item>
    <item>
      <title>Re: Error 403 connecting to Desktop engine</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Error-403-connecting-to-Desktop-engine/m-p/1045821#M4321</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Problem resolved itself with a new comm support library (tyrus).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Feb 2016 19:35:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Error-403-connecting-to-Desktop-engine/m-p/1045821#M4321</guid>
      <dc:creator />
      <dc:date>2016-02-08T19:35:11Z</dc:date>
    </item>
  </channel>
</rss>

