Confluence Base URL Should Match But Does Not

Chris Wood January 26, 2014

Hi,

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 https://domain.com/intranet- 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.

Chris

2 answers

1 accepted

1 vote
Answer accepted
Deleted user January 28, 2014

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 https://confluence.atlassian.com/display/DOC/Using+Apache+with+mod_proxyfor more details.

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

e.g.

<Connector
...
proxyName="domain.com" proxyPort="443" scheme="https"
...
/>

Chris Wood February 19, 2014

Thanks so much Ian!

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

proxyName="www.domain.com" proxyPort="443" scheme="https" secure="true"

0 votes
Deividi Luvison
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
January 27, 2014

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

Chris Wood January 27, 2014

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.

Thanks,

Chris

Deividi Luvison
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
January 28, 2014

Can you send a screenshot of tha error?

Chris Wood January 29, 2014

Attached below.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events