tableau / TabPy

Execute Python code on the fly and display results in Tableau visualizations:
https://tableau.github.io/TabPy/
MIT License
1.55k stars 592 forks source link

Can't connect Tableau Online to tabpy #559

Closed fernandogc1 closed 1 year ago

fernandogc1 commented 2 years ago

Environment information:

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

0golovatyi commented 2 years ago

@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/

fernandogc1 commented 2 years ago

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

nmannheimer commented 2 years ago

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.