jira data center loading balancing with haproxy

Hi I am trying to setup a JIRA cluster, I've gotten two nodes setup and they are behind an haproxy load balancer. When I try to login individually on each instance I can login using my admin credentials.

When I have added only one node to my haproxy config and I go to the load balancer url, I am able to login. However when I add both the nodes to the hapoxy config, I am not able to login using the balancer url. When I click submit on the login page after typing in my credentials, it doesn't show an error but just reloads the login page.

When I have both nodes in my haproxy config I can still login to each individual instance. Also the when i login to a specific instance and create a task/project etc.. it shows up in the other node. Where does the problem lie? I am thinking it has something to do with my haproxy configs but I am not sure.

2 answers

please refer to this documentation :


I had the same problem on a testing environment. (I forgot to configure the session stickyness)


Hi Oliver,

Yeah I ran across that as well, and it helped me get the cookies stuff working, but the problem was still there until I added this to the java startup variables on my JIRA nodes.





Suggest an answer

Log in or Sign up to answer
Community showcase
Published Jan 08, 2019 in Jira

How to Jira for designers

I’m a designer on the Jira team. For a long time, I’ve fielded questions from other designers about how they should be using Jira Software with their design team. I’ve also heard feedback from other ...

1,152 views 5 10
Read article

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