Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal


  • Give kudos
  • Received
  • Given


  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Getting 503 Errors when using Apache2 as load balancer in front of jira datacenter cluster

Hi everyone,

Me and a colleague are currently installing a JIRA datacenter cluster for educational purposes. The system consists of:

  • 1 Data-Server which hosts a postgresql db and an NFS-Server with a share for the shared home folder
  • 3 Servers with JIRA datacenter as nodes
  • 1 Server with an Apache2 webserver as a loadbalancer

We are roughly following those two guides

But now the issue: We can reach all of the three JIRA nodes via the Apache2 and we get the Cookie for the Session. However, we get a lot of 503 Errors when accesing each of the JIRA dashboards or the setup wizard.


However, when I access the JIRA node directly via the Tomcat we get a perfectly fine webpage


The same happens when I remove the balancer part of my vhost apache2 config and replace it with a direct path to only one of the JIRA nodes. Therefore we believe the apache2 and especially the balancer configuration shredds the site.

Here is the vhost config:

<VirtualHost *:80>

ServerName jira-cluster.foobar.local

ProxyRequests Off
ProxyPreserveHost On
ProxyVia Off

<Proxy balancer://jira-http>
BalancerMember route=synnode1
BalancerMember route=synnode2
BalancerMember route=synnode3
ProxySet stickysession=ROUTEID
Require all granted

# ProxyPass /jira
ProxyPass /jira balancer://jira-http/

# ProxyPassReverse /jira
ProxyPassReverse /jira balancer://jira-http/

<Location /jira >
Require all granted

RewriteEngine on


And here is the connector from the tomcats server.xml

<Connector port="8080" relaxedPathChars="[]|" relaxedQueryChars="[]|{}^\`&quot;&lt;&gt;"
maxThreads="150" minSpareThreads="25" connectionTimeout="20000" enableLookups="false"
maxHttpHeaderSize="8192" protocol="org.apache.coyote.http11.Http11NioProtocol" useBodyEncodingForURI="true"
redirectPort="80" acceptCount="100" disableUploadTimeout="true" bindOnInit="false" proxyName="jira-cluster.foobar.local" scheme="http"/>

Any solutions or ideas are appreciated and if this is the wrong place for such a question, please point me to where else I can ask :)

2 answers

1 accepted

0 votes
Answer accepted

To finish this up. Looks like the missing ProxyPort was the Issue. It was creating "Cross Site Request Forgery" Errors in the logs and after I added it, the website was shown as expected.

@Niklas Klein 

Hi Niklas


welcome to the Atlassian community.

Can you check if moving the stickysession attribute to the proxypass directive as described in

The context path is set to /jira in your server.xml - right?




Hey Kurt,

thanks for your answer. Context path was set correct and moving the stickysession attribute did not help.

What did help though was fixing the connector attributes in the server.xml as in Especially adding the proxyPort. I also changed all permissions in the JIRA home directory to 755 (was 750 before) so that could have also played a role in my solution but I will verify when I spin up the environment again (working with vagrant VMs).



@Niklas Klein 


Great catch did also not realize that the proxyport was missing.

Keep me posted on your test


All the best



Suggest an answer

Log in or Sign up to answer

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you