Octopus Deploy – Nuget Feed – 401 Unauthorized Pain
Experienced an issue with Octopus Deploy this week refusing to pull down in-house Nuget packages. Connecting to the Octopus server and checking the error logs gave a 401 Unauthorized error. First thing I did was to hit the endpoint in a browser and it worked fine. Strange. Checked the Octopus deploy Nuget Feed connection ensuring user and password details were correct and same error. What???!
Some sort of Octopus caching issue clearly. Ok I’ll create a new Nuget Feed using the same details and that should shift it? Nope. Guess again!
Still convinced it’s a caching issue I decided to restart the Octopus Deploy service on the Octopus server and that shifted it.