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

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.

1 vote
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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published yesterday in Jira Service Desk

Wy are we still using email for Service Desk workflows?

...attest to the experience of an urgent approval that gets lost in the boss’s inbox and requires that special “Please Approve” email or text message. In an age where we have distributed teams...

86 views 0 2
Read article

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