Atlassian Jira: Dashboard Diagnostics: Mismatched URL Scheme

Problem:

We’ve detected a potential problem with JIRA’s Dashboard configuration that your administrator can correct. Click here to learn more.

When “Click here to learn more” is clicked, it shows:

jira dashboard diagnostics mismatched url scheme

Dashboard Diagnostics: Mismatched URL Scheme
JIRA is reporting that it is using the URL scheme ‘http’, which does not match the scheme used to run these diagnostics, ‘https’. This is known to cause JIRA to construct URLs using an incorrect hostname, which will result in errors in the dashboard, among other issues….

Solution:

Open /opt/atlassian/jira/conf/server.xml with an editor

Find <Connector port=”8081″…./> and add:

scheme="https"
proxyName="jira.domain.com"
proxyPort="443"

It should look similar to this:

jira connector

Restart jira:

service jira stop
service jira start

Jira should stop complaining about the URL Scheme now.

If you get an error about mismatching port scheme, you forgot to add proxyPort=”443″.

Source: https://confluence.atlassian.com/display/JIRA061/Integrating+JIRA+with+Apache+using+SSL#IntegratingJIRAwithApacheusingSSL-Step1:ConfigureTomcat

Advertisements
Atlassian Jira: Dashboard Diagnostics: Mismatched URL Scheme

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s