"Unable to login" and "BadCredentials" Errors When Adding Worker

Published: 08 Mar 2018
Last Modified Date: 31 Jan 2020


When running initialize-tsm on a new worker, you receive Unable to login and BadCredentials errors like the below: 

Operation failed. Installer exception raised during installation. com.tableausoftware.installer.InstallerException: Unable to login at com.tableausoftware.installer.operations.AbstractControllerOperation.authenticateClient( at com.tableausoftware.installer.operations.AbstractControllerOperation.getClient( at com.tableausoftware.installer.operations.DownloadBootstrapEntityOperation.requestBootstrapEntity( at com.tableausoftware.installer.operations.DownloadBootstrapEntityOperation.perform( at at com.tableausoftware.installer.AbstractInstaller.execute( at com.tableausoftware.installer.WorkerInstallerMain.main( Caused by: com.tableausoftware.tabadmin.ConnectionException at com.tableausoftware.tabadmin.ServerApi.sendRequestInner( at com.tableausoftware.tabadmin.ServerApi.login( at com.tableausoftware.installer.operations.AbstractControllerOperation.authenticateClient( ... 6 more ERROR: installer returned status BadCredentials


  • Tableau Server 10.5.1
  • CentOS Linux release 7.4


Update /etc/hosts to correctly identify the IP domain and hostname of all nodes in Tableau Server.


Ensure DNS settings are set correctly so that each node can discover the other nodes in Tableau Server.


The worker installation fails when trying to login to the tsm instance on the primary with a connection error in the app-worker-install.log:
 I/O error on POST request for "<url>:<port>/api/0.5/login": <FQDN>: Name or service not known; nested exception is <FQDN>: Name or service not known
  • <url> is the URL being used to connect to the primary node
  • <port> is the port for the tsm service
  • <FQDN> is the fully qualified domain name for the primary node
Did this article resolve the issue?