KNOWLEDGE BASE

Tableau Desktop failed to connect to Tableau Server with error code "9F4C5638"


Published: 23 Apr 2021
Last Modified Date: 27 Apr 2021

Issue

With TLSv1.2 enabled, Tableau Desktop fails to connect to Tableau Server using dns name that is correctly specified in the SSL certificate, whereas the connection via web browsers is successful. 
The error message on Tableau Desktop looks like :

Unable to complete action
Cannot connect to Tableau Server. Please check the server name and port and try again. 
Error Code : 9F4C5638
Internet communication error: Couldn't resolve host name(servername)

 

Environment

  • Tableau Desktop 2020.4.0
  • Tableau Server 2020.4.0
  • Identity store : Local

Resolution

 
Please work with the network administration team in that environment to correct the DNS error, so that the Tableau Server nodes can communicate properly.

As a workaround, add the IP address of Tableau Server and its DNS name to hosts file resolved this issue.  
On MacOS :

1. Type sudo nano /etc/hosts and hit Enter. 

2. Place your cursor on the bottom line, type the IP address that you want the site to reroute to, hit tab, and then type the domain name you want to be associated with it.

3. Save the changes by pressing control and O, and then exit the Nano text editor by pressing control and X

4. Run sudo killall -HUP mDNSResponder to flush dns before connecting to Tableau Server from Tableau Desktop


On Windows :

1. Press the Windows key.

2. Type Notepad in the search field.

3. In the search results, right-click Notepad and select Run as administrator.

4. From Notepad, open the following file: c:\Windows\System32\Drivers\etc\hosts

5. Place your cursor on the bottom line, type the IP address that you want the site to reroute to, hit tab, and then type the domain name you want to be associated with it.

6. Select File > Save to save your changes.

Cause

This issue seems to be related to their internal DNS resolution setting as the output of the reverse DNS lookup was as follows :
** server can't find IP ADDRESS.in-addr.arpa: NXDOMAIN

Additional Information

The NXDOMAIN is a DNS message type received by the DNS resolver (i.e. client) when a request to resolve a domain is sent to the DNS and cannot be resolved to an IP address. An NXDOMAIN error message means that the domain does not exist.
Did this article resolve the issue?