Uploaded image for project: 'Artifactory Binary Repository'
  1. Artifactory Binary Repository
  2. RTFACT-17777

If artifactory starts with failed crowd server connection, it won't connect to crowd later.

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Done
    • Resolution: Done
    • Affects Version/s: 6.1.0, 6.5.2
    • Fix Version/s: 6.22.0, 7.9.0
    • Component/s: None
    • Labels:
    • Severity:
      Medium

      Description

      If the configured crowd server is down or unreachable at the start of artifactory. Artifactory will not try to auth crowd user even if crowd server becomes available again. It looks like artifactory only check crowd connection during init or after configuration changed, but not before login. 

       

      Reproduce steps:

      1. Set up Artifactory, and points it to a crowd server that you are about to start but not yet exist.
      2. Start the crowd server, and try login in as crowd user.
      3. You will see 'Username or password are incorrect' in login window. In access log, you see denied login, and in crowd server, you see no request. Artifactory did not try authentication with the crowd server.
      4. Restart Artifactory server, and crowd login works smoothly.
      5. Shut down both artifactory and crowd server.
      6. Start artifactory first and then start the crowd server.
      7. Try login with crowd user, and you found the same result as step 3
      8. Restart artifactory, or start crowd server before artifactory, login works. 

       

      Workaround:

        save the crowd settings to a dummy value and save it back. No restart needed, crowd login will work.

        Attachments

          Activity

              People

              Assignee:
              aviva Aviv Anidjar
              Reporter:
              paulp Paul Pan
              Votes:
              3 Vote for this issue
              Watchers:
              5 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: