Tableau Desktop cannot connect to Amazon Athena through proxy server if system proxy is turned on in internet options on the Windows system. The following error occurs after 90 seconds.
An error occurred while communicating with Amazon Athena
Bad Connection: Tableau could not connect to the data source.
Error Code: 37CE01A3
Deadline Exceeded
Unable to connect to the Amazon Athena server "athena.xxxxx.amazonaws.com". Check that the server is running and that you have access privileges to the requested database.
Tableau Desktop prioritizes the system proxy setting and overrides the proxy setting in athena.properties. Tableau Desktop attempts to use Socks protocol with the above environment/configuration, and if the proxy server does not support Socks protocol, Athena JDBC driver does not work to connect to the data source. By disabling the the option "Use the same proxy for all protocols" and leaving the Socks field blank, Tableau Desktop does not try to use Socks and Athena JDBC driver works via HTTP and the connection works.
If you have configured proxy settings in athena.properties, you may need to remove those settings if you have also configured proxy settings at the OS level.
If your proxy server does not support Socks protocol, disable "Use the same proxy for all protocols" and make sure Socks protocol fields are blank.
If your proxy server does support Socks protocol, but you prefer to use HTTP proxy for Athena, configure it in athena.properties.
Add an exception for Athena to the Windows Proxy Settings.
Note: The above example uses the zone for us-east-1, use the correct zone for your service. Use the full hostname without wildcards.
A similar issue may manifest which has a different solution. See Unable to Connect to Athena Via Proxy Server for more information.
Also see:
How to connect Tableau Desktop to Amazon Athena via Proxy Server:
proxy_host=<proxy hostname or IP address>proxy_port=<the port proxy server uses>
001472364

We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.