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
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 Thursday in Jira Service Desk

How the Telegram Integration for Jira helps Sergey's team take their support efficiency to the bank

...+ reading Fantasy). The same is true for him at the bank he works for: Efficiency is key when time literally equals money. Read on to learn how Sergey makes most of the time he has by...

314 views 2 4
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