External feeds - Artifactory credentials don't take effect until service restart

I’ve hit a strange issue where saving and testing Artifactory credentials for an external feed produces 401 unauthorized

Without making any other changes and simply restarting the Windows Service Octopus is running under, testing the external feed to Artifactory using the credentials shows the desired packages

This is a work-around which I have documented to help our users, but not desirable

Any help appreciated

Hi Steven,

Thanks for getting in touch.

I understand how frustrating it is having to restart your Octopus Server when you change credentials. There was an issue with NuGet caching the credentials that we fixed in 3.8.5: https://github.com/OctopusDeploy/Issues/issues/2959

If you update to 3.8.5 it should resolve the issue, if you are already on a later version could you let me know what version you are on and I will investigate further.