DATA CENTER AND SERVER | CLOUD
Operations cause bad gateway timeout error
Problem
When executing R4J operations, the page loads for a long time until it ends with the error "Bad Gateway Error. Please retry later".
Cause
This is due to the fact that the backend connection (e.g. a gateway or proxy) has not receive a timely response from the upstream server. Some reasons why this might happen:
The web server may have crashed or did not respond in time, and the request timed out.
The web server threads are timing out.
A network device is blocking the request.
Solution
Most common solution is to increase the timeout as it may have only been set to 1 minute by Jira default. Increase below timeout configurations to 10 minutes as an example:
proxy_connect_timeout 10000;
proxy_send_timeout 10000;
proxy_read_timeout 10000;
send_timeout 10000;