Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

jira Dashboard not working behind mod_proxy with ssl

Adrian Lapierre-Mróz November 25, 2018

Jira version: 7.4.0

After I put jira behind apache mod_proxy with ssl I can't access dashboard - I got completly blank page, with no JavaScripts or other erros in browser console. Any other part of Jira works fine if by url eg to: https://....../issues/?filter=-1 I will see menu and can work normally.

But I get access to administrative functions and back to dashboard - evrything dashboard works fine.

It is clean installation with no extra gadgets on dashboard. 

Apache config (jira.host.name = FQDN of my proxy server):

<VirtualHost *:80>
ServerName jira.host.name
Redirect / https://jira.host.name
</VirtualHost>

<VirtualHost *:443>
SSLEngine on
SSLProtocol all -SSLv2 -SSLv3
SSLCertificateFile /etc/letsencrypt/live/...../cert.pem
SSLCertificateKeyFile /etc/letsencrypt/live/..../privkey.pem
SSLCertificateChainFile /etc/letsencrypt/live/.../chain.pem
ServerName jira.host.name

CustomLog ${APACHE_LOG_DIR}/jira.log combined
ErrorLog ${APACHE_LOG_DIR}/jira-error.log

ProxyPass / http://jira:8080/
ProxyPassReverse / http://jira:8080/
ProxyRequests Off
ProxyVia Off
ProxyPreserveHost On

</VirtualHost>

 

Jira server.xml

<Service
name="Catalina">

<Connector
port="8080"
maxThreads="150"
minSpareThreads="25"
connectionTimeout="20000"
enableLookups="false"
maxHttpHeaderSize="8192"
protocol="HTTP/1.1"
useBodyEncodingForURI="true"
redirectPort="8443"
acceptCount="100"
disableUploadTimeout="true"
bindOnInit="false"
proxyName="jira.host.name"
proxyPort="443"
scheme="https"
/>

 

 

 

 

1 answer

0 votes
Mathy Vanvoorden November 26, 2018

Did you update the baseurl in General configuration?

Is there anything in the logfiles?

Can you use the network monitor of your browser to see which requests are failing and where they are pointing to?

Adrian Lapierre-Mróz November 26, 2018

yes I did. 

In log files - nothing bad, no Exceptions.

yes, all request are pointing right, eg: 

https://jira.cubecloud.pl/rest/api/1.0/shortcuts/74002/995cd2eaa79e6543b58f399fb66e5383/shortcuts.js

 

After login (but browser is still waiting):

 

image.png

 

other than dashboard url: 

image.png

I can provide login and password (with same safe way) to my Jira - this is fresh installation with nothing inside. 

Mathy Vanvoorden December 5, 2018

So the browser is actually still waiting for something when you get the blank page? Have you tried waiting until it times out? Does that give a line with an error code in the network monitor?

Have you tried another browser / completely clearing the cache for the domain?

I see that you are using Jira 7.4.0, any specific reason for the old version and not the latest?

Adrian Lapierre-Mróz December 6, 2018

after some time browser stop loading and I got net::ERR_INCOMPLETE_CHUNKED_ENCODING::Zrzut ekranu z 2018-12-06 12-32-57.png

I try'ed from other browser on different computer - the same. 

 

There is no reason to use  7.4.0 - i can upgrade it to latest if it can help. 

Mathy Vanvoorden December 18, 2018

Do you have gzip compression enabled?

Suggest an answer

Log in or Sign up to answer