<?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: Problem connecting to Engine API through Python or HTML in Integration, Extension &amp; APIs</title>
    <link>https://community.qlik.com/t5/Integration-Extension-APIs/Problem-connecting-to-Engine-API-through-Python-or-HTML/m-p/1266109#M6940</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;P&gt;Hi Chris, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have you shared a document or have any code available for python / Engine API? I would appreciate it! I checked on your profile here on community as well as Branch and am not seeing anything posted yet.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Chris&lt;/P&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 27 Apr 2017 04:57:33 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2017-04-27T04:57:33Z</dc:date>
    <item>
      <title>Problem connecting to Engine API through Python or HTML</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Problem-connecting-to-Engine-API-through-Python-or-HTML/m-p/1266104#M6935</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Today i upgraded Qlik Sense desktop to the latest edition (3.1.4) after having my existing one expired. We have developed a series of internal tools based on Python that we need to test them as a POC against desktop edition, before we move them to Qlik Sense. We haven't test them against server though. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is impossible to connect to Engine API through python and/or raw HTML code after the upgrade. Unfortunately i can't revert to the previous version.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A small sample that used to work is like that&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;CODE START&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&lt;/P&gt;&lt;P&gt;from websocket import create_connection&lt;/P&gt;&lt;P&gt;import json&lt;/P&gt;&lt;P&gt;data=json.dumps({&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;&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;&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; 'id': 0,&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 'method': 'OpenDoc',&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 'handle': -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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 'params': ['test.qvf']&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; }, &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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; sort_keys=True,&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;&amp;nbsp; indent=4, &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;&amp;nbsp; separators=(',', ': '))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ws = create_connection("ws://localhost:4848")&lt;/P&gt;&lt;P&gt;print("Sending req...")&lt;/P&gt;&lt;P&gt;ws.send(data)&lt;/P&gt;&lt;P&gt;print("Sent")&lt;/P&gt;&lt;P&gt;print("Receiving...")&lt;/P&gt;&lt;P&gt;result =&amp;nbsp; ws.recv()&lt;/P&gt;&lt;P&gt;print("Received '%s'" % result)&lt;/P&gt;&lt;P&gt;#ws.close()&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;print("press enter")&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;CODE END&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The exception is like that&lt;/P&gt;&lt;P&gt;&lt;IMG alt="exception.jpg" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/148224_exception.jpg" style="max-width: 620px; height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This same exception is raised also when i try to connect through HTML's websockets.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The code is tested in the corporate PC as well in my private one, just to confirm that a possible network issue stops the connection.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your help&lt;/P&gt;&lt;P&gt;Chris K. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Jan 2017 20:29:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Problem-connecting-to-Engine-API-through-Python-or-HTML/m-p/1266104#M6935</guid>
      <dc:creator>ckarras22</dc:creator>
      <dc:date>2017-01-03T20:29:05Z</dc:date>
    </item>
    <item>
      <title>Re: Problem connecting to Engine API through Python or HTML</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Problem-connecting-to-Engine-API-through-Python-or-HTML/m-p/1266105#M6936</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Make sure you connect to ws://localhost:4848/app/&lt;/P&gt;&lt;P&gt;The /app/ part is there so the Broker service knows that it's the engine you are trying to talk to and not some other service&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Jan 2017 22:12:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Problem-connecting-to-Engine-API-through-Python-or-HTML/m-p/1266105#M6936</guid>
      <dc:creator>Alexander_Thor</dc:creator>
      <dc:date>2017-01-03T22:12:35Z</dc:date>
    </item>
    <item>
      <title>Re: Problem connecting to Engine API through Python or HTML</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Problem-connecting-to-Engine-API-through-Python-or-HTML/m-p/1266106#M6937</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Alexander thank you so much...it worked!!! Though i don't understand why it was working all the time without the /app/ part. But in any case, your explanation is clear. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR&lt;/P&gt;&lt;P&gt;Chris K.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Jan 2017 23:00:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Problem-connecting-to-Engine-API-through-Python-or-HTML/m-p/1266106#M6937</guid>
      <dc:creator>ckarras22</dc:creator>
      <dc:date>2017-01-03T23:00:15Z</dc:date>
    </item>
    <item>
      <title>Re: Problem connecting to Engine API through Python or HTML</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Problem-connecting-to-Engine-API-through-Python-or-HTML/m-p/1266107#M6938</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Pre-3.0 we did not have the broker service so it was the engine service that listened to localhost:4848&lt;/P&gt;&lt;P&gt;However best practice has always been to use the /app/ route as that is also the session route you should use when opening applications.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Would be cool to see what you have built! Sadly we are lacking good python projects right now&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Jan 2017 23:47:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Problem-connecting-to-Engine-API-through-Python-or-HTML/m-p/1266107#M6938</guid>
      <dc:creator>Alexander_Thor</dc:creator>
      <dc:date>2017-01-03T23:47:10Z</dc:date>
    </item>
    <item>
      <title>Re: Problem connecting to Engine API through Python or HTML</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Problem-connecting-to-Engine-API-through-Python-or-HTML/m-p/1266108#M6939</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes ... this is my feeling, that the best practice of using the /app/ is forced now.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I will prepare a stripped down version of what can be done with python and Engine API, considering data models, connections, objects and children objects, manipulation of handlers etc and post as document here.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR&lt;/P&gt;&lt;P&gt;Chris K.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Jan 2017 23:59:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Problem-connecting-to-Engine-API-through-Python-or-HTML/m-p/1266108#M6939</guid>
      <dc:creator>ckarras22</dc:creator>
      <dc:date>2017-01-03T23:59:08Z</dc:date>
    </item>
    <item>
      <title>Re: Problem connecting to Engine API through Python or HTML</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Problem-connecting-to-Engine-API-through-Python-or-HTML/m-p/1266109#M6940</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;P&gt;Hi Chris, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have you shared a document or have any code available for python / Engine API? I would appreciate it! I checked on your profile here on community as well as Branch and am not seeing anything posted yet.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Chris&lt;/P&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Apr 2017 04:57:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Problem-connecting-to-Engine-API-through-Python-or-HTML/m-p/1266109#M6940</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-04-27T04:57:33Z</dc:date>
    </item>
    <item>
      <title>Re: Problem connecting to Engine API through Python or HTML</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Problem-connecting-to-Engine-API-through-Python-or-HTML/m-p/1266110#M6941</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Chris,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I haven't done something to strip down an example due to heavy workload on other projects. Nevertheless it is in my to do list to share.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR&lt;/P&gt;&lt;P&gt;Chris K. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Apr 2017 15:51:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Problem-connecting-to-Engine-API-through-Python-or-HTML/m-p/1266110#M6941</guid>
      <dc:creator>ckarras22</dc:creator>
      <dc:date>2017-04-27T15:51:46Z</dc:date>
    </item>
    <item>
      <title>Re: Problem connecting to Engine API through Python or HTML</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Problem-connecting-to-Engine-API-through-Python-or-HTML/m-p/1266111#M6942</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Great thanks, I have followed you. If you could put it on Branch that would be excellent. If you're not Branch Slack channel yet, I hope you sign up and perhaps ping me when you submit it. I can help you clean it up or advise on / facilitate the sharing if desired.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;Chris&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Apr 2017 15:56:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Problem-connecting-to-Engine-API-through-Python-or-HTML/m-p/1266111#M6942</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-04-27T15:56:15Z</dc:date>
    </item>
    <item>
      <title>Re: Problem connecting to Engine API through Python or HTML</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Problem-connecting-to-Engine-API-through-Python-or-HTML/m-p/1511349#M9546</link>
      <description>&lt;P&gt;Hii ,&lt;/P&gt;&lt;P&gt;&amp;nbsp;Can you share the code for connecting qlik engine api using python&lt;/P&gt;</description>
      <pubDate>Fri, 23 Nov 2018 05:28:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Problem-connecting-to-Engine-API-through-Python-or-HTML/m-p/1511349#M9546</guid>
      <dc:creator>mayuringale25</dc:creator>
      <dc:date>2018-11-23T05:28:05Z</dc:date>
    </item>
  </channel>
</rss>

