Currently trying to get Team City building a .net solution however I'm running into issues with NuGet package restore.
scan: Searching for nuget.config files
It finds the projects OK, and then attempts to restore the packages from nuget.org.
However after between 5 and 7 attempts (not always on the same one) it fails with a 403 error.
The solution builds fine locally through Visual Studio 2013.
Please note, I'm not using any custom NuGet repos or TFS nor any other deployment tools.
restore: Restoring NuGet packages for XXX.sln
[12:01:58][restore] Installing 'Microsoft.Owin.Host.SystemWeb 1.0.1'.
[12:01:58][restore] The remote server returned an error: (403) Forbidden.
TeamCity server version is 9.0.4 (build 32407)
nuget.exe 2.8.3
This sits behind a corporate firewall/proxy but the fact that it can restore some packages leads me to believe this may not be the route cause of the issue.