Skip to content

Tabpy Offline Linux RHEL 8 Installation / Unable to Connect to the Tabpy Server #641

@Marmedina-dd

Description

@Marmedina-dd

Environment information:

  • OS: Linux RHEL 8
  • Python version: 3.8
  • TabPy release: 2.9.0
  • Offline Installation
  • Tableau Server 2023.1.12

Describe the issue
I have offline installed Tableau Server on a RHEL 8 instance of Linux. I have also PIP installed Tabpy 2.9.0 with Python 3.8 and that seems to be working fine. We get the desired output when initializing Tabpy on the our Linux CLI: Web Service Listening on Port 9004. However, when I attempt to use a .py file in Flows I get a: Unable to Connect to the Tableau Python (TabPy) Server X.X.X.X [File Path Hidden] on port 9004. Check your connection details and credentials, then try again.

To Reproduce
Not sure how to reproduce this. I have followed all the tsm configs from Tableau...
(https://help.tableau.com/current/prep/en-us/prep_scripts_TabPy.htm)

... configs from this repo for both the default.conf and state.ini files. All ports have been verified and seem to working properly. Analytic Extensions have also been enabled and match the configs on the other files.

Expected behavior
Expect to be able to run a Flow in Tableau server on some data and a .py Script object in a flow to a desired change output of the original data input.

Screenshots
This is what my CLI sort of looks like when I initialize Tabpy on my server, but this is a Windows version and I am using Linux:
tabpy_webservice_CLI

This is the error I see when I try to run a .py file in a test flow:
tabpy_unable to connect

This is what the error looks like in the flow, mine is a little different. I dont have a 'Server' appearing under 'Connection Type' (Tableau Python or Rserve). 'Server' does not appear at all on mine.
flow_error

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions