Gateway Timeout

The gateway did not receive a timely responsefrom the upstream server or application.

Additionally, a 504 Gateway Timeouterror was encountered while trying to use an ErrorDocument to handle the request.