tableau / TabPy

Execute Python code on the fly and display results in Tableau visualizations:

Home Page:https://tableau.github.io/TabPy/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Can't connect Tableau Online to tabpy

fernandogc1 opened this issue · comments

Environment information:

  • OS: Windows Server 2016
  • Python version: 3.9
  • TabPy release: 2.5

I am trying to publish a workbook which is using TabPy server running on localhost and working fine localy. The calculation/result returning from python script is correct as expected.

While publishing this dashboard to tableau online its throwing error

"this worksheet contains scripts for an external service which are not allowed on target platform until administrator configures as External Service Connection."

I followed the steps presented here: https://tableau.github.io/TabPy/
Any lead or help is appreciated.

tabpy

The workbook (on tableau online) has the tabpy conection:
image

Successful connection on Desktop. Return a value (175.0 as expected)

image

@fernandogc1 You need to configure you Tableau Server you are publishing to enable scripting and with connection to TabPy, e.g. http://tabscifi.golovatyi.info/2020/05/multiple-analytics-extensions-connections-with-tableau-server-2020-2/

@0golovatyi
I already done the configuration.
I tried with my local ip and writting "localhost" at hostname
image

Your connection needs to be accessible over the open internet for Tableau Online, Using localhost won't work. If you can go to your IP on your port (9004) over a browser in another computer, that should be working.