login error "Sorry, an error occurred trying to log you in - please try again."

We've been having intermittent login issues in production and non-production.  Our technical people have not been able to find the cause of the problem.  It's not a network issue as far as we can tell.  Our log shows error occurred while trying to authenticate user and the connection times out.   Usually, we wait about 5 minutes and then we're able to log in.  It seems to only happen with JIRA.  Does anyone have any ideas what could be causing this problem? 

3 answers

Hey Vicki!

Do you happen to know what you're using for user authentication?  Local, AD, LDAP, Crowd, etc.?  That's the first place to start to try and narrow down what's going on.

Thanks!

We are using LDAP.  Your answer on OU is not an option for us due to the way active directory is built.  We have 2 different OU structures that our JIRA users are under.  Any other suggestions?

Here are two other suggestions that you may want to try:

  1. Go to Administration > Users > User Directories
  2. Edit the LDAP directory
  3. Increase the value of Read Timeout

or

  1. Go to Administration > Users > User Directories
  2. Edit the LDAP directory
  3. Disable the Follow Referral option

Two things to keep in mind if you disable the 'Follow Referral' option:  One, if that works, (with no errors in the logs), then it's likely a DNS configuration issue on the AD server.  And two, if you're in a single domain you should see any issues.  However, if you're in a forest, then cross-domain authentication may not function correctly.

 

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

3,203 views 13 19
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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot