<?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: WebSocket session closed when calling QRS API in Integration, Extension &amp; APIs</title>
    <link>https://community.qlik.com/t5/Integration-Extension-APIs/WebSocket-session-closed-when-calling-QRS-API/m-p/1082245#M4792</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The session is closed by design. If you would reuse the same session for another app you would break the load balancing. You should always open a new session when you open an app, to allow the load balancer to direct you to the correct engine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Erik&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 17 Mar 2016 06:52:00 GMT</pubDate>
    <dc:creator>ErikWetterberg</dc:creator>
    <dc:date>2016-03-17T06:52:00Z</dc:date>
    <item>
      <title>WebSocket session closed when calling QRS API</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/WebSocket-session-closed-when-calling-QRS-API/m-p/1082241#M4788</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I just noticed that something interesting when using Engine API and QRS API together.&lt;/P&gt;&lt;P&gt;Here's the scenario:&lt;/P&gt;&lt;P&gt;- open WebSocket session for Engine API calls (using Java &amp;amp; Tyrus WS implementation)&lt;/P&gt;&lt;P&gt;- call some Engine API method&lt;/P&gt;&lt;P&gt;- make a QRS API call&lt;/P&gt;&lt;P&gt;--&amp;gt; WebSocket session closes just after this !?!? (subsequent Engine API calls will fail)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I leave out QRS API call, the WS session stays open normally ofc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is Qlik closing the WS session when executing the QRS API call?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This feels a bit strange to me. Anyone else has encountered this?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Mar 2016 08:25:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/WebSocket-session-closed-when-calling-QRS-API/m-p/1082241#M4788</guid>
      <dc:creator />
      <dc:date>2016-03-16T08:25:13Z</dc:date>
    </item>
    <item>
      <title>Re: WebSocket session closed when calling QRS API</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/WebSocket-session-closed-when-calling-QRS-API/m-p/1082242#M4789</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just a quick update: &lt;/P&gt;&lt;P&gt;This seems to be the case only if we delete an app via QRS API that we have been creating via Engine API call.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So an improved description of events is as follows:&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;- open WebSocket session for Engine API calls (using Java &amp;amp; Tyrus WS implementation)&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;- call "CreateApp" Engine API method&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;- call "OpenDoc" Engine API method (get handle to created app)&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;- make a QRS API call (DELETE qrs/app/{id}) (delete the created app)&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;--&amp;gt; WebSocket session closes just after this (subsequent Engine API calls will fail)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Mar 2016 08:58:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/WebSocket-session-closed-when-calling-QRS-API/m-p/1082242#M4789</guid>
      <dc:creator />
      <dc:date>2016-03-16T08:58:11Z</dc:date>
    </item>
    <item>
      <title>Re: WebSocket session closed when calling QRS API</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/WebSocket-session-closed-when-calling-QRS-API/m-p/1082243#M4790</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are you deleting the same app that you have just opened? Your WebSocket session will be tied to the app you are connecting to, so if the app is deleted, then it is expected that your WebSocket should close as well. But if you have a WebSocket connection to the hub or another app, then that should remain unaffected.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Mar 2016 11:18:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/WebSocket-session-closed-when-calling-QRS-API/m-p/1082243#M4790</guid>
      <dc:creator>Øystein_Kolsrud</dc:creator>
      <dc:date>2016-03-16T11:18:07Z</dc:date>
    </item>
    <item>
      <title>Re: WebSocket session closed when calling QRS API</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/WebSocket-session-closed-when-calling-QRS-API/m-p/1082244#M4791</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes it is the same app we're deleting. It is used for temporary purposes.&lt;/P&gt;&lt;P&gt;It's a bit shame that it's closing the session in this scenario, I mean one might guess you could do other things that are not related to that app in the same session later on, right?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ok but anyway, thanks for the answer and I'll refactor our code and move things around to avoid this situation.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Mar 2016 11:47:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/WebSocket-session-closed-when-calling-QRS-API/m-p/1082244#M4791</guid>
      <dc:creator />
      <dc:date>2016-03-16T11:47:28Z</dc:date>
    </item>
    <item>
      <title>Re: WebSocket session closed when calling QRS API</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/WebSocket-session-closed-when-calling-QRS-API/m-p/1082245#M4792</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The session is closed by design. If you would reuse the same session for another app you would break the load balancing. You should always open a new session when you open an app, to allow the load balancer to direct you to the correct engine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Erik&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Mar 2016 06:52:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/WebSocket-session-closed-when-calling-QRS-API/m-p/1082245#M4792</guid>
      <dc:creator>ErikWetterberg</dc:creator>
      <dc:date>2016-03-17T06:52:00Z</dc:date>
    </item>
    <item>
      <title>Re: WebSocket session closed when calling QRS API</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/WebSocket-session-closed-when-calling-QRS-API/m-p/1082246#M4793</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok thanks Erik.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Mar 2016 09:11:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/WebSocket-session-closed-when-calling-QRS-API/m-p/1082246#M4793</guid>
      <dc:creator />
      <dc:date>2016-03-17T09:11:07Z</dc:date>
    </item>
    <item>
      <title>Re: WebSocket session closed when calling QRS API</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/WebSocket-session-closed-when-calling-QRS-API/m-p/1082247#M4794</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Tony,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I just that you succeed to connect to &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Engine API from java using Tyrus WS implemantation.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm trying the same thing, but I still have a problem to authenticate my first call (GetDocList).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;It return me this : {"jsonrpc":"2.0","method":"OnAuthenticationInformation","params":{"loginUri":"&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://qlik:4248/form/?targetId=d73c82b6-3ed6-457f-976b-8729cc89cd80" rel="nofollow" target="_blank"&gt;http://qlik:4248/form/?targetId=d73c82b6-3ed6-457f-976b-8729cc89cd80&lt;/A&gt;&lt;SPAN&gt;","mustAuthenticate":true}}&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you help me ?&lt;/P&gt;&lt;P&gt;I try with a qlikTicket and with an another virtual proxy throw static header authentication.&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;Eric&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Sep 2016 16:11:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/WebSocket-session-closed-when-calling-QRS-API/m-p/1082247#M4794</guid>
      <dc:creator />
      <dc:date>2016-09-09T16:11:13Z</dc:date>
    </item>
  </channel>
</rss>

