Welcome to the Inedo Forums! Check out the Forums Guide for help getting started.

If you are experiencing any issues with the forum software, please visit the Contact Form on our website and let us know!

404 Not Found from NuGet feed with AD Authentication



  • I have set up AD Authentication (New) on my ProGet instance. Authentication is working fine with npm but with NuGet the server is responding with 404. To add the source, I added a new Package Source in Visual Studio 2017 (15.6.5) and pasted the URL from the 'API Endpoint URL' field on the ProGet feed (http://🚫/nuget/feed-name/). I was expecting to be prompted for credentials when browsing the feed in VS (https://stackoverflow.com/a/20658725/504477) but instead the following error was displayed in the console:

    [PackageCache] The V2 feed at 'http://🚫/errors/user-not-found/Search()?$filter=IsLatestVersion&searchTerm=''&targetFramework='net471'&includePrerelease=false&$skip=0&$top=26&semVerLevel=2.0.0' returned an unexpected status code '404 Not Found'.
    

    Please can someone advise on what I may be doing wrong?

    Product: ProGet
    Version: 5.0.11



  • To resolve this issue, I disabled Anonymous Authentication for the ProGet website in IIS (leaving just Windows Authentication enabled) and restarted all services. I tried this previously to no avail but for some reason it is working fine now.


Log in to reply
 

Inedo Website HomeSupport HomeCode of ConductForums GuideDocumentation