"502 Proxy Error" or "502 Bad Gateway" Refreshing Extracts Using Tabcmd

Published: 21 Mar 2013
Last Modified Date: 08 Sep 2016


When refreshing extracts using tabcmd, you see one of the following error messages:

***502 "Proxy Error"


***502 "Bad Gateway"


Tableau Server


1. Open the Command Prompt as an administrator. 
2. Change directories to the "bin" folder in the Tableau Server directory. For example:

cd C:\Program Files\Tableau\Tableau Server\<version>\bin

3. Type the following commands:
  • tabadmin stop
  • tabadmin set gateway.timeout 2700
  • tabadmin configure
  • tabadmin start

Note: This step will increase the timeout limit from 1800 to 2700 seconds. If the issue persists, you may need to increase the gateway timeout value further. For more information, see tabadmin set


Although the process that handles the extract refreshes is functioning properly, the gateway is timing out before the refresh request can complete.  
Did this article resolve the issue?