Confluence Base URL Should Match But Does Not


On the manage add-ons page I receive the following message:

The base URL configuration of your instance does not match the URL in your browser

On the application links page I see the following error in the console:

'http://localhost:8096/intranet/plugins/servlet/applinks/auth/conf/trusted/inbound-ual/c47481a7-bb4a-3840-9813-57174fa7aabf': this content should also be loaded over HTTPS.

The base URL is set properly in the confluence admin under general configuration to confluence works fine everywhere else but I am trying to setup an application link to JIRA and going into the configure link it seems to pulling the original base URL when I did the initial confluence install. As such certain pop-up windows do not dispaly in the application link.

Is there another spot I need to change update the base URL?

Thank you.


2 answers

1 accepted

1 vote
Answer accepted

Hi Chris

If you're running Confluence behind Apache, then you may need to set the URL for redirection in the {install}\conf\server.xml file.

See more details.

Look at the section which describes setting the proxyName, proxyPort and scheme attributes to the connector tag


proxyName="" proxyPort="443" scheme="https"

Thanks so much Ian!

The line to append to the connector which resolved the issue was:

proxyName="" proxyPort="443" scheme="https" secure="true"

Hi Chris,

Let's first divide to conquer, because you have two behaviours in here, first is the base URL and the second one is the application link setup.

Regarding the base URL I can see you are running Confluence over HTTPS, could you confirm me if you followed this KB to configure the HTTPS?

For the application link you need to make sure that you are able to reach Confluence from JIRA application server and vice and versa. In your errorin the application links page is complaining about the address http://localhost:8096, so if your applications are in diferent servers that will not work.

So try to reach each application from its application server using the base URL.

Besides confirming the above also let me know if that localhost:8096 belong to Confluence or JIRA, so we might have a clue of your scenario.

Thanks and Regards,
David|Atlassian Support

Hi Deividi,

Thanks for looking into this. The setup is as follows:

Confluence -> 5.2.3 -> localhost:8096

JIRA -> 6.1.5 -> localhost:8082

Both are connected to crowd to sync users to an AD server.

We run apache infront of both products as the root website already hosted for the domain, so both JIRA and Confluence have had their context path updates to /jira and /intranet and reverse proxies vhosts entries created.

ProxyPass /jira ajp://localhost:8082/jira

ProxyPassReverse /jira ajp://localhost:8082/jira

ProxyPass /intranet http://localhost:8096/intranet

ProxyPassReverse /intranet http://localhost:8096/intranet

The SSL certificate is configured in Apache, not sure what part of the KB article applies to us.

The manage add-ons is the only part of the site which displays an error about the base URL. All of the links in confluence are OK and uploading add-ons seems to be OK.

This morning I went to setup an application link between JIRA and Confluence which appeared to have been created correctly but when I was logged into Confluence and went to JIRA it asked me to login again, which I thought was strange. So I went into the CYBF JIRA application link created in the confluence back-end and it started giving warnings, which appeared to be related to the base URL.

Please let me know if there is any other information I can provide.



Can you send a screenshot of tha error?

Attached below.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Mar 12, 2019 in Confluence

Confluence Admin Certification now $150 for Community Members

More and more people are building their careers with Atlassian, and we want you to be at the front of this wave! Important Dates Start the Certification Prep Course by 2 April 2019 Take your e...

1,043 views 2 13
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you