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 Sign up to answer
Community showcase
Published Nov 27, 2018 in Portfolio for Jira

Introducing a new planning experience in Portfolio for Jira (Server/DC)

In the past, Portfolio for Jira required a high degree of detail–foresight that was unrealistic for many businesses to   have–in   order to produce a reliable long-term roadmap. We're tur...

2,752 views 18 21
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