This is an internal documentation. There is a good chance you’re looking for something else. See Disclaimer.
Web Server¶
504 - Gateway Timeout¶
Error¶
HTTP requests fails with status code 504.
Solution¶
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) …:
Adjust the proxy_read_timeout in the Nginx configuration.
… else:
Adjust the HAProxy timeout in the OpenShift configuration. You can do so via http_request_timeout property in Ansible.