KNOWLEDGE BASE

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: 06 Dec 2016

Issue

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.

Environment

Tableau Server

Cause

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 Using a remote Rserve.
Did this article resolve the issue?