Proxy error displayed in web browser when doing some Jira operations
プラットフォームについて: Server および Data Center のみ。この記事は、Server および Data Center プラットフォームのアトラシアン製品にのみ適用されます。
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.
*Fisheye および Crucible は除く
症状
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
診断
JIRA is running behind Apache with Mod_Proxy configuration.
原因
- Proxy Server receives an invalid request from JIRA Tomcat.
- The web application did not respond in time and the request from Apache timed out.
ソリューション
- 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"/>