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.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.