False Warning About Server Base URL Mismatches on UPM

お困りですか?

アトラシアン コミュニティをご利用ください。

コミュニティに質問

症状

One of the following appears on UPM:

"The base URL configuration of your instance is inconsistent with the URL in your browser. This may prevent many operations on this page from working correctly. See the UPM documentation for more details about this error."

or in atlassian-confluence.log:

2012-07-30 11:15:52,634 WARN [http-127.0.0.1-8080-3] [upm.rest.async.AsynchronousTaskManager] isBaseUrlValid 
Configured application base URL (<url>) does not match base URL from request (<url>)

This error does not have any effects on the functionality of the UPM. It just causes a misleading warning banner to appear at the top of the UPM page.

診断

Please ensure that the Server Base URL is the same with the Access URL of Confluence before proceeding with the resolution

原因

There are two different causes why this error appears:

  1. There is a known bug in UPM 2.4 which occurs when Confluence is using SSL and doesn't explicitly specify a port in the Server Base URL. Please see  UPM-2339 - Getting issue details... STATUS  for more information.
  2. If you are using SSL and Apache with mod_proxy, the URL redirection is not set in the conf/server.xml

ソリューション

For cause 1:

Upgrade to UPM 2.4.1 or later

For cause 2:

Please ensure that you have the three parameters proxyNameproxyPortscheme in the <confluence-install>/conf/server.xml file:

<Connector className="org.apache.coyote.tomcat4.CoyoteConnector" port="8080"
                   minProcessors="5" maxProcessors="75"
                   enableLookups="false" redirectPort="8443" acceptCount="10" debug="0" connectionTimeout="20000"
                   useURIValidationHack="false" URIEncoding="UTF-8" proxyName="www.example.com" proxyPort="443" scheme="https"/>

Last modified on Mar 30, 2016

この内容はお役に立ちましたか?

はい
いいえ
この記事についてのフィードバックを送信する
Powered by Confluence and Scroll Viewport.