2 Replies Latest reply on Dec 8, 2015 11:12 AM by Chintan Shah

    Reverse Proxy Server Configuration

    Surya SS

      Hi,

      I am trying to configure a reverse proxy server for the Tableau server. Is there any template available for the web.config file of the proxy server with Tableau support team?

       

      I read through a lot of blogs on establishing reverse proxy server but nothing in particular to Tableau server. It would be great if anyone can direct me towards a blog about this. I am using an IIS server to reverse proxy.

       

      Thanks,

      Surya

        • 1. Re: Reverse Proxy Server Configuration
          Zach Yuzer

          I'm not sure of a blog specific to reverse proxies and Tableau. This might be because Tableau only requires a few settings in the reverse proxy and they are nothing special.

           

          You will need to configure Tableau Server to be used behind a proxy. Entering the commands in the following document make sure that the Tableau Server knows what name you will be using in proxy of the Tableau Server's host name and sets the ports (if not standard 80) that http will be received from the proxy: http://onlinehelp.tableau.com/current/server/en-us/help.htm#proxy_config.htm

           

          Tableau docs on how to configure the proxy are here: http://onlinehelp.tableau.com/current/server/en-us/help.htm#distrib_lb.htm?

           

          The proxy just needs to make sure it sends the following headers:

           

          X-Forwarded-For

          X-Forwarded-Host

          X-Forwarded-Proto

           

          I don't use IIS but here is my header section:

           

                  proxy_set_header  X-Forwarded-For $proxy_add_x_forwarded_for;

                  proxy_set_header X-Forwarded-Host $host;

                  proxy_set_header X-Forwarded-Proto https;

           

          I also had to make some changes to some general timeout to allow for the time it takes to perpare a workbook for download before the download starts to prevent a timeout error while waiting for downloading large data sources or workbooks:

           

          (ten minutes)

           

              proxy_connect_timeout       600;

              proxy_send_timeout          600;

              proxy_read_timeout          600;

              send_timeout                600;

           

          and a setting to allow larger maximum client body size to allow people to publish large workbooks. Before this change the publish window would come up but the files would never transfer:

           

          client_max_body_size 0;

          • 2. Re: Reverse Proxy Server Configuration
            Chintan Shah

            Hey Zach,

             

            I have the same issue. In my company's infrastructure outside communication is not possible without proxy PAC file. I did follow the step which are mentioned in the KB above.

            However, I am still not able to successfully refresh the extract which are connecting to test.salesforce.com. I am getting could not resolve host issue.

             

            I am on Tableau Server 9.0.4 version. And it is not working for me even after I follow steps from KB.

             

            Can you tell me where do I know specify these steps

             

            The proxy just needs to make sure it sends the following headers:

             

            X-Forwarded-For

            X-Forwarded-Host

            X-Forwarded-Proto

             

            I don't use IIS but here is my header section:

             

                    proxy_set_header  X-Forwarded-For $proxy_add_x_forwarded_for;

                    proxy_set_header X-Forwarded-Host $host;

                    proxy_set_header X-Forwarded-Proto https;

             

            I also had to make some changes to some general timeout to allow for the time it takes to perpare a workbook for download before the download starts to prevent a timeout error while waiting for downloading large data sources or workbooks:

             

            (ten minutes)

             

                proxy_connect_timeout       600;

                proxy_send_timeout          600;

                proxy_read_timeout          600;

                send_timeout                600;

             

            In order to make my server successfully make external connection without losing connections to Internal connections.