<?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 Qlik Engine API and qSocks: Connection to Server in Integration, Extension &amp; APIs</title>
    <link>https://community.qlik.com/t5/Integration-Extension-APIs/Qlik-Engine-API-and-qSocks-Connection-to-Server/m-p/1100123#M4956</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am working on an extension to support multiple languages in Qlik Sense using the Engine API. The extension works fine in Qlik Sense Desktop, but I am experiencing difficulties in migrating this solution on our Qlik Sense server. I cannot establish connection to the engine API on the server. Currently I am using this config:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;var config = {&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; host: 'x.x.com/sense',&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; isSecure: true,&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; origin: '&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://x.x.com" rel="nofollow" target="_blank"&gt;https://x.x.com&lt;/A&gt;&lt;SPAN&gt;',&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; appname: '8b43f5f5-f5fd-4d5c-a9cd-5d4d47726fb4',&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // cert: fs.readFile('/client.pem'),&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // key: fs.readFileSync('/client_key.pem')&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;};&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;qsocks.Connect(config).then(function(global) { ... }&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With this configuration, I get the message: "WebSocket opening handshake was canceled". I suppose the cert and key field are required, but how to include the fs module from node.js in a Qlik Sense extension? Using browserify and create a fs.bundle like done for qsocks.bundle?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the end, I want the extension to behave as in Qlik Sense Desktop: each user can select his/her language and the objects are translated in his/her session.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Gregory&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 27 Aug 2016 08:20:18 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2016-08-27T08:20:18Z</dc:date>
    <item>
      <title>Qlik Engine API and qSocks: Connection to Server</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Qlik-Engine-API-and-qSocks-Connection-to-Server/m-p/1100123#M4956</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am working on an extension to support multiple languages in Qlik Sense using the Engine API. The extension works fine in Qlik Sense Desktop, but I am experiencing difficulties in migrating this solution on our Qlik Sense server. I cannot establish connection to the engine API on the server. Currently I am using this config:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;var config = {&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; host: 'x.x.com/sense',&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; isSecure: true,&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; origin: '&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://x.x.com" rel="nofollow" target="_blank"&gt;https://x.x.com&lt;/A&gt;&lt;SPAN&gt;',&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; appname: '8b43f5f5-f5fd-4d5c-a9cd-5d4d47726fb4',&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // cert: fs.readFile('/client.pem'),&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // key: fs.readFileSync('/client_key.pem')&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;};&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;qsocks.Connect(config).then(function(global) { ... }&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With this configuration, I get the message: "WebSocket opening handshake was canceled". I suppose the cert and key field are required, but how to include the fs module from node.js in a Qlik Sense extension? Using browserify and create a fs.bundle like done for qsocks.bundle?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the end, I want the extension to behave as in Qlik Sense Desktop: each user can select his/her language and the objects are translated in his/her session.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Gregory&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 27 Aug 2016 08:20:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Qlik-Engine-API-and-qSocks-Connection-to-Server/m-p/1100123#M4956</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-08-27T08:20:18Z</dc:date>
    </item>
    <item>
      <title>Re: Qlik Engine API and qSocks: Connection to Server</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Qlik-Engine-API-and-qSocks-Connection-to-Server/m-p/1100124#M4957</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;origin and certificate options on the config is node js only. You can't set those properties in the browser.&lt;/P&gt;&lt;P&gt;Your host value looks strange however, normally the hostname is 'server.com' and if you have specified a virtual proxy prefix you would set that in config.prefix = '/sense/' which I guess is the case here?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 28 Aug 2016 14:11:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Qlik-Engine-API-and-qSocks-Connection-to-Server/m-p/1100124#M4957</guid>
      <dc:creator>Alexander_Thor</dc:creator>
      <dc:date>2016-08-28T14:11:46Z</dc:date>
    </item>
  </channel>
</rss>

