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

Tableau Prep not connecting to Docker #511

Closed morganandsam closed 2 years ago

morganandsam commented 3 years ago

Environment information:

Describe the issue Tableau Prep throwing this error on the script: Unable to connect to the Tableau Python (TabPy) server local on port 80. Check your connection details and credentials, then try again.

To Reproduce Input sales data, concatenate address to single field, aggregate the address column, geo-code script (throws error), re-append sales data and then output the file.

Expected behavior Expect script to run to produce the output file.

Screenshots Tableau Screenshot

Additional context Docker is running and is up to date. Seems to be working but when we open a flow in Tableau Prep, we get errors that it's not connecting.

nmannheimer commented 2 years ago

Hello @morganandsam what port is your TabPy instance running on? The default port for TabPy is 9004 which may explain the issue if Prep is trying to use port 80.

nmannheimer commented 2 years ago

@morganandsam I'm going to close this issue, feel free to re-open if needed.