Error: "An Error Occurred While Communicating with the Rserve Service" on Workbook with R Script After Being Published

Published: 03 Mar 2016
Last Modified Date: 15 Jan 2019


After publishing a workbook that contains R script to Tableau Server, the following error might occur:
An unexpected error occurred… TableauException: An error occurred while communicating with the Rserve service. Tableau is unable to connect to the service. Verify that the service is running and that you have access privileges.


Tableau Server


R has not been properly configured on Tableau Server.

Additional Information

Note: if R is installed on a machine other than Tableau Server, it must be configured to allow Tableau Server to communicate (whitelist Tableau Server on Rserve). For more information, see R Implementation notes on the Tableau Community Forums.

Discuss this article... Feedback Forum
Did this article resolve the issue?