No log in possible due to session timeout?

We have Jira and Confluence installed on our server (Ubuntu 11.10). Programs are behind the Apache proxy in separate paths (/confluence and /jira) and configured to use HTTPS. Jira and Confluence are linked together and Confluence uses Jira's user directory. Everything works well apart the problem, that sometimes blocks the user from logging in to Jira on Confluence entirely. Instead of the login screen, user gets Unauthorized (401) error from the Jira and in Confluence HTTP Status 401 - Basic Authentication Failure - Reason: AUTHENTICATED_FAILED error from Tomcat.

We suspect that the reason for the problem is died session, that causes error instead of the login screen. Sometimes deleting cookies from the browser helps, but particularly not with Confluence.

2 answers

1 accepted

This widget could not be displayed.

Proxy configuration that we use is not supported by Atlassian, so the troubleshooting was quite hard. We ended up setting session timeout in conf/web.xml to -1 (no timeout). Hope, it doesn't raise new issues :) I also considered persistent sessions, but wasn't sure if it's possible with Jira & Confluence.

This widget could not be displayed.
Pedro Cora Atlassian Team Jan 08, 2013

Hi Jouni,

Check this knowledge base article https://confluence.atlassian.com/display/JIRAKB/User+is+Logged+Out+of+JIRA+after+Confluence+Login

It may help you.

Cheers,

Hi, thanks for the suggestion. It seems that problem is not the overwritten session cookie, because both applications session cookies seems to be happily path specific (/jira and /confluence). Problem occurs when user has open browser windows with died sessions because of the session timeout (5h).

We solved the problem by setting session timeout in conf/web.xml to -1 (no timeout). Hope, it doesn't raise new issues :) I also considered persistent sessions, but wasn't sure if it's possible with the apps.

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 Wednesday 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...

111 views 2 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