Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal


  • Give kudos
  • Received
  • Given


  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Setting a Jira Datacenter in Cluster Mode. Edited


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. file: = *****
jira.shared.home = ******
ehcache.listener.hostName = *****


Please help to debug the same.

2 answers

1 vote
Daniel Ebers Community Leader Dec 27, 2020

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?


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?

Hi @Italo Qualisoni _e-Core_ 

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.


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.

  1. Scroll down to the bottom of the dashboard page 
  2. Check the footer and locate the text  Atlassian JIRA Project Management Sofware (v7.X.X#XXXXX-XXXX:XXXXXXX:YOUR-NODE)
  3. Cross reference the footer with your file located in your local home
  4. YOUR-NODE  corresponds with the 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="" proxyPort="80" scheme="http"

For secure proxy you should include these attributes in your Connector and restart JIRA

proxyName="" proxyPort="443" scheme="https" secure="true"

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.

Daniel Ebers Community Leader Jan 15, 2021

Great! Glad you fixed it!
Thanks for letting us know what the root cause was.

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted in Jira Software

Presenting the "Best of 2020" Jira Software roundup!

Catch up with Atlassian Product Managers in our 2020 Demo Den round-up! From Advanced Roadmaps to Code in Jira to Next-Gen Workflows, check out the videos below to help up-level your work in the new ...

7,171 views 8 28
Join discussion

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you