<?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 Qlik Sense: Logout button not working when accessing through a reverse proxy in Official Support Articles</title>
    <link>https://community.qlik.com/t5/Official-Support-Articles/Qlik-Sense-Logout-button-not-working-when-accessing-through-a/ta-p/1711896</link>
    <description>&lt;P&gt;The logout button in Qlik Sense Hub does not work when using Qlik Sense through a reverse proxy.&lt;BR /&gt;Looking into the browser developer tools (F12), the logout URL points directly to the Qlik Sense server name instead of the reverse proxy name.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H3&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;Resolution&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/H3&gt;
&lt;H4&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;Solution for September 2018 and later&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/H4&gt;
&lt;P&gt;The name that the logout URL must be rewritten to must be specified in the X-Forwarded-Host header.&lt;BR /&gt;This header must be added to the reverse proxy configuration rules.&lt;BR /&gt;&lt;BR /&gt;Below is an example for IIS, however, the same logic applies to other kinds of reverse proxies:&lt;/P&gt;
&lt;PRE class="ckeditor_codeblock"&gt;&amp;lt;rule name="QlikReverseProxyAll" enabled="false" patternSyntax="ECMAScript"&amp;gt;
                    &amp;lt;match url="(.*)" /&amp;gt;
                    &amp;lt;conditions logicalGrouping="MatchAll" trackAllCaptures="false"&amp;gt;
                    &amp;lt;/conditions&amp;gt;
                    &amp;lt;action type="Rewrite" url="https://qlikserver1.domain.local/{R:0}" /&amp;gt;
                    &amp;lt;serverVariables&amp;gt;
                        &lt;STRONG&gt;&amp;lt;set name="HEADER_X-Forwarded-Host" value="10.76.200.11" /&amp;gt;&lt;/STRONG&gt;
                    &amp;lt;/serverVariables&amp;gt;
                &amp;lt;/rule&amp;gt;&lt;/PRE&gt;
&lt;P&gt;In &lt;FONT color="#339966"&gt;&lt;STRONG&gt;September 2019 and later&lt;/STRONG&gt;&lt;/FONT&gt;, if SSL off-loading is used (Use of HTTP between the reverse proxy and the Qlik Sense server and of HTTPS between the reverse proxy and the end user), then the X-Forwarded-proto or the Forwarded header can be used.&lt;/P&gt;
&lt;PRE class="ckeditor_codeblock"&gt;&amp;lt;rule name="QlikReverseProxyAll" enabled="false" patternSyntax="ECMAScript"&amp;gt;
                    &amp;lt;match url="(.*)" /&amp;gt;
                    &amp;lt;conditions logicalGrouping="MatchAll" trackAllCaptures="false"&amp;gt;
                    &amp;lt;/conditions&amp;gt;
                    &amp;lt;action type="Rewrite" url="http://qlikserver1.domain.local/{R:0}" /&amp;gt;
                    &amp;lt;serverVariables&amp;gt;
                        &amp;lt;set name="HEADER_X-Forwarded-Host" value="10.76.200.11" /&amp;gt;
&lt;STRONG&gt;                        &amp;lt;set name="HEADER_X-Forwarded-proto" value="https" /&amp;gt;&lt;/STRONG&gt;
                    &amp;lt;/serverVariables&amp;gt;
                &amp;lt;/rule&amp;gt;&lt;/PRE&gt;
&lt;P&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;Alternative:&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;PRE class="ckeditor_codeblock"&gt;&amp;lt;rule name="QlikReverseProxyAll" enabled="false" patternSyntax="ECMAScript"&amp;gt;
                    &amp;lt;match url="(.*)" /&amp;gt;
                    &amp;lt;conditions logicalGrouping="MatchAll" trackAllCaptures="false"&amp;gt;
                    &amp;lt;/conditions&amp;gt;
                    &amp;lt;action type="Rewrite" url="http://qlikserver1.domain.local/{R:0}" /&amp;gt;
                    &amp;lt;serverVariables&amp;gt;
&lt;STRONG&gt;                        &amp;lt;set name="HEADER_Forwarded" value="host=10.76.200.11;proto=https" /&amp;gt;&lt;/STRONG&gt;
                    &amp;lt;/serverVariables&amp;gt;
                &amp;lt;/rule&amp;gt;&lt;/PRE&gt;
&lt;H3&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;Workaround&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/H3&gt;
&lt;P&gt;&lt;STRONG&gt;Workaround for June 2018 and earlier:&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;You must create an entry in the Reverse Proxy host file to point the external DNS name to the Qlik Sense server.&lt;BR /&gt;&lt;BR /&gt;From the client:&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;externaldnsalias&lt;/STRONG&gt; will point to the reverse proxy server.&lt;BR /&gt;&lt;BR /&gt;From the reverse proxy server:&lt;BR /&gt;&lt;STRONG&gt;externaldnsalias&lt;/STRONG&gt; will point to the Qlik Sense server.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;In the below example, &lt;STRONG&gt;qlikserver4.domain.local&lt;/STRONG&gt; is the external DNS alias.&lt;BR /&gt;&lt;BR /&gt;The following configuration example is for IIS (This is using global rules set in the applicationHost.config file, but the same can be done using website rules in web.config):&lt;/P&gt;
&lt;PRE class="ckeditor_codeblock"&gt;&amp;lt;rewrite&amp;gt;
            &amp;lt;globalRules&amp;gt;
                &amp;lt;clear /&amp;gt;
                &amp;lt;rule name="QlikReverseProxyAll"&amp;gt;
                    &amp;lt;match url="(.*)" /&amp;gt;
                    &amp;lt;conditions logicalGrouping="MatchAll" trackAllCaptures="false" /&amp;gt;
                    &amp;lt;action type="Rewrite" url="https://qlikserver4.domain.local/{R:0}" /&amp;gt;
                &amp;lt;/rule&amp;gt;
                &amp;lt;rule name="AuthForwarding"&amp;gt;
                    &amp;lt;match url="form/" /&amp;gt;
                    &amp;lt;conditions logicalGrouping="MatchAll" trackAllCaptures="false" /&amp;gt;
                    &amp;lt;action type="Rewrite" url="https://qlikserver4.domain.local:4244/{R:0}" /&amp;gt;
                &amp;lt;/rule&amp;gt;
                &amp;lt;rule name="Windows_Auth"&amp;gt;
                    &amp;lt;match url="/windows_authentication/" /&amp;gt;
                    &amp;lt;conditions logicalGrouping="MatchAll" trackAllCaptures="false" /&amp;gt;
                    &amp;lt;action type="Rewrite" url="https://qlikserver4.domain.local:4244/{R:0}" /&amp;gt;
                &amp;lt;/rule&amp;gt;
&amp;lt;/globalRules&amp;gt;
         &amp;lt;/rewrite&amp;gt;&lt;/PRE&gt;
&lt;P&gt;&lt;BR /&gt;On the reverse proxy server, in the host file (in C:\Windows\System32\drivers\etc\ for Windows), add the following line:&lt;/P&gt;
&lt;PRE class="ckeditor_codeblock"&gt;172.16.16.100 qlikserver4.domain.local&lt;/PRE&gt;
&lt;P&gt;172.16.16.100 is the IP of the Qlik Sense server.&lt;BR /&gt;&lt;BR /&gt;When you ping qlikserver4.domain.local on the reverse proxy server, you should see the IP address of the Qlik Sense server.&lt;/P&gt;
&lt;P&gt;When you ping qlikserver4.domain.local on the client, you should see the IP address of the reverse proxy machine.&lt;BR /&gt;&lt;BR /&gt;Once the above settings performed, you should now be able to log out from the hub.&lt;/P&gt;
&lt;H4&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT color="#339966"&gt;Internal Investigation ID(s):&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/H4&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;QLIK-87698&lt;BR /&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 24 Jan 2023 09:23:11 GMT</pubDate>
    <dc:creator>Damien_V</dc:creator>
    <dc:date>2023-01-24T09:23:11Z</dc:date>
    <item>
      <title>Qlik Sense: Logout button not working when accessing through a reverse proxy</title>
      <link>https://community.qlik.com/t5/Official-Support-Articles/Qlik-Sense-Logout-button-not-working-when-accessing-through-a/ta-p/1711896</link>
      <description>&lt;P&gt;The logout button in Qlik Sense Hub does not work when using Qlik Sense through a reverse proxy.&lt;BR /&gt;Looking into the browser developer tools (F12), the logout URL points directly to the Qlik Sense server name instead of the reverse proxy name.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H3&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;Resolution&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/H3&gt;
&lt;H4&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;Solution for September 2018 and later&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/H4&gt;
&lt;P&gt;The name that the logout URL must be rewritten to must be specified in the X-Forwarded-Host header.&lt;BR /&gt;This header must be added to the reverse proxy configuration rules.&lt;BR /&gt;&lt;BR /&gt;Below is an example for IIS, however, the same logic applies to other kinds of reverse proxies:&lt;/P&gt;
&lt;PRE class="ckeditor_codeblock"&gt;&amp;lt;rule name="QlikReverseProxyAll" enabled="false" patternSyntax="ECMAScript"&amp;gt;
                    &amp;lt;match url="(.*)" /&amp;gt;
                    &amp;lt;conditions logicalGrouping="MatchAll" trackAllCaptures="false"&amp;gt;
                    &amp;lt;/conditions&amp;gt;
                    &amp;lt;action type="Rewrite" url="https://qlikserver1.domain.local/{R:0}" /&amp;gt;
                    &amp;lt;serverVariables&amp;gt;
                        &lt;STRONG&gt;&amp;lt;set name="HEADER_X-Forwarded-Host" value="10.76.200.11" /&amp;gt;&lt;/STRONG&gt;
                    &amp;lt;/serverVariables&amp;gt;
                &amp;lt;/rule&amp;gt;&lt;/PRE&gt;
&lt;P&gt;In &lt;FONT color="#339966"&gt;&lt;STRONG&gt;September 2019 and later&lt;/STRONG&gt;&lt;/FONT&gt;, if SSL off-loading is used (Use of HTTP between the reverse proxy and the Qlik Sense server and of HTTPS between the reverse proxy and the end user), then the X-Forwarded-proto or the Forwarded header can be used.&lt;/P&gt;
&lt;PRE class="ckeditor_codeblock"&gt;&amp;lt;rule name="QlikReverseProxyAll" enabled="false" patternSyntax="ECMAScript"&amp;gt;
                    &amp;lt;match url="(.*)" /&amp;gt;
                    &amp;lt;conditions logicalGrouping="MatchAll" trackAllCaptures="false"&amp;gt;
                    &amp;lt;/conditions&amp;gt;
                    &amp;lt;action type="Rewrite" url="http://qlikserver1.domain.local/{R:0}" /&amp;gt;
                    &amp;lt;serverVariables&amp;gt;
                        &amp;lt;set name="HEADER_X-Forwarded-Host" value="10.76.200.11" /&amp;gt;
&lt;STRONG&gt;                        &amp;lt;set name="HEADER_X-Forwarded-proto" value="https" /&amp;gt;&lt;/STRONG&gt;
                    &amp;lt;/serverVariables&amp;gt;
                &amp;lt;/rule&amp;gt;&lt;/PRE&gt;
&lt;P&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;Alternative:&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;PRE class="ckeditor_codeblock"&gt;&amp;lt;rule name="QlikReverseProxyAll" enabled="false" patternSyntax="ECMAScript"&amp;gt;
                    &amp;lt;match url="(.*)" /&amp;gt;
                    &amp;lt;conditions logicalGrouping="MatchAll" trackAllCaptures="false"&amp;gt;
                    &amp;lt;/conditions&amp;gt;
                    &amp;lt;action type="Rewrite" url="http://qlikserver1.domain.local/{R:0}" /&amp;gt;
                    &amp;lt;serverVariables&amp;gt;
&lt;STRONG&gt;                        &amp;lt;set name="HEADER_Forwarded" value="host=10.76.200.11;proto=https" /&amp;gt;&lt;/STRONG&gt;
                    &amp;lt;/serverVariables&amp;gt;
                &amp;lt;/rule&amp;gt;&lt;/PRE&gt;
&lt;H3&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;Workaround&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/H3&gt;
&lt;P&gt;&lt;STRONG&gt;Workaround for June 2018 and earlier:&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;You must create an entry in the Reverse Proxy host file to point the external DNS name to the Qlik Sense server.&lt;BR /&gt;&lt;BR /&gt;From the client:&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;externaldnsalias&lt;/STRONG&gt; will point to the reverse proxy server.&lt;BR /&gt;&lt;BR /&gt;From the reverse proxy server:&lt;BR /&gt;&lt;STRONG&gt;externaldnsalias&lt;/STRONG&gt; will point to the Qlik Sense server.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;In the below example, &lt;STRONG&gt;qlikserver4.domain.local&lt;/STRONG&gt; is the external DNS alias.&lt;BR /&gt;&lt;BR /&gt;The following configuration example is for IIS (This is using global rules set in the applicationHost.config file, but the same can be done using website rules in web.config):&lt;/P&gt;
&lt;PRE class="ckeditor_codeblock"&gt;&amp;lt;rewrite&amp;gt;
            &amp;lt;globalRules&amp;gt;
                &amp;lt;clear /&amp;gt;
                &amp;lt;rule name="QlikReverseProxyAll"&amp;gt;
                    &amp;lt;match url="(.*)" /&amp;gt;
                    &amp;lt;conditions logicalGrouping="MatchAll" trackAllCaptures="false" /&amp;gt;
                    &amp;lt;action type="Rewrite" url="https://qlikserver4.domain.local/{R:0}" /&amp;gt;
                &amp;lt;/rule&amp;gt;
                &amp;lt;rule name="AuthForwarding"&amp;gt;
                    &amp;lt;match url="form/" /&amp;gt;
                    &amp;lt;conditions logicalGrouping="MatchAll" trackAllCaptures="false" /&amp;gt;
                    &amp;lt;action type="Rewrite" url="https://qlikserver4.domain.local:4244/{R:0}" /&amp;gt;
                &amp;lt;/rule&amp;gt;
                &amp;lt;rule name="Windows_Auth"&amp;gt;
                    &amp;lt;match url="/windows_authentication/" /&amp;gt;
                    &amp;lt;conditions logicalGrouping="MatchAll" trackAllCaptures="false" /&amp;gt;
                    &amp;lt;action type="Rewrite" url="https://qlikserver4.domain.local:4244/{R:0}" /&amp;gt;
                &amp;lt;/rule&amp;gt;
&amp;lt;/globalRules&amp;gt;
         &amp;lt;/rewrite&amp;gt;&lt;/PRE&gt;
&lt;P&gt;&lt;BR /&gt;On the reverse proxy server, in the host file (in C:\Windows\System32\drivers\etc\ for Windows), add the following line:&lt;/P&gt;
&lt;PRE class="ckeditor_codeblock"&gt;172.16.16.100 qlikserver4.domain.local&lt;/PRE&gt;
&lt;P&gt;172.16.16.100 is the IP of the Qlik Sense server.&lt;BR /&gt;&lt;BR /&gt;When you ping qlikserver4.domain.local on the reverse proxy server, you should see the IP address of the Qlik Sense server.&lt;/P&gt;
&lt;P&gt;When you ping qlikserver4.domain.local on the client, you should see the IP address of the reverse proxy machine.&lt;BR /&gt;&lt;BR /&gt;Once the above settings performed, you should now be able to log out from the hub.&lt;/P&gt;
&lt;H4&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT color="#339966"&gt;Internal Investigation ID(s):&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/H4&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;QLIK-87698&lt;BR /&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 24 Jan 2023 09:23:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Official-Support-Articles/Qlik-Sense-Logout-button-not-working-when-accessing-through-a/ta-p/1711896</guid>
      <dc:creator>Damien_V</dc:creator>
      <dc:date>2023-01-24T09:23:11Z</dc:date>
    </item>
    <item>
      <title>Re: Qlik Sense: Logout button not working when accessing through a reverse proxy</title>
      <link>https://community.qlik.com/t5/Official-Support-Articles/Qlik-Sense-Logout-button-not-working-when-accessing-through-a/tac-p/2029152#M8226</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;We have the same problem on the F5 reverse proxy. Do you have solution for F5 reverse proxy?&lt;/P&gt;
&lt;P&gt;Best regards.&lt;/P&gt;</description>
      <pubDate>Tue, 24 Jan 2023 09:00:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Official-Support-Articles/Qlik-Sense-Logout-button-not-working-when-accessing-through-a/tac-p/2029152#M8226</guid>
      <dc:creator>crmtdoo</dc:creator>
      <dc:date>2023-01-24T09:00:45Z</dc:date>
    </item>
    <item>
      <title>Re: Qlik Sense: Logout button not working when accessing through a reverse proxy</title>
      <link>https://community.qlik.com/t5/Official-Support-Articles/Qlik-Sense-Logout-button-not-working-when-accessing-through-a/tac-p/2029177#M8227</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/111311"&gt;@crmtdoo&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The instructions in this article should provide you with a basic idea of how to begin troubleshooting/configuring your proxy.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you require additional assistance, I would recommend posting about your issue directly in our &lt;A href="https://community.qlik.com/t5/integration-extension-apis/bd-p/qlik-sense-integration-extension-api" target="_blank" rel="noopener"&gt;Integration forum&lt;/A&gt; - or if you need direct help, our &lt;A href="https://community.qlik.com/t5/Official-Support-Articles/How-and-when-to-contact-Qlik-s-Professional-Services-and/ta-p/1714936" target="_blank" rel="noopener"&gt;professional services&lt;/A&gt; can be engaged to assist.&lt;/P&gt;
&lt;P&gt;All the best,&lt;BR /&gt;Sonja&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 24 Jan 2023 09:30:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Official-Support-Articles/Qlik-Sense-Logout-button-not-working-when-accessing-through-a/tac-p/2029177#M8227</guid>
      <dc:creator>Sonja_Bauernfeind</dc:creator>
      <dc:date>2023-01-24T09:30:08Z</dc:date>
    </item>
    <item>
      <title>Re: Qlik Sense: Logout button not working when accessing through a reverse proxy</title>
      <link>https://community.qlik.com/t5/Official-Support-Articles/Qlik-Sense-Logout-button-not-working-when-accessing-through-a/tac-p/2039646#M8437</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/29425"&gt;@Damien_V&lt;/a&gt;&amp;nbsp;How to reach the point where this rule is present, i.e. steps to reach it before changing.&lt;/P&gt;</description>
      <pubDate>Mon, 20 Feb 2023 05:51:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Official-Support-Articles/Qlik-Sense-Logout-button-not-working-when-accessing-through-a/tac-p/2039646#M8437</guid>
      <dc:creator>neerajthakur</dc:creator>
      <dc:date>2023-02-20T05:51:56Z</dc:date>
    </item>
    <item>
      <title>Re: Qlik Sense: Logout button not working when accessing through a reverse proxy</title>
      <link>https://community.qlik.com/t5/Official-Support-Articles/Qlik-Sense-Logout-button-not-working-when-accessing-through-a/tac-p/2039808#M8440</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/149137"&gt;@neerajthakur&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The instructions in this article should provide you with a basic idea of how to begin troubleshooting/configuring your proxy.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you require additional assistance, I would recommend posting about your issue directly in our&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://community.qlik.com/t5/integration-extension-apis/bd-p/qlik-sense-integration-extension-api" target="_blank" rel="noopener"&gt;Integration forum&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;- or if you need direct help, our&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://community.qlik.com/t5/Official-Support-Articles/How-and-when-to-contact-Qlik-s-Professional-Services-and/ta-p/1714936" target="_blank" rel="noopener"&gt;professional services&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;can be engaged to assist.&lt;/P&gt;
&lt;P&gt;All the best,&lt;BR /&gt;Sonja&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 20 Feb 2023 10:06:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Official-Support-Articles/Qlik-Sense-Logout-button-not-working-when-accessing-through-a/tac-p/2039808#M8440</guid>
      <dc:creator>Sonja_Bauernfeind</dc:creator>
      <dc:date>2023-02-20T10:06:39Z</dc:date>
    </item>
  </channel>
</rss>

