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

This widget could not be displayed.

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 

This widget could not be displayed.

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 Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted 16 hours ago in New to Jira

Are you planning to trial, or are currently trialling Jira Software? - We want to talk to you!

Hello! I'm Rayen, a product manager at Atlassian. My team and I are working hard to improve the trial experience for Jira Software Cloud. We are interested in   talking to 20 people planning t...

42 views 1 0
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