知識庫

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


發佈時間 : 15 Sep 2022
上次修改日期 : 04 Dec 2023

問題

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"

環境

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

解決方法

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.

原因

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. 
 
這篇文章是否解決了問題?