False Warning About Server Base URL Mismatches on UPM

Still need help?

The Atlassian Community is here for you.

Ask the community

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:

  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  Unable to locate Jira server for this macro. It may be due to Application Link configuration.  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

Resolution

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

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.