False Warning About Server Base URL Mismatches on UPM
Platform Notice: Data Center - This article applies to Atlassian products on the Data Center platform.
Note that this knowledge base article was created for the Data Center version of the product. Data Center knowledge base articles for non-Data Center-specific features may also work for Server versions of the product, however they have not been tested. 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.
*Except Fisheye and Crucible
Symptoms
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.
Diagnosis
Please ensure that the Server Base URL is the same with the Access URL of Confluence before proceeding with the resolution
Cause
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 for more information.
- If you are using SSL and Apache with mod_proxy, the URL redirection is not set in the
conf/server.xml
Resolution
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 <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"/>