why is jira dashboard showing broken images?

I moved a jira instance to a new machine.  everything looks ok except many images are broken.  looking at the browser console, I see messages like:

Mixed Content: The page at 'https://berlin.elucidbio.com/jira/secure/Dashboard.jspa' was loaded over HTTPS, but requested an insecure image 'http://localhost:8080/secure/thumbnail/10830/_thumb_10830.png'. This content should also be served over HTTPS.

I am using apache in front of tomcat.  The apache config contains the following for the proxy part:

<Proxy *>
Order deny,allow
Allow from all

ProxyRequests Off
ProxyPass /jira ajp://localhost:8009/jira
ProxyPassReverse /jira ajp://localhost:8009/jira

in tomcat, server.xml, I have:

<Connector port="8009" redirectPort="8443" enableLookups="false" protocol="AJP/1.3" URIEncoding="UTF-8"/>

<Engine name="Catalina" defaultHost="berlin.elucidbio.com">
<Host name="berlin.elucidbio.com" appBase="webapps" unpackWARs="true" autoDeploy="true">
<Context path="/jira" docBase="${catalina.home}/atlassian-jira" reloadable="false" useHttpOnly="true">

<Resource name="UserTransaction" auth="Container" type="javax.transaction.UserTransaction"
factory="org.objectweb.jotm.UserTransactionFactory" jotm.timeout="60"/>
<Manager pathname=""/>
<JarScanner scanManifest="false"/>


Base URL is set to  https://berlin.elucidbio.com/jira

Digging a bit deeper into the html. I find two image url types that do not work.


what do I need to change to fix both of the URLs?

thanks in advance!

1 answer

0 votes

When you use a proxy in front of Jira, you should also be sure to include the proxyName, proxyPort, and scheme parameters in the Tomcat server.xml connector being used here.  Without these the Jira application does not understand that it's content is being served over a proxy.  So while your current connector looks like this:

<Connector port="8009" redirectPort="8443" enableLookups="false" protocol="AJP/1.3" URIEncoding="UTF-8"/>

 I think you should update this to make it look like this:

<Connector port="8009" redirectPort="8443" enableLookups="false" protocol="AJP/1.3" URIEncoding="UTF-8" proxyName="berlin.elucidbio.com" proxyPort="443" scheme="https"/>

After you make this change, you need to save that file, and then restart Jira for these change to take effect.   These steps are also mentioned in our guide Proxying Atlassian server applications with Apache HTTP Server (mod_proxy_http).

It would also be recommended to check that your base URL within the Jira system admin menu is setup to use https://berlin.elucidbio.com/jira/

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

3,076 views 13 18
Join discussion

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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot