Proxy error displayed in web browser when doing some Jira operations
Platform notice: Server and Data Center only. This article only applies to Atlassian products on the Server and Data Center platforms.
Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.
*Except Fisheye and Crucible
Symptoms
The following appears in web browsers:
Proxy Error
The proxy server received an invalid response from an upstream server.
The proxy server could not handle the request POST /jira/secure/admin/xxxxxxxx.jspa.
Reason: Error reading from remote server
Diagnosis
JIRA is running behind Apache with Mod_Proxy configuration.
Cause
- Proxy Server receives an invalid request from JIRA Tomcat.
- The web application did not respond in time and the request from Apache timed out.
Resolution
- Increase proxy timeout in Apache mod_proxy.
Bypass Apache proxy and direct access Jira with IP Address and port such as http://IP_ADDRESS:PORT.
For example, you can use port 8081 or add a new port to the server.xml for this experiment:
<Connector port="8081" relaxedPathChars="[]|" relaxedQueryChars="[]|{}^\`"<>"
maxThreads="50" minSpareThreads="5" connectionTimeout="20000" enableLookups="false"
maxHttpHeaderSize="8192" protocol="HTTP/1.1" useBodyEncodingForURI="true" redirectPort="8443"
acceptCount="100" disableUploadTimeout="true" bindOnInit="false"/>