Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Marmedina-dd opened this issue Aug 15, 2024 · 1 comment
Labels

Comments

@Marmedina-dd
Copy link

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!

@Marmedina-dd
Copy link
Author

I have been looking at flowprocessor logs and do see ERRORS/WARNINGS for:

  1. Refresh pipeline configuration has failed java.net.UknownHostException: Name or service not known
  2. HttpResponseFutureCallback - emitting events has failed
  3. Found use of deprecated sequence-based id generator
  4. com.tableausoftware.endeavor.client.impl.PipelineStage - failed to initialize pipeline configuration
  5. com.tableau.minerva.lifecycle.MinervaProcess - The port file is empty
  6. com.tableausoftware.features.client.FeatureServiceFactory - We're trying to build a client without launch darkly configured
  7. com.tableau.loom.rest.spring.PropertySourceInitializer - Could not open ServletContext resource [/META-INF/resources/version.properties]
  8. com.tableausoftware.service.LinuxServiceManager - Failed to get active status from systemctl command on flowprocessor_0. Received Exit Code 3.
  9. com.tableausoftware.service.LinuxServiceManager - inactive
  10. com.tableau.loom.floweditor.session.FlowEditSessionService - Insert flow edit session for native session X failed. Removing native session
  11. com.tableau.loom.floweditor.services.drafts.DraftResourceManager - Attempt to get resource location for draft X failed. Retrying.
  12. com.tableau.loom.floweditor.services.drafts.DraftResourceManager - No resource location found for draft X, nothing to clean up.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant