Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 15 Current »

Authentication error

You see an error message like this:

This can be due to a couple possible issues.

  1. The Username of the Confluence User does not match their Username in Tableau

  2. The User in Tableau is identified with a domain and the Domain is not configured in Tableau for Confluence Pro

  3. 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:

(info) 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:

  1. Enable DEBUG logging as outlined at Generating Logs

  2. Look in your <Confluence Home>/logs/atlassian-confluence.log file and look for an error like:

    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)
  3. If you can find this error, then the next step is to enable debug logging on Tableau which would be:

    tsm configuration set -k vizqlserver.trustedticket.log_level -v debug
    tsm pending-changes apply
  4. Once this is enabled, you can reproduce the issue in Confluence and look for the latest vizqlserver_node*-*.log.* file in your ProgramData\Tableau\Tableau Server\data\tabsvc\logs\vizqlserver or /var/opt/tableau/tableau_server/data/tabsvc/logs/vizqlserverdirectories.

  5. 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.

  6. Then take the identified IP and go back to step 5 in Tableau Server Configuration

Chrome or Safari Stopped Loading Dashboards / Views in Confluence

Troubleshooting:

  • Check if users are on Chrome 80+

  • Check if users are on Safari 12+

This is likely related to the changes implemented by Chrome and the Tableau team. Please review this KB for more information: 

  • No labels