Table of Contents |
---|
Authentication error
You see an error message like this:
...
This can be due to a couple possible issues.
The Username of the Confluence User does not match their Username in Tableau
The User in Tableau is identified with a domain and the Domain is not configured in Tableau for Confluence Pro
The Tableau Server is not correctly configured to trust Confluence
You can check to see if the cause is #1 by hard coding a username which you know is valid in Tableau. For example:
...
You can check to see if 2 is happening by logging into Tableau and looking at your user profile. You should see the configured domain, in this example no Domain is specified. However you would see your domain where it says local:
...
If it says local, you DO NOT need to configure a domain setting.
To fix this, add support for using a Domain configuring it in the Tableau Server configuration. For example, if your domain is AcmeCorp and your username looks something like AcmeCorp\username, you can do something like this:
...
For #3 you would need to do the following:
Enable DEBUG logging as outlined at Generating Logs
Look in your
<Confluence Home>/logs/atlassian-confluence.log
file and look for an error like:
...
Code Block 2020-08-07 20:58:51,847 ERROR [http-nio-8090-exec-6] [schubergphilis.confluence.action.TestTableauServerConfigurationAction] execute An error occurred when connecting to Tableau -- referer: https://lab.remote-desktop.org/confluence/admin/plugins/tableau-plugin/EditTableauEnvironment!default.action?environmentId=2 | url: /confluence /admin/plugins/tableau-plugin/TestTableauServerConfiguration.action | traceId: 8a50493e6bdfd59c | userName: admin | action: TestTableauServerConfiguration com.schubergphilis.confluence.exceptions.AuthenticationException: authentication failed for user: admin at com.schubergphilis.tableau.authentication.TrustedAuthentication.authenticate(TrustedAuthentication.java:73)
If you can find this error, then the next step is to enable debug logging on Tableau which would be:
Code Block tsm configuration set -k vizqlserver.trustedticket.log_level -v debug tsm pending-changes apply
Once this is enabled, you can reproduce the issue in Confluence and look for the latest
vizqlserver_node*-*.log.*
file in yourProgramData\Tableau\Tableau Server\data\tabsvc\logs\vizqlserver
or/var/opt/tableau/tableau_server/data/tabsvc/logs/vizqlserver
directories.Look for an error like so:
2020-08-07 20:36:49.508 +0000 (,,-,Xy27YVti@XJhFZsXTSh0YQAAAHk) catalina-exec-6 : ERROR wgsessionId= com.tableausoftware.domain.user.auth.TrustedTicketServiceImpl - Invalid request host: 172.17.0.1.
Then take the identified IP and go back to step 5 in Tableau Server Configuration
Chrome or Safari Stopped Loading Dashboards / Views in Confluence
...