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

Nuget virtual repository self-redirects the "next" href

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Done
    • Resolution: Done
    • Affects Version/s: 4.6.0
    • Fix Version/s: 4.7.0
    • Component/s: NuGet
    • Labels:
      None

      Description

      When setting up a virtual nuget repository with Visual Studio (tested with 2015, though this is probably apparent on other versions as well) the returned response is causing the same response to be returned in a "loop".

      Steps to reproduce:
      1. Set up nuget remote repository for nuget-gallery (default setting up setting up a remote repository)
      2. Aggregate the remote repo in a virtual repo
      3. Define the 'Package Source' to point at your virtual nuget repository and.
      4. You will have to open a new project in order to access the 'Manage Nuget Packages for Solution' from the 'Tools' menu - then search for a package and try to install it.
      5. At this point, Visual Studio stalls and you should see in your request.log multiple entries such as these:

      20160314202635|713|REQUEST|10.1.4.48|anonymous|GET|/api/nuget/nuget/FindPackagesById()|HTTP/1.1|200|0
      20160314202635|919|REQUEST|10.1.4.48|anonymous|GET|/api/nuget/nuget/FindPackagesById()|HTTP/1.1|200|0
      20160314202635|932|REQUEST|10.1.4.48|anonymous|GET|/api/nuget/nuget/FindPackagesById()|HTTP/1.1|200|0
      20160314202636|896|REQUEST|10.1.4.48|anonymous|GET|/api/nuget/nuget/FindPackagesById()|HTTP/1.1|200|0
      20160314202637|906|REQUEST|10.1.4.48|anonymous|GET|/api/nuget/nuget/FindPackagesById()|HTTP/1.1|200|0
      20160314202638|3038|REQUEST|10.1.4.48|anonymous|GET|/api/nuget/nuget/FindPackagesById()|HTTP/1.1|200|0
      20160314202638|5683|REQUEST|10.1.4.48|anonymous|GET|/api/nuget/nuget/FindPackagesById()|HTTP/1.1|200|0
      20160314202638|3366|REQUEST|10.1.4.48|anonymous|GET|/api/nuget/nuget/FindPackagesById()|HTTP/1.1|200|0
      20160314203339|5965|REQUEST|10.1.4.48|anonymous|GET|/api/nuget/nuget/FindPackagesById|HTTP/1.1|200|0

      And if running a debugging proxy (taken from Fiddler), you will see these reuqests (notice the $skiptoken):

      38 200 HTTP 10.1.16.92:8081 /artifactory/api/nuget/nuget 324 application/xml;charset=utf-8 devenv:7732
      39 200 HTTP 10.1.16.92:8081 /artifactory/api/nuget/nuget/$metadata 3,852 application/xml;charset=utf-8 devenv:7732
      209 200 HTTP 10.1.16.92:8081 /artifactory/api/nuget/nuget/Download/NServiceBus.PowerShell/4.3.0 7,747,592 application/x-nupkg devenv:7732
      564 200 HTTP 10.1.16.92:8081 /artifactory/api/nuget/nuget/FindPackagesById 538 application/atom+xml;charset=utf-8 chrome:8272
      48 200 HTTP 10.1.16.92:8081 /artifactory/api/nuget/nuget/FindPackagesById()?$skiptoken='NServiceBus','4.0.0-unstable2459'&id='NServiceBus' 65,757 application/atom+xml;charset=utf-8 devenv:7732
      49 200 HTTP 10.1.16.92:8081 /artifactory/api/nuget/nuget/FindPackagesById()?$skiptoken='NServiceBus','4.0.0-unstable2484'&id='NServiceBus' 3,798 application/atom+xml;charset=utf-8 devenv:7732
      50 200 HTTP 10.1.16.92:8081 /artifactory/api/nuget/nuget/FindPackagesById()?$skiptoken='NServiceBus','4.0.0-unstable2484'&id='NServiceBus' 3,798 application/atom+xml;charset=utf-8 devenv:7732
      54 200 HTTP 10.1.16.92:8081 /artifactory/api/nuget/nuget/FindPackagesById()?$skiptoken='NServiceBus','4.0.0-unstable2484'&id='NServiceBus' 3,798 application/atom+xml;charset=utf-8 devenv:7732
      58 200 HTTP 10.1.16.92:8081 /artifactory/api/nuget/nuget/FindPackagesById()?$skiptoken='NServiceBus','4.0.0-unstable2484'&id='NServiceBus' 3,798 application/atom+xml;charset=utf-8 devenv:7732

      Workaround: Point your Nuget Package manager to a regular remote repository.

        Attachments

          Activity

              People

              Assignee:
              shayy Shay Yaakov (Inactive)
              Reporter:
              andreik Andrei Komarov [X] (Inactive)
              Votes:
              2 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: