Cannot add external VSTS NuGet Feed

I’m trying to add an external NuGet feed to my VSTS source, but when I try testing the feed, I’m getting the following exception:

NuGet.Protocol.Core.Types.FatalProtocolException: Unable to load the service index for source https://********* ---> System.Net.Http.HttpRequestException: Response status code does not indicate success: 401 (Unauthorized)

When I enter the feed’s URL into the browser and enter my personal access token, it authenticates fine…

Octopus version 3.7.18

If I use a V2 url from VSTS it works OK, so seems to be a bug in octopus…


Thanks for getting in touch.

We have reproduced the error you our seeing so have created an issue to fix it:


Thanks Shane :slight_smile:

Hi Dave,

I looked into the issue Shane has raised and found that I could authenticate to the feed. The only thing I did find was that a username must be supplied (any value). Could you please try again, and if it does not work, I will investigate further.


Robert W