Proxy error displayed in web browser when doing some Jira operations
Platform Notice: Data Center Only - This article only applies to Atlassian products on the Data Center platform.
Note that this KB was created for the Data Center version of the product. Data Center KBs for non-Data-Center-specific features may also work for Server versions of the product, however they have not been tested. 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
Summary
Symptoms
The following appears in web browsers:
1
2
3
4
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 Integrating JIRA with Apache 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.
Solution
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:
1
2
3
4
<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"/>
Was this helpful?