Local directory user takes a long time to authenticate

Hello all

I've recently upgraded our instance of JIRA to 6.1.2 and have problems with a service account that is used to display issues from JIRA on Confluence pages. Whenever I run the search, it takes a long time to complete. A censored sample URL is below


Our JIRA is configured with general users authenticating against Active Directory. The service account is in the local JIRA directory. When the username and password of an Active Directory account is used in the URL above, it returns the result in under 1s. When using the local directory credentials, it returns in 7s. This is causing us issues as the external connections timeout on Confluence is set to 2s and we don't want to make this any higher in case it has an impact. Note that this was not an issue since the upgrade

As mentioned, this only happens on the local directory account. I have tried adjusting the priority of the user directories, making the JIRA local directory first, but the problem is still the same. Logging in to JIRA has the same issue - the local account takes around 6-10 seconds and the Active Directory taking under 2s

Does any one have any ideas on where this delay is being caused when using the local account?

Thanks in Advance


2 answers

Can you search the JIRA logs for that user account, maybe there are error messages that might show the problem?

I had checked the logs but there's nothing being logged against that user when it's logged in. Do you know which logging module should be increased to show this information?

0 votes

Can you turn ON profiling and see if that gives any hints on where the time is taken?

Also, are you accounting the time take to load dashboard or just the login part?

Below are the times shown for the local and Active Directory (ad) account when running a search from a URL string to return an XML document



Are you able to see why the local request is taking so much longer?

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

2,856 views 12 18
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