<?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>article &amp;quot;An error occurred Connection lost&amp;quot; or &amp;quot;Bad Request the http header is incorrect on Qlik Sense Hub&amp;quot; in Official Support Articles</title>
    <link>https://community.qlik.com/t5/Official-Support-Articles/quot-An-error-occurred-Connection-lost-quot-or-quot-Bad-Request/ta-p/1712695</link>
    <description>&lt;P&gt;The following errors may be experienced when accessing the Qlik Sense Hub:&lt;BR /&gt;&amp;nbsp;&lt;/P&gt;
&lt;DIV&gt;&lt;SPAN&gt;&lt;FONT face="courier new,courier"&gt;An error occurred Connection lost&lt;/FONT&gt;&lt;BR /&gt;or&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Connection to the Qlik Sense engine failed for unspecified reasons&lt;/FONT&gt;&lt;BR /&gt;or&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Bad Request the http header is incorrect&lt;/FONT&gt;&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;Log files may show:&lt;BR /&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT face="courier new,courier"&gt;&lt;SPAN&gt;500 Internal error: unable to route websockets request to the following URL, wss://SERVERNAME/PROXY/sense/apps&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;P&gt;OR&lt;BR /&gt;&lt;BR /&gt;From Proxy &amp;gt; Trace &amp;gt; Audit:&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;FONT face="courier new,courier"&gt;18 20191107T180810.403-0500 WARN servername Audit.Proxy.Proxy.Core.Connection.Validation.ConnectionDataValidator 25 b3fbafe9-7fba-4cca-8113-587ff923c31e domain\user Http request Host is not allowed: host.fqdn.local 0 c986fb07-a8b8-49c1-9e5c-ac7f56a303a1 ::ffff:127.0.0.1 {header} 21b23e5e635767f3b18a1adbf9f7b62e97100f04&lt;/FONT&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;Refreshing the page does not resolve the issue...&lt;BR /&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&lt;SPAN&gt;An error occurred&lt;BR /&gt;Connection lost. Make sure the Qlik Sense is running properly. If your session has timed out due to inactivity, reconnect to Qlik Sense to continue working.&lt;/SPAN&gt;&lt;/FONT&gt;&lt;BR /&gt;&amp;nbsp;&lt;/P&gt;
&lt;DIV&gt;&lt;IMG src="https://qlik.my.salesforce.com/servlet/servlet.ImageServer?id=015D0000003s8pp&amp;amp;oid=00D20000000IGPX&amp;amp;lastMod=1491474525000" border="0" alt="User-added image" width="266" height="111" /&gt;&lt;BR /&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;P&gt;OR&lt;BR /&gt;&amp;nbsp;&lt;/P&gt;
&lt;DIV&gt;&lt;IMG src="https://qlik.my.salesforce.com/servlet/servlet.ImageServer?id=015D0000005cC3g&amp;amp;oid=00D20000000IGPX&amp;amp;lastMod=1532358034000" border="0" alt="User-added image" width="420" height="128" /&gt;&lt;/DIV&gt;
&lt;P&gt;&lt;BR /&gt;OR&lt;BR /&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&lt;SPAN&gt;400 Bad Request&lt;BR /&gt;The http request header is incorrect&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;&lt;IMG src="https://qlik.my.salesforce.com/servlet/servlet.ImageServer?id=0153z0000019LWPAA2&amp;amp;oid=00D20000000IGPXEA4" border="0" alt="000005404-400BadRequest.png" width="223" height="174" /&gt;&lt;BR /&gt;&lt;STRONG&gt;Environment:&lt;/STRONG&gt;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Qlik Sense Enterprise, all versions&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H4&gt;Cause:&lt;/H4&gt;
&lt;P&gt;&lt;BR /&gt;&lt;SPAN&gt;The "Connection lost" error message commonly occurs when:&lt;/SPAN&gt;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Qlik Sense Hub is accessed using a different address than the one registered as the default DNS name / Fully Qualified Name of the machine. As an example, when using&amp;nbsp;AWS or similar environments, the internal registered DNS name is not the same as the external facing address&lt;/LI&gt;
&lt;LI&gt;Web sockets are not supported in the environment&amp;nbsp;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&lt;BR /&gt;&amp;nbsp;&lt;/P&gt;
&lt;H3&gt;Resolution:&lt;/H3&gt;
&lt;P&gt;&lt;BR /&gt;This is a general connectivity / websocket related error. It can have a variety of root causes.&lt;BR /&gt;&amp;nbsp;&lt;/P&gt;
&lt;H4&gt;I. WebSocket support&lt;/H4&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Qlik Sense requires &lt;STRONG&gt;WebSockets &lt;/STRONG&gt;to be enabled. Third party proxies/reverse proxies or firewalls may not be configured correctly to allow Websocket traffic.&amp;nbsp;Verify if this technology is enabled by navigating to&amp;nbsp;&lt;A href="https://websocketstest.com/" target="test_blank"&gt;https://websocketstest.com/&lt;/A&gt;&amp;nbsp;from an affected client.&lt;/P&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;If WebSockets are not available between client and the Qlik Sense server, the Qlik Sense Hub cannot be used.&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;For directly testing the Qlik Sense server itself, use the&amp;nbsp;&lt;STRONG&gt;&lt;A href="https://community.qlik.com/t5/Support-Knowledge-Base/Qlik-Sense-Websocket-Connectivity-Tester/ta-p/1716909" target="_blank" rel="noopener"&gt;Qlik Sense Websocket Connectivity Tester&lt;/A&gt;&lt;/STRONG&gt;.&lt;/DIV&gt;
&lt;H4&gt;&amp;nbsp;&lt;/H4&gt;
&lt;H4&gt;II. The address being used when accessing Qlik Sense Hub must be added to the Host White List in the proxy&lt;/H4&gt;
&lt;P&gt;For detailed instructions, see &lt;A href="https://community.qlik.com/t5/Qlik-Support-Knowledge-Base/How-to-configure-the-WebSocket-origin-white-list-and-best/ta-p/1716765" target="_blank" rel="noopener"&gt;How to configure the WebSocket origin white list and best practices.&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;To add an address to the White List, perform the following steps:&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;In Qlik Management Console, go to &lt;SPAN&gt;CONFIGURE SYSTEM -&amp;gt; Virtual Proxies&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;Select the &lt;SPAN&gt;proxy &lt;/SPAN&gt;and click&amp;nbsp;&lt;SPAN&gt;Edit&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;Select &lt;SPAN&gt;Advanced in Properties&lt;/SPAN&gt; list on the right pane&lt;BR /&gt;&lt;BR /&gt;&lt;IMG src="https://qlik.my.salesforce.com/servlet/servlet.ImageServer?id=015D0000003s8q4&amp;amp;oid=00D20000000IGPX&amp;amp;lastMod=1491474589000" border="0" alt="User-added image" /&gt;&lt;/LI&gt;
&lt;LI&gt;Scroll to &lt;SPAN&gt;Advanced &lt;/SPAN&gt;section in the middle pane&lt;/LI&gt;
&lt;LI&gt;Locate "&lt;SPAN&gt;Host white list&lt;/SPAN&gt;"&lt;BR /&gt;&lt;BR /&gt;&lt;IMG src="https://qlik.my.salesforce.com/servlet/servlet.ImageServer?id=015D0000003s8q9&amp;amp;oid=00D20000000IGPX&amp;amp;lastMod=1491474602000" border="0" alt="User-added image" width="500" /&gt;&lt;/LI&gt;
&lt;LI&gt;Click "&lt;SPAN&gt;Add new value&lt;/SPAN&gt;" and add the addresses&amp;nbsp;being used when connecting to the Qlik Sense Hub from a client
&lt;UL&gt;
&lt;LI&gt;IP address: 192.168.0.10&lt;/LI&gt;
&lt;LI&gt;FQN: myqlikserver.company.com&lt;/LI&gt;
&lt;LI&gt;(Third party web-portals being used to re-direct users to the Hub)&lt;/LI&gt;
&lt;LI&gt;etc...&lt;/LI&gt;
&lt;/UL&gt;
NOTE: An entire domain can be white listed by adding &lt;I&gt;company.com&lt;/I&gt; into the white list. This will white list all other addresses within that domain, such as myqlikserver1.company.com, myqlikserver2.company.com, etc.&lt;/LI&gt;
&lt;/OL&gt;
&lt;H4&gt;&amp;nbsp;&lt;/H4&gt;
&lt;H4&gt;III. See the following article for additional guidance:&lt;/H4&gt;
&lt;P&gt;&lt;A href="https://community.qlik.com/t5/Support-Knowledge-Base/Hub-access-times-out-with-Error-Connection-lost-Make-sure-that/ta-p/1712823" target="_blank" rel="noopener"&gt;Hub access times out with: Error Connection lost. Make sure that Qlik Sense is running properly&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For assistance in troubleshooting issues with Qlik&amp;nbsp;Sense Hub connectivity&amp;nbsp;and much more, join &lt;A href="https://community.qlik.com/t5/Qlik-Sense-Deployment-Management/bd-p/qlik-sense-deployment" target="_blank" rel="noopener"&gt;Qlik&amp;nbsp;community&lt;/A&gt;; Connect&amp;nbsp;and learn from over 60.000 active users, find answers, and discover best practices and tips and tricks.&lt;/P&gt;</description>
    <pubDate>Wed, 10 Feb 2021 10:54:41 GMT</pubDate>
    <dc:creator>Bjorn_Wedbratt</dc:creator>
    <dc:date>2021-02-10T10:54:41Z</dc:date>
    <item>
      <title>"An error occurred Connection lost" or "Bad Request the http header is incorrect on Qlik Sense Hub"</title>
      <link>https://community.qlik.com/t5/Official-Support-Articles/quot-An-error-occurred-Connection-lost-quot-or-quot-Bad-Request/ta-p/1712695</link>
      <description>&lt;P&gt;The following errors may be experienced when accessing the Qlik Sense Hub:&lt;BR /&gt;&amp;nbsp;&lt;/P&gt;
&lt;DIV&gt;&lt;SPAN&gt;&lt;FONT face="courier new,courier"&gt;An error occurred Connection lost&lt;/FONT&gt;&lt;BR /&gt;or&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Connection to the Qlik Sense engine failed for unspecified reasons&lt;/FONT&gt;&lt;BR /&gt;or&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Bad Request the http header is incorrect&lt;/FONT&gt;&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;Log files may show:&lt;BR /&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT face="courier new,courier"&gt;&lt;SPAN&gt;500 Internal error: unable to route websockets request to the following URL, wss://SERVERNAME/PROXY/sense/apps&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;P&gt;OR&lt;BR /&gt;&lt;BR /&gt;From Proxy &amp;gt; Trace &amp;gt; Audit:&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;FONT face="courier new,courier"&gt;18 20191107T180810.403-0500 WARN servername Audit.Proxy.Proxy.Core.Connection.Validation.ConnectionDataValidator 25 b3fbafe9-7fba-4cca-8113-587ff923c31e domain\user Http request Host is not allowed: host.fqdn.local 0 c986fb07-a8b8-49c1-9e5c-ac7f56a303a1 ::ffff:127.0.0.1 {header} 21b23e5e635767f3b18a1adbf9f7b62e97100f04&lt;/FONT&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;Refreshing the page does not resolve the issue...&lt;BR /&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&lt;SPAN&gt;An error occurred&lt;BR /&gt;Connection lost. Make sure the Qlik Sense is running properly. If your session has timed out due to inactivity, reconnect to Qlik Sense to continue working.&lt;/SPAN&gt;&lt;/FONT&gt;&lt;BR /&gt;&amp;nbsp;&lt;/P&gt;
&lt;DIV&gt;&lt;IMG src="https://qlik.my.salesforce.com/servlet/servlet.ImageServer?id=015D0000003s8pp&amp;amp;oid=00D20000000IGPX&amp;amp;lastMod=1491474525000" border="0" alt="User-added image" width="266" height="111" /&gt;&lt;BR /&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;P&gt;OR&lt;BR /&gt;&amp;nbsp;&lt;/P&gt;
&lt;DIV&gt;&lt;IMG src="https://qlik.my.salesforce.com/servlet/servlet.ImageServer?id=015D0000005cC3g&amp;amp;oid=00D20000000IGPX&amp;amp;lastMod=1532358034000" border="0" alt="User-added image" width="420" height="128" /&gt;&lt;/DIV&gt;
&lt;P&gt;&lt;BR /&gt;OR&lt;BR /&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&lt;SPAN&gt;400 Bad Request&lt;BR /&gt;The http request header is incorrect&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;&lt;IMG src="https://qlik.my.salesforce.com/servlet/servlet.ImageServer?id=0153z0000019LWPAA2&amp;amp;oid=00D20000000IGPXEA4" border="0" alt="000005404-400BadRequest.png" width="223" height="174" /&gt;&lt;BR /&gt;&lt;STRONG&gt;Environment:&lt;/STRONG&gt;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Qlik Sense Enterprise, all versions&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H4&gt;Cause:&lt;/H4&gt;
&lt;P&gt;&lt;BR /&gt;&lt;SPAN&gt;The "Connection lost" error message commonly occurs when:&lt;/SPAN&gt;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Qlik Sense Hub is accessed using a different address than the one registered as the default DNS name / Fully Qualified Name of the machine. As an example, when using&amp;nbsp;AWS or similar environments, the internal registered DNS name is not the same as the external facing address&lt;/LI&gt;
&lt;LI&gt;Web sockets are not supported in the environment&amp;nbsp;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&lt;BR /&gt;&amp;nbsp;&lt;/P&gt;
&lt;H3&gt;Resolution:&lt;/H3&gt;
&lt;P&gt;&lt;BR /&gt;This is a general connectivity / websocket related error. It can have a variety of root causes.&lt;BR /&gt;&amp;nbsp;&lt;/P&gt;
&lt;H4&gt;I. WebSocket support&lt;/H4&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Qlik Sense requires &lt;STRONG&gt;WebSockets &lt;/STRONG&gt;to be enabled. Third party proxies/reverse proxies or firewalls may not be configured correctly to allow Websocket traffic.&amp;nbsp;Verify if this technology is enabled by navigating to&amp;nbsp;&lt;A href="https://websocketstest.com/" target="test_blank"&gt;https://websocketstest.com/&lt;/A&gt;&amp;nbsp;from an affected client.&lt;/P&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;If WebSockets are not available between client and the Qlik Sense server, the Qlik Sense Hub cannot be used.&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;For directly testing the Qlik Sense server itself, use the&amp;nbsp;&lt;STRONG&gt;&lt;A href="https://community.qlik.com/t5/Support-Knowledge-Base/Qlik-Sense-Websocket-Connectivity-Tester/ta-p/1716909" target="_blank" rel="noopener"&gt;Qlik Sense Websocket Connectivity Tester&lt;/A&gt;&lt;/STRONG&gt;.&lt;/DIV&gt;
&lt;H4&gt;&amp;nbsp;&lt;/H4&gt;
&lt;H4&gt;II. The address being used when accessing Qlik Sense Hub must be added to the Host White List in the proxy&lt;/H4&gt;
&lt;P&gt;For detailed instructions, see &lt;A href="https://community.qlik.com/t5/Qlik-Support-Knowledge-Base/How-to-configure-the-WebSocket-origin-white-list-and-best/ta-p/1716765" target="_blank" rel="noopener"&gt;How to configure the WebSocket origin white list and best practices.&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;To add an address to the White List, perform the following steps:&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;In Qlik Management Console, go to &lt;SPAN&gt;CONFIGURE SYSTEM -&amp;gt; Virtual Proxies&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;Select the &lt;SPAN&gt;proxy &lt;/SPAN&gt;and click&amp;nbsp;&lt;SPAN&gt;Edit&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;Select &lt;SPAN&gt;Advanced in Properties&lt;/SPAN&gt; list on the right pane&lt;BR /&gt;&lt;BR /&gt;&lt;IMG src="https://qlik.my.salesforce.com/servlet/servlet.ImageServer?id=015D0000003s8q4&amp;amp;oid=00D20000000IGPX&amp;amp;lastMod=1491474589000" border="0" alt="User-added image" /&gt;&lt;/LI&gt;
&lt;LI&gt;Scroll to &lt;SPAN&gt;Advanced &lt;/SPAN&gt;section in the middle pane&lt;/LI&gt;
&lt;LI&gt;Locate "&lt;SPAN&gt;Host white list&lt;/SPAN&gt;"&lt;BR /&gt;&lt;BR /&gt;&lt;IMG src="https://qlik.my.salesforce.com/servlet/servlet.ImageServer?id=015D0000003s8q9&amp;amp;oid=00D20000000IGPX&amp;amp;lastMod=1491474602000" border="0" alt="User-added image" width="500" /&gt;&lt;/LI&gt;
&lt;LI&gt;Click "&lt;SPAN&gt;Add new value&lt;/SPAN&gt;" and add the addresses&amp;nbsp;being used when connecting to the Qlik Sense Hub from a client
&lt;UL&gt;
&lt;LI&gt;IP address: 192.168.0.10&lt;/LI&gt;
&lt;LI&gt;FQN: myqlikserver.company.com&lt;/LI&gt;
&lt;LI&gt;(Third party web-portals being used to re-direct users to the Hub)&lt;/LI&gt;
&lt;LI&gt;etc...&lt;/LI&gt;
&lt;/UL&gt;
NOTE: An entire domain can be white listed by adding &lt;I&gt;company.com&lt;/I&gt; into the white list. This will white list all other addresses within that domain, such as myqlikserver1.company.com, myqlikserver2.company.com, etc.&lt;/LI&gt;
&lt;/OL&gt;
&lt;H4&gt;&amp;nbsp;&lt;/H4&gt;
&lt;H4&gt;III. See the following article for additional guidance:&lt;/H4&gt;
&lt;P&gt;&lt;A href="https://community.qlik.com/t5/Support-Knowledge-Base/Hub-access-times-out-with-Error-Connection-lost-Make-sure-that/ta-p/1712823" target="_blank" rel="noopener"&gt;Hub access times out with: Error Connection lost. Make sure that Qlik Sense is running properly&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For assistance in troubleshooting issues with Qlik&amp;nbsp;Sense Hub connectivity&amp;nbsp;and much more, join &lt;A href="https://community.qlik.com/t5/Qlik-Sense-Deployment-Management/bd-p/qlik-sense-deployment" target="_blank" rel="noopener"&gt;Qlik&amp;nbsp;community&lt;/A&gt;; Connect&amp;nbsp;and learn from over 60.000 active users, find answers, and discover best practices and tips and tricks.&lt;/P&gt;</description>
      <pubDate>Wed, 10 Feb 2021 10:54:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Official-Support-Articles/quot-An-error-occurred-Connection-lost-quot-or-quot-Bad-Request/ta-p/1712695</guid>
      <dc:creator>Bjorn_Wedbratt</dc:creator>
      <dc:date>2021-02-10T10:54:41Z</dc:date>
    </item>
  </channel>
</rss>

