Teamcity Nuget Feed

Hi,

I am getting an error, unable to access teamcity nuget feed.

/httpAuth/app/nuget/v1/FeedService.svc/Search()?$filter=IsAbsoluteLatestVersion&searchTerm=%27%27&targetFramework=%27unsupported%27&includePrerelease=true&$skip=0&$top=10%27

NuGet.Protocol.Core.Types.FatalProtocolException: The V2 feed at ‘http://IP Address/httpAuth/app/nuget/v1/FeedService.svc/Search()?$filter=IsAbsoluteLatestVersion&searchTerm=’’&targetFramework=‘unsupported’&includePrerelease=true&$skip=0&$top=10’ returned an unexpected status code ‘401 Unauthorized’.
at NuGet.Protocol.V2FeedParser.d__50.MoveNext()
— End of stack trace from previous location where exception was thrown —
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at NuGet.Protocol.V2FeedParser.d__44.MoveNext()
— End of stack trace from previous location where exception was thrown —
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at NuGet.Protocol.PackageSearchResourceV2Feed.d__4.MoveNext()

Kindly help me.

Hi,

Thanks for reaching out! are you by any chance using a V8 or lower TeamCity server and an Octopus Server v3.4+? Cause we have a known incompatibility between those 2 which se mentioned in our 3.4 release notes. Look for the string “If you are using TeamCity NuGet feeds” on this link https://octopus.com/downloads/3.4.14

Regards,
Dalmiro

Hi, I’m getting the exact same error with a brand new installation of both TeamCity (10.0.2) and Octopus (3.4.15).

If I hit the exact same url in a browser with basic http authentication it works.

// Jakob

Hi,

Must get back with this, it was a trailing slash in url that made it fail =(

// Jakob