<?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 connection failed during handshake - error code: 403 in Integration, Extension &amp; APIs</title>
    <link>https://community.qlik.com/t5/Integration-Extension-APIs/Websocket-connection-failed-during-handshake-error-code-403/m-p/1439306#M9103</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I did try putting just "localhost" but no effect. Also, this error comes up when I insert this code (in &lt;SPAN style="color: #ff0000;"&gt;Red&lt;/SPAN&gt;) in my .js file:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;var config = {&lt;/P&gt;&lt;P&gt;host: "localhost",&lt;/P&gt;&lt;P&gt;prefix: "/",&lt;/P&gt;&lt;P&gt;port: window.location.port,&lt;/P&gt;&lt;P&gt;isSecure: window.location.protocol === "https:"&lt;/P&gt;&lt;P&gt;};&lt;/P&gt;&lt;P&gt;require.config( {&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;baseUrl: ( config.isSecure ? "&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://" rel="nofollow" target="_blank"&gt;https://&lt;/A&gt;&lt;SPAN&gt;" : "&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://" rel="nofollow" target="_blank"&gt;http://&lt;/A&gt;&lt;SPAN&gt;" ) + config.host + (config.port ? ":" + config.port : "") + config.prefix + "resources"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;} );&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;require(['js/qlik'], function(qlik) {&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; //if there's any error we catch it here&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; qlik.setOnError( function ( error ) {&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; console.log(error);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; });&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;var app = qlik.openApp('c3208cab-95d2-42c6-bb37-587196af3aba', config);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;app.getObject(document.getElementById('QSChart'), 'rtAJ');&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;});&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="HostWhiteList2.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/187915_HostWhiteList2.PNG" style="height: 41px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 21 Dec 2017 19:41:09 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2017-12-21T19:41:09Z</dc:date>
    <item>
      <title>Websocket connection failed during handshake - error code: 403</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Websocket-connection-failed-during-handshake-error-code-403/m-p/1439302#M9099</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I get this error when try to connect to any Qlik Sense app. I've looked through other threads with same error but haven't found anything helpful yet.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;.js&lt;/STRONG&gt; file contains:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;var config = {&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;host: "localhost",&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;prefix: "/",&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;port: window.location.port,&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;isSecure: window.location.protocol === "https:"&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;};&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Thank you for any suggestions.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Dec 2017 22:39:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Websocket-connection-failed-during-handshake-error-code-403/m-p/1439302#M9099</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-12-20T22:39:37Z</dc:date>
    </item>
    <item>
      <title>Re: Websocket connection failed during handshake - error code: 403</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Websocket-connection-failed-during-handshake-error-code-403/m-p/1439303#M9100</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Arsalan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Add your server ip,'localhost' and hostname or others in whitelist (QMC virtualproxy-central)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Untitled.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/187811_Untitled.png" style="height: 301px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Hope it helps...&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Dec 2017 05:12:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Websocket-connection-failed-during-handshake-error-code-403/m-p/1439303#M9100</guid>
      <dc:creator>kaanerisen</dc:creator>
      <dc:date>2017-12-21T05:12:05Z</dc:date>
    </item>
    <item>
      <title>Re: Websocket connection failed during handshake - error code: 403</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Websocket-connection-failed-during-handshake-error-code-403/m-p/1439304#M9101</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kaan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried that option but still see the error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="HostWhiteList.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/187873_HostWhiteList.png" style="height: 273px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Dec 2017 18:01:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Websocket-connection-failed-during-handshake-error-code-403/m-p/1439304#M9101</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-12-21T18:01:24Z</dc:date>
    </item>
    <item>
      <title>Re: Websocket connection failed during handshake - error code: 403</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Websocket-connection-failed-during-handshake-error-code-403/m-p/1439305#M9102</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;You just need to add 'localhost'. without 'http' or 'https'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pls just add 'localhost' and try if it is working.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Dec 2017 18:48:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Websocket-connection-failed-during-handshake-error-code-403/m-p/1439305#M9102</guid>
      <dc:creator>kaanerisen</dc:creator>
      <dc:date>2017-12-21T18:48:32Z</dc:date>
    </item>
    <item>
      <title>Re: Websocket connection failed during handshake - error code: 403</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Websocket-connection-failed-during-handshake-error-code-403/m-p/1439306#M9103</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I did try putting just "localhost" but no effect. Also, this error comes up when I insert this code (in &lt;SPAN style="color: #ff0000;"&gt;Red&lt;/SPAN&gt;) in my .js file:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;var config = {&lt;/P&gt;&lt;P&gt;host: "localhost",&lt;/P&gt;&lt;P&gt;prefix: "/",&lt;/P&gt;&lt;P&gt;port: window.location.port,&lt;/P&gt;&lt;P&gt;isSecure: window.location.protocol === "https:"&lt;/P&gt;&lt;P&gt;};&lt;/P&gt;&lt;P&gt;require.config( {&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;baseUrl: ( config.isSecure ? "&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://" rel="nofollow" target="_blank"&gt;https://&lt;/A&gt;&lt;SPAN&gt;" : "&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://" rel="nofollow" target="_blank"&gt;http://&lt;/A&gt;&lt;SPAN&gt;" ) + config.host + (config.port ? ":" + config.port : "") + config.prefix + "resources"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;} );&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;require(['js/qlik'], function(qlik) {&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; //if there's any error we catch it here&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; qlik.setOnError( function ( error ) {&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; console.log(error);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; });&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;var app = qlik.openApp('c3208cab-95d2-42c6-bb37-587196af3aba', config);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;app.getObject(document.getElementById('QSChart'), 'rtAJ');&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;});&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="HostWhiteList2.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/187915_HostWhiteList2.PNG" style="height: 41px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Dec 2017 19:41:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Websocket-connection-failed-during-handshake-error-code-403/m-p/1439306#M9103</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-12-21T19:41:09Z</dc:date>
    </item>
  </channel>
</rss>

