KNOWLEDGE BASE

Error: "Authentication failed. Error Code: 84223ADA Unable to connect to Tableau Server." while Connecting from Tableau Desktop after Upgrading Tableau Server to v2021.4.x


Published: 22 Dec 2021
Last Modified Date: 30 Mar 2022

Issue

After upgrading Tableau Server, connections from Tableau Desktop fail with the following error message:

Authentication failed.
Error Code: 84223ADA
Unable to connect to Tableau Server.
SSLHandshakeException
PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target

 

Environment

  • Tableau Desktop v2021.4
  • Tableau Server v2021.4

Resolution

As a workaround:

  1. If you have External SSL enabled from Tableau Server, configure Tableau Server with a chain certificate.
  2. If you have SSL enabled on a reverse proxy or load balancer in front of Tableau Server, configure that proxy or load balancer to send the full certificate chain instead of just the end certificate.

If you do not have SSL enabled anywhere between clients and Tableau Server, or if the above workaround does not resolve the issue, there could be a different root cause for the issue being experienced. Please submit a support case so support can request information for troubleshooting the issue and find the root cause.

Once that is done, please apply one of the following workarounds:

Option 1

Ensure all instances of Tableau Desktop are closed.

On Windows
  1. On the Tableau Desktop computer, open regedit
  2. Navigate to Computer\HKEY_CURRENT_USER\Software\Tableau\Tableau 2021.4\Settings
  3. Create a new DWORD value named WorkgroupUseEmbeddedBrowserServerSignIn
  4. For the value enter 1 (leave the radio button on hexadecimal)
On Mac OS
  1. On the Tableau Desktop computer, open Terminal
  2. Run the command:
    defaults write com.tableau.tableau-2021.4.plist Settings.WorkgroupUseEmbeddedBrowserServerSignIn "1"

Option 2

On Tableau Server, disable the new server sign in experience that leverages the user’s default browser to authenticate by running these commands:
tsm configuration set -k wgserver.authentication.desktop_externalbrowser -v false
tsm pending-changes apply

Note: this will trigger a Tableau Server restart.

Option 3

Use a version of Tableau Desktop prior to 2021.4.

Cause

This is a known issue that is being addressed by Tableau development.
Did this article resolve the issue?