When trying to bypass a proxy to make Tableau Desktop connect directly to Tableau Server using OAuth, it is not possible to bypass the proxy even if the Tableau Server domain name and IP address is added to the environmental variable NO_PROXY. The connection continues to use the proxy.
If your proxy server has limited the access from the Tableau Desktop client PC or the access to Tableau Server, you may experience error messages from Tableau Desktop such as:
Exception thrown while attempting to get the oauth tokens: com.google.api.client.auth.oauth2.TokenResponseException: 503 Service Unavailable
POST https://<server name or ip address>/oauth2/v1/token
or
Exception thrown while attempting to get the oauth tokens: java.io.IOException: Unable to tunnel through proxy. Proxy returns "HTTP/1.1 403 Forbidden"
Find the Java net.properties file under the Tableau Desktop directory below and open it with any text editor:
C:\Program Files\Tableau\Tableau <version>\bin\jre\conf
001496950

We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.