The Tableau Resource Monitoring Tool (RMT) ships a set of .tds files that let you connect Tableau Desktop directly to RMT's internal PostgreSQL repository for custom reporting. By default the repository only accepts connections from the RMT Master itself (localhost), so opening one of these .tds files from another machine fails with an error similar to:
The connection attempt failed. Unable to connect to the PostgreSQL server '[hostname]'.
This article walks through enabling remote read-only access on the RMT Master, connecting from Tableau Desktop, and troubleshooting the case where the server is reachable but the connection still fails.
Part A — Enable remote read-only access on the RMT server
Perform these steps on the RMT Master node. For full reference, see the official documentation: Use the RMT .tds files.
The default install path is C:\Program Files\Tableau\Resource Monitoring Tool\master\. If RMT was installed to a different drive or directory, the PostgreSQL configuration files (postgresql.conf and pg_hba.conf) will be located under that custom path instead.
Enable the read-only data access user by running:
rmtadmin data-access ReadOnlyreadonly user and adds a corresponding entry to pg_hba.conf.Confirm the listen address in postgresql.conf. On current versions of RMT, enabling data access in step 1 is expected to update this setting automatically to listen_addresses = '*', which allows the repository to accept remote connections. Open postgresql.conf and verify the change was applied. If the line is still set to the commented default (#listen_addresses = 'localhost'), uncomment it and set it manually:
listen_addresses = '*'Open pg_hba.conf and add host rules that allow remote clients to authenticate. In addition to the entry added in step 1, add:
host all all 0.0.0.0/0 scram-sha-256host all all ::/0 scram-sha-256Restart the database so the listen address change takes effect:
rmtadmin restart --dblisten_addresses setting is only re-read when the database is restarted.Retrieve the read-only password to use for the connection:
rmtadmin get db.readOnlyPasswordTo confirm the repository is now accepting remote connections, you can run netstat on the Master and verify PostgreSQL is listening on 0.0.0.0:5555 (and [::]:5555) rather than 127.0.0.1:5555.
Part B — Connect from Tableau Desktop
Open the appropriate shipped .tds file in Tableau Desktop and enter the connection details:
5555 (this port is fixed for the RMT repository and cannot be changed)tabrmtreadonlyrmtadmin get db.readOnlyPasswordA note on the Require SSL checkbox: whether or not it is selected, the PostgreSQL driver will still attempt an SSL connection. Toggling this option is therefore not a meaningful step when troubleshooting a failed connection.
Part C — If the connection still fails
If Part A is complete and Tableau Desktop still cannot connect, use the following steps to identify where the connection is breaking down.
Confirm the repository is healthy locally. On the RMT Master, connect to the tabrmt database as the readonly user on port 5555 using a local PostgreSQL client (such as psql). If this succeeds, the database and credentials are working correctly, which means the problem lies in the path between your workstation and the server rather than with the repository itself.
Run an A/B test to isolate the network path. Install and run Tableau Desktop directly on the RMT server and open the .tds file there, then try the same .tds file from your workstation:
pg_hba.conf entries, and the database restart).If the failure is isolated to the network path, work with your network and security teams to confirm that nothing along the route between your workstation and the RMT Master is interfering with traffic to port 5555, including the SSL negotiation itself. This is important because a device such as a firewall, proxy, or endpoint-security agent can allow the initial connection to open and still interrupt the session while the secure connection is being established, which produces this same error.
Keep in mind that a basic reachability test (for example, Test-NetConnection on Windows) only confirms that the initial connection can be opened. It does not confirm that a complete, secure session can be established, so a "port is open" result does not rule out this kind of interference.
The specific remediation depends on which device in your environment is intervening. As one example, this can be resolved by adding a firewall rule that permits traffic from the workstation to the RMT Master on port 5555, but the correct fix will depend on your particular network configuration.
005390348

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.