KNOWLEDGE BASE

"Error Code: 84223ADA Unable to tunnel through proxy."​ When Using Tableau Desktop to login to Tableau Server with Oauth


Published: 15 Sep 2022
Last Modified Date: 16 Sep 2022

Issue

When using Tableau Desktop to login to Tableau Server with OAuth authentication where a proxy server or a load balancer is configured, the following errors can occur:
 
Error Code: 84223ADA
Unable to connect to Tableau Server.
Unable to tunnel through proxy. Proxy returns "HTTP/1.1 403 Forbidden"

Environment

  • Tableau Desktop
  • Windows
  • Proxy or a load balancer exists between Tableau Desktop and Tableau Server
  • OAuth Authentication

Resolution

Add an environmental variable NO_PROXY to bypass a proxy server when accessing localhost.
  1. Click the search (magnifying glass) icon on the Windows menu.
  2. Enter sysdm.cpl to the text box and click the icon.
  3. Open the Advanced tab and click Environmental Variables.
  4. In the system variables section, click New to add the following environmental variable.
    • Variable: NO_PROXY
    • Value: 127.0.0.1;localhost
  5. Click OK to close the window.
If the proxy setting is configured in "Internet Options", you may also need to exclude localhost there.
  1. Click the search (magnifying glass) icon on the Windows menu.
  2. Enter "Internet Options" to the text box and click the icon.
  3. Select Connections > LAN Settings > Advanced.
  4. In the Exceptions section,  add the following value.
  • 127.0.0.1;localhost
  1. Click OK to close the window.

Cause

When using Tableau Desktop to login to Tableau Server with OAuth authentication, the java process is responsible for communicating to Tableau Desktop using localhost.  If there is a proxy server configured on the machine where Tableau Desktop is running, the java process will try to communicate with Tableau Desktop via the proxy server and it will fail. 
 
Did this article resolve the issue?