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

XMLWordPrintable

    • 8
    • 2
    • Severity 3 - Minor
    • 1
    • Hide
      Atlassian Update – 15 April 2025

      Dear Customers,

      We're happy to announce that this issue will be fixed in the upcoming 10.6.0 release. Learn more about the releases

      The development team resolved the issue by adding a retry mechanism to the directory configuration.

      Best regards

      Dino Costantini
      Principal Software Engineer

      Show
      Atlassian Update – 15 April 2025 Dear Customers, We're happy to announce that this issue will be fixed in the upcoming 10.6.0 release. Learn more about the releases The development team resolved the issue by adding a retry mechanism to the directory configuration. Best regards Dino Costantini Principal Software Engineer

      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

            Assignee:
            Dino Costantini (Inactive)
            Reporter:
            Rodrigo Martinez
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: