Can't check base URL warning in Confluence 6.1 or later

Still need help?

The Atlassian Community is here for you.

Ask the community

This Knowledge Base article was written specifically for the Atlassian Server platform. Due to the Restricted functions in Atlassian Cloud apps, the contents of this article cannot be applied to Atlassian Cloud applications.

(info) This article applies to Confluence 6.1 to 6.5. 

Problem

Confluence 6.1 to 6.5 displays the following message to administrators:

 

Can't check your base URL

There may be a problem with your proxy configuration.

Cause

This message appears when Confluence attempts to check that the URL you are using to access Confluence is the same as Confluence's base URL, but cannot complete the check because of a problem with your proxy configuration. This is usually because:

  • a proxyName and proxyPort are present in your <install-directory>/conf/server.xml file but you are not using a reverse proxy.
  • you are using a reverse proxy, but the values for proxyName and proxyPort  are incorrect in your <install-directory>/conf/server.xml file. 

Solution

If you are not using a reverse proxy, make sure the proxyName and proxyPort attributes are not included.  Your connector should look similar to the example below if you are not using a reverse proxy:

<Connector port="8090" connectionTimeout="20000" redirectPort="8443"
     maxThreads="48" minSpareThreads="10"
     enableLookups="false" acceptCount="10" debug="0" URIEncoding="UTF-8"
     protocol="org.apache.coyote.http11.Http11NioProtocol" />

If you are using a reverse proxy, make sure the the proxyName and proxyPort attributes have correct values for your reverse proxy.  Your connector should look similar to the example below:

<Connector port="8090" connectionTimeout="20000" redirectPort="8443"
     maxThreads="48" minSpareThreads="10"
     enableLookups="false" acceptCount="10" debug="0" URIEncoding="UTF-8"
     protocol="org.apache.coyote.http11.Http11NioProtocol" 
     proxyName="www.example.com" proxyPort="80" scheme="http"/>

If you still see this error after checking your server.xml, check your proxy configuration is also correct. The following pages provide example configurations.

Workaround

If the Base URL check continues to detect a problem, you can disable the check in your site:

  1. Go to  > Add-ons > System
  2. Disable the Confluence Base URL plugin system add-on. 

The base URL warning should no longer appear. 

Last modified on Nov 8, 2017

Was this helpful?

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