sometime i get AD error while login and it does not allow to login

error:

2014-07-22 09:26:28,545 http-bio-8080-exec-11 ERROR anonymous /rest/gadget/1.0/login [crowd.manager.application.ApplicationServiceGeneric] Directory 'Active Directory server' is not functional during authentication of 'abc'. Skipped.
2014-07-22 09:26:28,545 http-bio-8080-exec-11 ERROR anonymous /rest/gadget/1.0/login [jira.security.login.JiraSeraphAuthenticator] Error occurred while trying to authenticate user 'abc'

3 answers

Hi, I had this or similar error when one of AD servers was unreachable (however it was listed in DNS). One of the possible solutions is to use exact IP of AD server instead of hostname when configuring user directory in Jira.

This is what I will do. Most of the time, DNS networking cause JIRA to try to connect to other URL. Changing it to IP will exclude DNS issue as the cause. However, this issue is easy to tell as the stack trace will describe the URL that it try to connect to, and if it is different with wath you configured, it is usually the cause of your issue.

I'm using IP address.

0 votes

That's quite clear - Jira is trying to authenticate and your AD server is not letting it in.

You should probably start by looking at the AD server logs - find out why it's refusing to let Jira in.

We have one more Jira instance which uses same ldap credentials where we never faced this issue ? Is there any issue if I connect multiple Jira to same AD.

The only other thing it could be is a network issue - Jira is unable to reach the AD server (and the other one that always works has a better network setup)

Yes, you can connect as many Jiras as you need to AD.

I have to look at network setup of server machine or jira instance?

The server.

Jira simply runs on a system, and if it needs to reach out to other systems like AD, it will ask the server for network information. The failure here is that the remote server doesn't seem to always respond, so it's the networking on the local server, the network or the AD server.

You may try to connect to AD on port 3268 instead of 389, it sometimes helps.

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Sep 18, 2018 in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

26,866 views 2 7
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