Could not connect to nuget feed


We are using Team City with two build agents. We use nuspec file for dependencies. We often face error while restoring nuget dependencies. It states " Could not connect to the feed specified at '' ... ". I think it could possibly be due to feed occupied by other build agent. If that is the case, can anyone suggest workaround on that? Or what else could be possible reason?

In case of failed build, we just trigger build again and it goes through. Any suggestion to solve this issue?

Thanks in advance.


1 comment
Comment actions Permalink

Hi Anas,

Multiple agents working with the same feed should not be the reason. Please check the network connection between agent and server. See the related issue:


Please sign in to leave a comment.