Hi,
We are Setting a Jira Datacenter software(version - 8.8.1) in Cluster Mode. However, when we put this inside AWS Load Balancer, with servers are added in TG(instance_id or IP) it is getting redirected to the login page frequently.
Cluster.properties file:
jira.node.id = *****
jira.shared.home = ******
ehcache.listener.hostName = *****
Please help to debug the same.
Hi Virender,
this can also happen if configuration is not consistent as this article describes.
Could you please kindly make sure this is configured correctly across all of your nodes?
Regards,
Daniel
Hi @Virender Dubey ,
This behavior usually happens when the Load Balancer was not configured with Sticky sessions. JIRA application must have this enabled in order to keep the traffic with the same node.
Can you enable the Load Balancer Stickiness and see if that resolve your issue?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
In AWS LB, we have group-level stickiness with the TG, and we have enabled it and set the config as 1hour.
Group-level stickiness: 1 hour (3600 seconds)
However, still redirecting to the login page every time.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
First I would say that you should look for @Daniel Ebers comment, he mention an article that can help you.
You can see what node you are accessing in the bottom of the page, if you refresh the page your node identifier should be the same , if that changes then you should review your sticky session settings.
YOUR-NODE corresponds with the jira.node.id defined in the file
Also I've seen sometime an issue to login due a missing attributes in your connector in $JIRA_BINARY/conf/server.xml
I would recommend you to review your server.xml file, since now you are using a LB reverse proxy and you should provide the ProxyName, ProxyPort and Scheme attributes.
scheme should be '<recommended scheme>'
proxyName should be '<recommended proxyName>'
proxyPort should be '<recommended proxyPort>'
For insecure you should include these attributes in your Connector and restart JIRA
proxyName="jira.yourcompany.com" proxyPort="80" scheme="http"
For secure proxy you should include these attributes in your Connector and restart JIRA
proxyName="jira.yourcompany.com" proxyPort="443" scheme="https" secure="true"
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks @Italo Qualisoni [e-Core] and @Daniel Ebers
I was setting the sticky session config incorrectly and due to this, jira is failing to manage the session.
In AWS sticky session config is present at Target Group Level and we have to set that only. Post setting this it started working.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Great! Glad you fixed it!
Thanks for letting us know what the root cause was.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.