Unable to create or edit issues using port number after upgrading to JIRA 7
プラットフォームについて: 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 は除く
問題
- After upgrading from JIRA 6.x.x to JIRA 7.x.x, it is not possible to edit or create any issues in Jira when using port number for example 8080.
- There are no issues editing or creating issues in JIRA when using the proxy URL
- Although there are no issues creating or editing issues using the FQDN, for example,
http://jira.atlassian.com
, the user requires issues to be created or edited usinghttp://jira.atlassian.com:8080
because of 3rd party integrations such as the Kantata (formerly Mavenlink) connector.
診断
環境
- JIRA is integrated with a proxy as per Proxying Atlassian server applications with Apache HTTP Server (mod_proxy_http)
Diagnostic Steps
Ensure that there is only one connector configured on the server.xml :
<Connector port="8080" proxyName="jira.atlassian.com" proxyPort="80" maxThreads="150" minSpareThreads="25" connectionTimeout="20000" enableLookups="false" maxHttpHeaderSize="8192" protocol="HTTP/1.1" useBodyEncodingForURI="true" redirectPort="8443" acceptCount="100" disableUploadTimeout="true"/>
- Access JIRA using http://jira.atlassian.com:8080
- It will not be possible to create or edit an issue
- Recording a HAR file as per Generating HAR files and Analysing Web Requests while reproducing the issue will display the error XSRF check failed / 403 Forbidden
原因
Is is not possible to use the same port number that is being used by the proxy to create or edit issues in JIRA.
ソリューション
- Jira を停止します。
Add a 2nd HTTP connector to the JIRA_INSTALL/conf/server.xml file:
<Connector port="8081" maxThreads="150" minSpareThreads="25" connectionTimeout="20000" enableLookups="false" maxHttpHeaderSize="8192" protocol="HTTP/1.1" useBodyEncodingForURI="true" redirectPort="8443" acceptCount="100" disableUploadTimeout="true"/>
- Start JIRA and the access JIRA using
http://<domain>:8081
- It is now possible to create or edit issues using
http://<domain>:8081
andhttp://<domain>
最終更新日 2022 年 7 月 11 日
Powered by Confluence and Scroll Viewport.