4 Replies Latest reply on Jun 19, 2015 11:42 AM by Raghav Panchapakesan

    Could not locate unexpired trusted ticket - Tableau Server 9.0

    Raghav Panchapakesan

      Hi Experts,

       

      I have an issue with trusted authentication with Salesforce which i have resolved for the most part but need help with one scenario.

       

      There are 2 possible scenarios using trusted authentication with Tableau views that are part of .

       

      1) Default Site

      2) Any Site (other than default)

       

      We recently introduced sites in our Tableau environment but now i am not able to embed tableau views that are part of the newly created site(s) in Salesforce. I also upgraded our distributed QA environment from Tableau Server 8.2.2 to 9.0 and first thing i observed is the URL has changed.

      https://xxxxxx.xxxxx.com/views/<workbook_name>/<view_name> - "Default Site" Tableau 8.2

      https://xxxxxx.xxxxx.com/#/views/<workbook_name>/<view_name> - "Default Site" Tableau 9.0


      https://xxxxxx.xxxxx.com/#/t/<site_name>/views/<workbook_name>/<view_name> - "New Site" Tableau 8.2

      https://xxxxxx.xxxxx.com/#/site/<site_name>/views/<workbook_name>/<view_name> - "New Site" Tableau 9.0

       

      Updated my php code to consider for "site" and i can embed views in salesforce for Scenario 1 (views that are part of default site).

       

      For Scenario 2 - I can see the corresponding URL being generated to render the view as shown below (which means, a ticket is being generated for the site & user parameters) but i get the following error below

       

      An error occurred on the server. The details of the error are:

      • Could not locate unexpired trusted ticket xb8IT05Tv1kjSgNcmZSoCe-n

      Click the Refresh button in your web browser and try again.

      If you continue to receive this error please contact your Tableau Server Administrator.


      URL generated through PHP script

      https://xxxxxx.xxxxx.com/trusted/<trusted_ticket>/#/site/<site name>/views/<workbook_name>/<view_name>


      For troubleshooting, i also generated a trusted ticket using the sample test page (by passing the username, server and site information). Once i obtained the ticket, I embedded the trusted_ticket in the above URL and get the same error message. Can anyone tell me what the issue could be?