This is an internal documentation. There is a good chance you’re looking for something else. See Disclaimer.

Web Server

504 - Gateway Timeout


HTTP requests fails with status code 504.


504 returned by Nginx


First, try to figure out what that request takes that long and try to make it faster.

If you can’t make it faster, there is the possibility to adjust the timeout:

  • If the 504 has been issued by Nginx (see screenshot above) …:

  • … else:

    Adjust the HAProxy timeout in the OpenShift configuration:

    oc edit route and add/adjust this:

      annotations: 15m