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."
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:
- 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-2339Getting issue details... STATUS for more information.
- If you are using SSL and Apache with mod_proxy, the URL redirection is not set in the
For cause 1:
Upgrade to UPM 2.4.1 or later
For cause 2:
Please ensure that you have the three parameters proxyName, proxyPort, scheme in the
<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"/>