<?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: Cannot create session after closing it in Integration, Extension &amp; APIs</title>
    <link>https://community.qlik.com/t5/Integration-Extension-APIs/Cannot-create-session-after-closing-it/m-p/105741#M1448</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ben,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would suggest raising a ticket with qlik team itself. This could probably be a bug.&lt;/P&gt;&lt;P&gt;As you say it is connecting after certain amount of time.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 05 Nov 2018 08:17:39 GMT</pubDate>
    <dc:creator>jobsonkjoseph</dc:creator>
    <dc:date>2018-11-05T08:17:39Z</dc:date>
    <item>
      <title>Cannot create session after closing it</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Cannot-create-session-after-closing-it/m-p/105738#M1445</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13.3333px;"&gt;As per engima's documentation, I create the sesion via:&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; const session = enigma.create({&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; schema,&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; url: &amp;lt;some url&amp;gt;,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; createSocket: url =&amp;gt; Websocket(url, {&amp;lt;authorization header&amp;gt;}) &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; })&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;I was able to connect to qlik engine, open a document, etc.&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;I store this session in some variable and inside one function I close it:&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; session.close().then(() =&amp;gt; console.log('Session closed properly'));&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Then, after a few seconds, I tried to run my application again.&amp;nbsp; However, this time, I cannot create a connection, I'm getting the error:&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; {"jsonrpc":"2.0","method":"OnLicenseAccessDenied"...&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;So I need to wait for 5 minutes before I can run again my application.&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Could you advise what is happening?&amp;nbsp; I really thought closing the session will allow me to create another session.&amp;nbsp; By the way, I am connecting to 5 apps, so I have 5 sessions when I start my application.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Nov 2018 05:07:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Cannot-create-session-after-closing-it/m-p/105738#M1445</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-11-05T05:07:08Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot create session after closing it</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Cannot-create-session-after-closing-it/m-p/105739#M1446</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;As per Qlik below is the explanation;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://help.qlik.com/en-US/sense-developer/June2018/Subsystems/ProxyServiceAPI/Content/ProxyServiceAPI/ProxyServiceAPI-Msgs-Proxy-Clients-OnLicenseAccessDenied.htm" title="https://help.qlik.com/en-US/sense-developer/June2018/Subsystems/ProxyServiceAPI/Content/ProxyServiceAPI/ProxyServiceAPI-Msgs-Proxy-Clients-OnLicenseAccessDenied.htm"&gt;https://help.qlik.com/en-US/sense-developer/June2018/Subsystems/ProxyServiceAPI/Content/ProxyServiceAPI/ProxyServiceAPI-…&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Nov 2018 06:36:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Cannot-create-session-after-closing-it/m-p/105739#M1446</guid>
      <dc:creator>jobsonkjoseph</dc:creator>
      <dc:date>2018-11-05T06:36:55Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot create session after closing it</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Cannot-create-session-after-closing-it/m-p/105740#M1447</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jobson,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am aware of that link.&amp;nbsp; However, I don't really understand it.&amp;nbsp; In my testing, after 5 minutes has passed, I can again re-establish the connection.&amp;nbsp; This OnLicenseAccessDenied always appear whenever I create a session for an app, immediately close my server, then create the session again.&amp;nbsp; That's why I added the "session.close()" inside one function before I close my server, hoping that I don't run on this error.&amp;nbsp; But still it shows.&amp;nbsp; Am I closing the session the proper way?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Nov 2018 07:23:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Cannot-create-session-after-closing-it/m-p/105740#M1447</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-11-05T07:23:21Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot create session after closing it</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Cannot-create-session-after-closing-it/m-p/105741#M1448</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ben,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would suggest raising a ticket with qlik team itself. This could probably be a bug.&lt;/P&gt;&lt;P&gt;As you say it is connecting after certain amount of time.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Nov 2018 08:17:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Cannot-create-session-after-closing-it/m-p/105741#M1448</guid>
      <dc:creator>jobsonkjoseph</dc:creator>
      <dc:date>2018-11-05T08:17:39Z</dc:date>
    </item>
  </channel>
</rss>

