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

Hi,
please refer to this documentation :

https://confluence.atlassian.com/enterprise/jira-data-center-load-balancer-examples-781200827.html

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

Greetings,
Oliver 

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.

-Dorg.apache.tomcat.util.http.ServerCookie.ALLOW_HTTP_SEPARATORS_IN_V0=true

 

Thanks

Ameya

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,314 views 14 20
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