KNOWLEDGE BASE

The error "Deadline Exceeded" occurs when fails to refresh extract with queries that take a long time to process


Published: 20 Feb 2023
Last Modified Date: 21 Feb 2023

Issue

The error "Deadline Exceeded" occurs when fails to refresh extract with queries that take a long time to process

If the Query process takes a long time and the connection is idle for a long time, the NAT gateway times out.
 

Environment

  • Tableau Server 
  • PostgreSQL
  • JDBC Connection

Resolution

Enable TCP keep-alive by using properties file

1. Prepare properties file named "postgres.properties"
Add "tcpKeepAlive=true" in the file.

"Initializing the Driver"

2. Place the "postgres.properties" to the following directory on all server nodes:
  • Windows: ProgramData\Tableau\Tableau Server\data\tabsvc\vizqlserver\Datasources
  • Linux: /var/opt/tableau/tableau_server/data/tabsvc/vizqlserver/Datasources/

"Customize JDBC Connections Using a Properties File"

3. Restart Tableau Server

 

Cause

The connection that's using a NAT gateway may time out.
Did this article resolve the issue?