KNOWLEDGE BASE

Tableau Desktop and Server(v2020.2) cannot connect to OData through a PAC proxy with Java 8


Published: 31 Aug 2021
Last Modified Date: 07 Sep 2021

Issue

When trying to connect to OData from Tableau Desktop or Tableau Server in the environment where PAC configuration is used for the proxy, you may see the following error:
"Unable to connect to the server, Check that the server is running and that you have access privileges to the requested database"

Environment

  • Tableau Desktop 2020.2
  • Tableau Server 2020.2

Resolution

For Tableau Desktop

Option 1

Upgrade to Tableau Desktop 2020.3+ which comes bundled with Java 11.

Option 2

Continue using Tableau Desktop 2020.2 and point the environment variable TABLEAU_JAVA_HOME to Java 11, which can be downloaded from AdoptOpenJDK(https://adoptopenjdk.net/archive.html?variant=openjdk11&jvmVariant=hotspot)

For Tableau Server
Use tsm command tsm configuration set -k native_api.java_home -v '<path-to-Java-11-home>' --force-keys to change the Java home

Additional Information

This issue is related to the Java 8 used for Tableau 2020.2.
Did this article resolve the issue?