Skip to main content
Andrew Nikolaev ha fatto una domanda in #Tableau Server

Hello.

I have a problem with connecting/working different analytics extensions and Tableau Server (I've tried TabPy and Rserve).

I've tested both extensions with Tableau Desktop and there were no issues or errors. This means that the TabPy Server or Rserve are working correctly.

Unfortunately, after publishing workbook on Tableau Server (latest version 2021.2.1 (20212.21.0712.0907)), I get this error sometimes, not regulary.

Are there may be any timeouts for Tableau Server to connect to extensions? If I use simple Python script, like adding the values of two columns, everything goes well.

There are screenshots with error and piece of logs when I use Rserve as extension (/var/opt/tableau/tableau_server/data/tabsvc/logs/analyticsextentions/analyticsextentions_node1.log)

4 risposte
  1. 26 ott 2022, 00:28

    I get the same error message when I publish my dashboard. I use "localhost" or "127.0.0.1" as hostname to connect to Rserve in my dashboard and it works well (my R-scripts in my calculated fields run as I want) as long as I am using Tableau Desktop. Then, when I publish my dashboard on Tableau server (or cloud), the Tableau server (online) asks me to use an analytics extension connection for my dashboard. I went to the "settings" section of my Tableau online website and then into "extensions" and created an R-serve connection as you can see in the following picture and used it for publishing my dashboard.

    I get the same error message when I publish my dashboard. I use Now when I open the workbook of my published dashboard that uses the R-script, I get the error message "Unable to proceed because of an error from the Analytics Extension".

    Could you please let me know what is the problem? My understanding is if we set the hostname as 127.0.0.1, then whoever opens my published dashboard should be fine as long as they have already installed and run R-serve package on their local computer. Am I wrong? What is the solution?

0/9000