KNOWLEDGE BASE

Error "RuntimeException" Connecting to Tableau Server from Tableau Desktop


Published: 11 Apr 2015
Last Modified Date: 24 May 2016

Issue

When connecting to Tableau Server from Tableau Desktop, the following error might occur:

RuntimeException
 
Additionally, the following exception is recorded in the vizportal log:
 
ERROR com.tableausoftware.app.vizportal.ClientXmlHandshakeController - java.lang.RuntimeException: Reading invalid int value: default for key: gateway.public.port
java.lang.RuntimeException: Reading invalid int value: default for key: gateway.public.port
 

Environment

Tableau Server

Resolution

In Tableau Server, set gateway.public.port to a port number (typically 80 or 443) by running the following commands:
tabadmin set gateway.public.port 80
tabadmin configure
tabadmin restart

Cause

The gateway.public.port setting is set to an invalid value.
Did this article resolve the issue?