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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,553,438
Community Members
 
Community Events
184
Community Groups

Session expires too often

Edited

We're using two Jira nodes in cluster behind ALB. But our users experience error, that says that their session has expired. Error occurs when they're editing something. And it can be like 1 minute after they log in. Also we're using Kantega SSO for authentication. How can we fix error with session expiration?

1 answer

0 votes
Radek Dostál
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
Apr 13, 2023

This might be worthwhile to check: https://confluence.atlassian.com/jirakb/change-the-default-session-timeout-to-avoid-user-logout-in-jira-server-604209887.html

 

Specifically the session timeout in '<jira-install>/atlassian-jira/WEB-INF/web.xml' and '<jira-install>/conf/web.xml'

 

Overall a lot of good reads there but just hypothetically speaking, if you authenticate to Jira once, then it's all up to Jira to invalidate the session, so I wouldn't say SSO has anything to do with it in theory.. but not willing to bet on that, just a gut feeling.

Craig Castle-Mead
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
Apr 13, 2023

Hi @Maxim Kashaev 

id also recommend confirming that your load balancer is using sticky sessions so a users traffic will always be served by the same node. While this means you can have unbalanced load on your two nodes, some of the session info is stored on the app server itself, so if the request to open a create issue dialog goes to node1 and then the submit goes to node2, node2 doesn’t know you’re authenticated - it might then just authenticate you via SAML, but your POST form data won’t be available after that process. 

CCM

@Craig Castle-Mead @Radek Dostál first of all, thanks for quick response. 

I've checked session timeout and it has default values. 
And for testing I've remove 2nd node, still same problem. 
Maybe there's something else I can try to resolve issue?

Craig Castle-Mead
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
Apr 14, 2023

If you’re having these types of issues even on a single node, I’d be thinking that one of the default settings has been changed, or it’s something with the Kantega config (either kantega itself, or a setting in Jira that should be changed as part of your Kantega setup and might not have been. Id head to Kantega support next if I was in your shoes.

 

CCM

Suggest an answer

Log in or Sign up to answer