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

Access api/v1/users/ might be incorrectly called with a Docker token

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Done
    • Priority: 4 - Normal
    • Resolution: Cannot Reproduce
    • Affects Version/s: 6.6.5
    • Fix Version/s: None
    • Component/s: Access Client
    • Labels:
    • Severity:
      Medium

      Description

      Summary:

      Disabling and enabling Anonymous mode on Artifactory, seems to produce the erroneous (404) call to a non-existent "user" endpoint.

      Unknown effects for users currently.

      07T04:03:13.135+0000|127.0.0.1|jfrt@01c0h45fq53nzb0t5cfgcp0h2y|GET|http://localhost:8040/access/api/v1/groups/group|200|0|2|JFrog Access Java Client/4.1.32
      2019-01-07T04:03:13.138+0000|127.0.0.1|jfrt@01c0h45fq53nzb0t5cfgcp0h2y|GET|http://localhost:8040/access/api/v1/users/tester|200|0|3|JFrog Access Java Client/4.1.32
      2019-01-07T04:03:13.333+0000|127.0.0.1|jfrt@01c0h45fq53nzb0t5cfgcp0h2y|PATCH|http://localhost:8040/access/api/v1/users/tester|200|215|543|JFrog Access Java Client/4.1.32
      2019-01-07T04:03:13.343+0000|127.0.0.1|jfrt@01c0h45fq53nzb0t5cfgcp0h2y|PATCH|http://localhost:8040/access/api/v1/users/tester|500|215|205|JFrog Access Java Client/4.1.32
      2019-01-07T04:03:13.347+0000|127.0.0.1|jfrt@01c0h45fq53nzb0t5cfgcp0h2y|GET|http://localhost:8040/access/api/v1/users/AKCp5btVicj4975GLELesCXfZZrUVQu3g1tE5Sa3NHbum3smZ5grZmCuaLmFBoVxV2835dxYy|404|0|2|JFrog Access Java Client/4.1.32
      2019-01-07T04:03:13.348+0000|127.0.0.1|jfrt@01c0h45fq53nzb0t5cfgcp0h2y|GET|http://localhost:8040/access/api/v1/users/AKCp5btVicj4975GLELesCXfZZrUVQu3g1tE5Sa3NHbum3smZ5grZmCuaLmFBoVxV2835dxYy|404|0|1|JFrog Access Java Client/4.1.32

      Steps to reproduce:

      1. Setup Artifactory (reproduces on latest - 6.6.5) and enable Repository Path for a fast docker setup
      2. Disable global anonymous. Then do several Docker pulls. Then re-enable anonymous.
      3. Ensure it's working, then do several Docker pull, cancelling them and retrying again - you should see this endpoint address in the Access request.log

        Attachments

          Activity

            People

            Assignee:
            andreik Andrei Komarov
            Reporter:
            andreik Andrei Komarov
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Sync Status

                Connection: RTFACT Sync
                RTMID-18370 -
                SYNCHRONIZED
                • Last Sync Date: