NuGet credentials not working

I can log into my nuget server just fine using octopack or any browser, but octopus is telling me it is getting a 401 when trying to search. Is there a log that I can look at to see how it is trying to use the credentials?

System.Exception: Failed to query the NuGet feed; the request failed with: The remote server returned an error: (401) Unauthorized. —> System.Net.WebException: The remote server returned an error: (401) Unauthorized.

Hi Ryan,

Which NuGet server/version are you using? There’s a very similar issue mentioned with respect to upgrading to the latest NuGet.Lucene at the end of this issue thread: https://github.com/OctopusDeploy/Issues/issues/189

Regards,
Nick