Jira Server や Data Center のネットワーク接続をテストするためにプロキシまたは SSL をバイパスする
プラットフォームについて: Data Center のみ。 - This article only applies to Atlassian apps on the Data Center プラットフォーム。
この KB は Data Center バージョンの製品用に作成されています。Data Center 固有ではない機能の Data Center KB は、製品のサーバー バージョンでも動作する可能性はありますが、テストは行われていません。 Server* 製品のサポートは 2024 年 2 月 15 日に終了しました。Server 製品を実行している場合は、 アトラシアン Server サポート終了 のお知らせにアクセスして、移行オプションを確認してください。
*Fisheye および Crucible は除く
要約
Sometimes it's necessary to test connectivity to a single application from a single workstation. The methods described in this article should only be used if you need to test connectivity from a single workstation. To bypass a Proxy and SSL, you will need to make sure if there is a non-proxy port configured on Tomcat or you should add a secondary connector to Tomcat that allows for an alternate route of communication to the application.
ソリューション
For this example, let's say
JIRA base URL:
https://jira.atlassian.com
JIRA's internal IP Address:
192.168.1.100
JIRA is configured with a Proxy
Please follow the steps below to bypass SSL and Proxy:
Stop JIRA.
Open JIRA Installation Directory
/conf/server.xml
in a text editor.Verify if the following
Connector port
exist in the file:For JIRA Software version 7.12.3 and above:
<Connector port="8081" maxThreads="150" minSpareThreads="25" connectionTimeout="20000" enableLookups="false" maxHttpHeaderSize="8192" protocol="HTTP/1.1" useBodyEncodingForURI="true" acceptCount="100" disableUploadTimeout="true" relaxedPathChars="[]|" relaxedQueryChars="[]|{}^\`"<>"/>
For JIRA version lower than 7.12.3
<Connector port="8081" maxThreads="150" minSpareThreads="25" connectionTimeout="20000" enableLookups="false" maxHttpHeaderSize="8192" protocol="HTTP/1.1" useBodyEncodingForURI="true" acceptCount="100" disableUploadTimeout="true"/>
The
Connector port
might be different, as long as the connector is not configured with SSL or Proxy, then you should be able to bypass the Proxy and SSL. In this case, you should be able to access JIRA with the following URL:http://192.168.1.100:<connector
port>
Please backup the current
server.xml
If such
Connector port
does not exist in theserver.
xml file, then please add the connector by copy-pasting the above connector to theserver.xml
. Make sure to use the correct connector syntax (depending on the version of JIRA) and port8081
is not already in use (simply search for 8081 in your connector and use 'netstat -an' command to verify if nothing else is listening on that port. If the port is already used, please use a different port.Start JIRA.
Access JIRA with the following URL:
http://192.168.1.100:8081
Change the
8081
port to the respective value if you have configured the port differently.Change the base URL to http://192.168.1.100:8081
After the test, you should either:
Remove the connector port from the server.xml file.
Restore the content of the server.xml file from the backup server.xml ファイルを解凍します。
Please take note that you will need to restart JIRA for the changes to be committed.
この内容はお役に立ちましたか?