KNOWLEDGE BASE

Unknown Server Error "504 Gateway Time-out" Occurs When Accessing Amazon Athena


Published: 09 Mar 2021
Last Modified Date: 09 Mar 2021

Issue

Unknown Server Error "504 Gateway Time-out" occurs when accessing a workbook that embedded a connection of Amazon Athena.

Example (Japanese):
User-added image

Environment

  • Tableau Server
  • Amazon Athena
  • JDBC

Cause

This is due to the networking issue outside of Tableau Server.

Additional Information

Since it's a networking issue, this may also occur when accessing a published data source. The following error can be found in the logs.
----------------------
Check the session id, error "Deadline Exceeded" can be found in nativeapi_vizqlserve log, example:
// ziplogs\node1\vizqlserver_0.20204.21.0114.091613474692966834480720\logs\nativeapi_vizqlserver_1-0_2021_03_03_00_00_00.txt
{"ts":"2021-03-03T17:32:55.188","pid":108865,"tid":"1b927","sev":"warn","req":"YD9JA83SgGwqOAEfycsvJwAAABM","sess":"72BAC7120C064C1FBBECCD484F62373F-1:0","site":"<sitename>","user":"<username>","k":"excp","e":{"excp-error-code":"0xFAB9A2C5","excp-source":"NeedsClassification","excp-status-code":"UNKNOWN"},"v":{"class":"genericjdbc","dse-type":"Unknown","excp-msg":"Deadline Exceeded\n","excp-type":"ConnectivityException","is-bad-request":false,"is-capability-probe-failure":false,"is-local-configuration-error":false,"is-remote-configuration-error":false,"msg":"ConnectivityException::Init"}}
Did this article resolve the issue?