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 Sign up to answer
Community showcase
Posted Oct 16, 2018 in Jira

Looking for anyone who made the switch to Data Center

The Jira Marketing team is putting together an ebook on migrating to Data Center. We're looking for pro tips on how you staffed your project team and organized your Proof of Concept. Share yo...

1,243 views 17 10
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