KNOWLEDGE BASE

Error "Communication with the Tableau Protocol Server process was lost" When Connecting to Amazon Athena


Published: 24 Aug 2021
Last Modified Date: 24 Aug 2021

Issue

When connecting to Amazon Athena, the following error may occur:

The connection to the data source might have been lost.
ExternalProtocol::PipeMessageSource::ReadBytes: Communication with the Tableau Protocol Server process was lost.

Environment

  • Tableau Desktop
  • Amazon Athena
  • Windows

Resolution

  1. Click the Windows Start button and type in: env
  2. From the search results, select 'Edit the system environment variables'.
  3. In the System Properties dialog, click 'Environment Variables'.
  4. In the Environment Variables dialog, look for the JAVA_HOME variable under both User and System variables and delete it.
  5. Click OK to close the dialogs.
  6. Restart Tableau Desktop and try to connect to Amazon Athena.
  7. If an error still occurs, download and install 64-bit Java Version 8 from https://www.java.com/en/download/
Did this article resolve the issue?