Comments (24)
Did you try the following for the setup on Tableau server?
tabadmin stop
tabadmin set vizqlserver.extsvc.host
tabadmin set vizqlserver.extsvc.port
tabadmin configure
tabadmin start
from tabpy.
Yes, I tried that again but still the same error
from tabpy.
It might be having problem resolving the name localhost.
Have you tried http://localhost OR 127.0.0.1 when configuring on the server and see if it solves the problem?
from tabpy.
I tired both http://localhost and 127.0.0.1 . It did not work . But, it works when i configure with the ip address of the box where the tableau server is installed.
from tabpy.
If those names aren't resolving but IP address of the server is working, it is likely an issue in the hosts file
https://en.wikipedia.org/wiki/Hosts_(file)
where mapping from localhost and 127.0.0.1 need to be defined.
But it seems like you found a solution by using the full hostname for the server TabPy is on.
from tabpy.
I have tried with the localhost (127.0.0.1) of coz it works well but I tried to config in Tableau server, it's not work. My flow is configured in server
tabadmin stop
tabadmin set vizqlserver.allow_insecure_scripts true
tabadmin set vizqlserver.extsvc.host
tabadmin set vizqlserver.extsvc.port
tabadmin config
tabadmin start
Any idea for this problem. Thanks ;)
from tabpy.
@andylam1989 it would be helpful if you could mention the error you are getting.
from tabpy.
I have a server running without any issues with the following config
vizqlserver.extsvc.host http://127.0.0.1
vizqlserver.extsvc.port 9004
vizqlserver.script.disabled true
Last setting is backwards. It has to be set to true to enable scripts while the name implies otherwise.
allow_insecure_scripts controls whether Tableau Server should accept string parameters which is a safety measure against injection attacks.
from tabpy.
Thank you venkataanumula and BBeran. Of coz when I set 127.0.0.1, it means the IP of localhost and it works very well. Now I want to use another computer with IP to run Pytab and in Tableau, I set the IP of this computer? Is it possible? I saw some blog for Rserve and I have tried this way. Thanks again!
from tabpy.
I am trying to connect R and tableau server. In my case R and tableau desktop are on one machine and tableau server on another machine. I could publish workbook, but it returns error when opening workbook.
I had executed the following
C:\Program Files\Tableau\Tableau Server\10.4\bin>tabadmin stop
C:\Program Files\Tableau\Tableau Server\10.4\bin>tabadmin set vizqlserver.extsvc.host
ip address of the machine hosting Rserve
C:\Program Files\Tableau\Tableau Server\10.4\bin>tabadmin set vizqlserver.extsvc.port 6311
C:\Program Files\Tableau\Tableau Server\10.4\bin>tabadmin set vizqlserver.script.disabled true
C:\Program Files\Tableau\Tableau Server\10.4\bin>tabadmin configure
C:\Program Files\Tableau\Tableau Server\10.4\bin>tabadmin start
Any idea to solve this ?
Thanks
from tabpy.
Try to start Rserve with Rserve(debug=TRUE)
to confirm it can locate and load config file and parameters there are what you expect them to be.
from tabpy.
I have made the following changes. I could publish workbook, when I try to open dashboard it takes more than 30 minutes and returns error.
from tabpy.
In your cmd line printouts it looks like you're setting the extsvc.host to localhost, but earlier you mentioned you are running RServe on a different machine.
Are you setting the extsvc.host to the ip address of the machine where Rserve is running? Additionally can you confirm that you can ping the machine where RServe is running from the box where Tableau Server is running?
from tabpy.
Also, @s13varun this github page is primarily for supporting TabPy Python integration. If the issue persists, please consider posting on Tableau's forums, so you can get input from community members who may have more experience with RServe as well as the Tableau team:
https://community.tableau.com/community/forums/externalservices
from tabpy.
Sorry for not updating that. Both are running on same machine now.
I didn't understand " Can you confirm that you can ping the machine where RServe is running from the box where Tableau Server is running? "
from tabpy.
So if I understand correctly, you are running RServe on the same machine as your Tableau Server? Are you also running an RServe instance on the same machine as your Tableau Desktop instance, or are all three on the same machine?
If you were running RServe on a different machine than your Tableau Server, pinging the computer that was running RServe from the computer running Tableau Server would confirm that you can send network traffic between the two.
http://www.steves-internet-guide.com/ping-command/
from tabpy.
All three are running on the same machine
from tabpy.
And to confirm, you are able to render the visualization you are trying to make with R code in Desktop, but not in Server even when all three are on the same machine?
from tabpy.
Yes. It works on desktop but not in server
from tabpy.
With debug=TRUE
on the screenshot, you provided it is unfortunately still not clear what config file and parameters running Rserve is using. Could you try Rserve(debug=TRUE, args="--RS-conf C:\path\to\conf\file")
? I am not sure it works for Windows Rserve in the same way - on Linux\Mac debug output shows if config file was found and what parameters are used (host, port, etc.)
from tabpy.
Correct me if I am wrong. I had found many tutorial regarding config file of Rserve. I have not found any config file under Rserve yet. Is config file comes with Rserve installation or should we create one ?
from tabpy.
Hello @s13varun,
Since this issue is ongoing, I'm going to ask that you submit an issue on the Tableau forums in the external services section:
https://community.tableau.com/community/forums/externalservices
or file a ticket with Tableau technical support:
https://www.tableau.com/support
This github page is for Tableau's Python integration server TabPy.
from tabpy.
I want to integrate R and tableau server to make use of a function in R package. It is not working even on tableau desktop.
To integrate python with tableau, I already had anaconda installed on my machine. When I ran startup.bat window closes immediately. How to solve this ?
startup.bat file location C:\Users\user4\AppData\Local\conda\conda\pkgs\tabpy-server-0.2-py36_0\Lib\site-packages\tabpy_server
from tabpy.
from tabpy.
Related Issues (20)
- An error occurred while communicating with the Analytics Extension data source ‘Analytics Extension’ HOT 1
- TabPy on Heroku Quickstart runs on port 443 HOT 3
- Simplify Environment Setup with a package.json file
- Clarify community contributions
- Fail to install TabPy due to the deprecation of sklearn HOT 2
- TabPy offline installation HOT 2
- Remove future lib: https://nvd.nist.gov/vuln/detail/CVE-2022-40899
- Erorr when run TabPy server on Ubuntu HOT 2
- Can we use tabpy function even if TABPY_EVALUATE_ENABLE is set to false HOT 3
- Heroku model deployments: os.path.isfile(path_to_pickle) returns true, but client.deploy(...) returns FileNotFoundError HOT 2
- Input form from https://www.tableau.com/blog/building-advanced-analytics-applications-tabpy-64916
- Disable support for TLS 1.1 and 1.0
- Tabpy server awaits for the user to hit Enter on the tabpy server Console for the Tableau connection to establish/finish HOT 1
- System error: Unknown Error when setting up request to TabPy. null
- Issue: PyArrow Installation Error in Visual Studio Developer Command Prompt for TabPy
- Tableau Prep - Unwanted Date Change in Python script HOT 4
- TabPy初期設定時のユーザーネーム/パスワードの設定方法について
- Hardcoded `0.0.0.0` and lack of passing `address` to Tornado
- No able to open Tabpy from cmd
- Potential Information Leakage
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tabpy.