question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

How to Run Tabadmin for TabPy Server

See original GitHub issue

I have the TabPy server running in Python 3.6 on the same machine as Tableau desktop. Connecting to it in Tableau 10.2 and clicking “Test Connection” results in this error: External Service: The external server is busy or not responding. Failed to create socket to it. ExtSvc: Timeout was reached.

Based on this error, I think I need to extend the timeout threshold with tabadmin set vizqlserver.extsvc.connect_timeout_ms ####. I tried running this command in the folder where the TabPy files live (/lib/site-packages/tabpy_server). This results in 'tabadmin' is not recognized as an internal or external command, operable program or batch file. Where should I run tabadmin? The examples for tabadmin say to run it in the Tableau Server location in Program Files. However, I don’t have this location, and I’m not attempting to connect to Tableau Server.

I do not have administrator rights on my laptop, and I realize it may be a firewall issue. However, I got through the mprtia error by using 127.0.0.1 instead of localhost in the Tableau connection to the TabPy server.

Thank you for any insight!

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:8 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
BBerancommented, Jun 26, 2017

Hi Cameron, Timeout setting is for Tableau Server. You shouldn’t need this if you’re running TabPy and Tableau desktop on the same machine in the first place.

This might be happening most likely because of one of the two reasons:

  1. TabPy is installed but not running. When you try to connect to http://localhost:9004 using your browser, do you see a Tableau logo? If not, TabPy is not running.
  2. Your firewall doesn’t allow Tableau to access TabPy through that particular port. On some operating system when TabPy starts for the first time, OS launches a dialog and ask for permissions.

I hope this helps find the root cause of the issue.

Bora

0reactions
ghostcommented, Jun 30, 2017

Thank you for trying! I’ll go ahead and close the issue.

Read more comments on GitHub >

github_iconTop Results From Across the Web

TabPy Server Configuration Instructions - Tableau Open Source
The default config file is provided to show you the default values but does not need to be present to run TabPy. Configuration...
Read more >
Use Python scripts in your flow - Tableau Help
You can run flows that include script steps in Tableau Server as long as you have configured a connection to your TabPy server....
Read more >
Tableau Integrate with Python | How to Install Tabpy-server ...
This video shows how to install Tabpy - server and Tabpy-client using cmd prompt and we can integrate Tableau with ...
Read more >
Instructions for installing Tabpy on Tableau Server
You should not install ANY other software on your Tableau Server. TabPy is a web application that needs its own server to run....
Read more >
How to set up TabPy in Tableau - The Information Lab
Start TabPy server. If you downloaded TabPy using pip install tabpy (recommended way) then all you have to do to start the server...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found