Uploaded image for project: 'Jira Data Center'
  1. Jira Data Center
  2. JRASERVER-77629

Jira doesn't retry authentication if the LDAP directory is temporarily not functional during authentication

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Low
    • None
    • 8.0.0, 8.5.0, 8.13.0, 8.20.0, 9.4.0, 9.12.0
    • None

    Description

      Issue Summary

      This is reproducible on Data Center: yes

      Steps to Reproduce

      1. Configure Jira to connect to Crowd DC and Crowd DC to an AD
      2. Set directory sync intervals to a very short period like 10 minutes
      3. Keep making basic auth REST API requests to Jira

      Expected Results

      If the LDAP is "not functional during authentication", Jira should retry the request for a configurable amount of attempts.

      Actual Results

      Jira fails to authenticate the user and fails with:

      [c.a.c.manager.application.ApplicationServiceGeneric] Directory '*****' is not functional during authentication of '*****'. Skipped. 

      Workaround

      • Check if there are no Proxy rules closing the connection between Jira and Crowd (connection reset)
      • Implement retry mechanisms on the client app connecting to Jira
      • Increase the directory sync interval to mitigate this occurrence

      Attachments

        Activity

          People

            Unassigned Unassigned
            rmartinez3@atlassian.com Rodrigo Martinez
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: