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

This widget could not be displayed.

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!

This widget could not be displayed.

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?

This widget could not be displayed.

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

63 views 1 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