I'm working on an ASP.NET MVC 4 project in VS 2012 with the latest nuget (2.1.31002.9028).
My co-worker has this solution working fine on his computer, but on my computer when I run package restore, it hangs saying "Downloading missing packages..." and then maybe 10 minutes later it times out.
Here's the output from starting VS with: devenv.exe /log "C:\log.txt":
...
<entry>
<record>564</record>
<time>2012/10/05 19:16:27.629</time>
<type>Information</type>
<source>VisualStudio</source>
<description>End package load [Visual Studio Code Snippets Package]</description>
<guid>{0B680757-2C29-4531-80FA-535A5178AA98}</guid>
</entry>
<entry>
<record>565</record>
<time>2012/10/05 19:26:51.212</time>
<type>Error</type>
<source>NuGet Package Manager</source>
<description>The operation has timed out. at System.Net.ConnectStream.Read(Byte[] buffer, Int32 offset, Int32 size)
 at NuGet.HttpClient.DownloadData()
 at NuGet.PackageDownloader.DownloadPackage(IHttpClient downloadClient, IPackageMetadata package)
 at NuGet.PackageDownloader.DownloadPackage(Uri uri, IPackageMetadata package)
 at NuGet.DataServicePackage.EnsurePackage(IPackageRepository cacheRepository)
 at NuGet.DataServicePackage.get_FrameworkAssemblies()
 at NuGet.PackageExtensions.HasProjectContent(IPackage package)
 at NuGet.PackageWalker.GetPackageTarget(IPackage package)
 at NuGet.PackageWalker.GetPackageInfo(IPackage package)
 at NuGet.PackageWalker.ProcessPackageTarget(IPackage package)
 at NuGet.PackageWalker.Walk(IPackage package)
 at NuGet.InstallWalker.ResolveOperations(IPackage package)
 at NuGet.PackageManager.Execute(IPackage package, IPackageOperationResolver resolver)
 at NuGet.PackageManager.InstallPackage(IPackage package, FrameworkName targetFramework, Boolean ignoreDependencies, Boolean allowPrereleaseVersions)
 at NuGet.PackageManager.InstallPackage(IPackage package, Boolean ignoreDependencies, Boolean allowPrereleaseVersions)
 at NuGet.PackageManager.InstallPackage(String packageId, SemanticVersion version, Boolean ignoreDependencies, Boolean allowPrereleaseVersions)
 at NuGet.VisualStudio.PackageRestoreManager.<RestoreMissingPackages>b__2()
 at System.Threading.Tasks.Task.InnerInvoke()
 at System.Threading.Tasks.Task.Execute()</description>
</entry>
My co-worker is on the same network as I am, and my internet connection is fine.
Any ideas how I can further troubleshoot this? It's preventing me from being able to use NuGet at all, which means I can't build solutions that use package restore.
Thanks,
Kevin Berridge
Comments: What happens when you go here in your browser: https://nuget.org/api/v2/package/EntityFramework/5.0.0
My co-worker has this solution working fine on his computer, but on my computer when I run package restore, it hangs saying "Downloading missing packages..." and then maybe 10 minutes later it times out.
Here's the output from starting VS with: devenv.exe /log "C:\log.txt":
...
<entry>
<record>564</record>
<time>2012/10/05 19:16:27.629</time>
<type>Information</type>
<source>VisualStudio</source>
<description>End package load [Visual Studio Code Snippets Package]</description>
<guid>{0B680757-2C29-4531-80FA-535A5178AA98}</guid>
</entry>
<entry>
<record>565</record>
<time>2012/10/05 19:26:51.212</time>
<type>Error</type>
<source>NuGet Package Manager</source>
<description>The operation has timed out. at System.Net.ConnectStream.Read(Byte[] buffer, Int32 offset, Int32 size)
 at NuGet.HttpClient.DownloadData()
 at NuGet.PackageDownloader.DownloadPackage(IHttpClient downloadClient, IPackageMetadata package)
 at NuGet.PackageDownloader.DownloadPackage(Uri uri, IPackageMetadata package)
 at NuGet.DataServicePackage.EnsurePackage(IPackageRepository cacheRepository)
 at NuGet.DataServicePackage.get_FrameworkAssemblies()
 at NuGet.PackageExtensions.HasProjectContent(IPackage package)
 at NuGet.PackageWalker.GetPackageTarget(IPackage package)
 at NuGet.PackageWalker.GetPackageInfo(IPackage package)
 at NuGet.PackageWalker.ProcessPackageTarget(IPackage package)
 at NuGet.PackageWalker.Walk(IPackage package)
 at NuGet.InstallWalker.ResolveOperations(IPackage package)
 at NuGet.PackageManager.Execute(IPackage package, IPackageOperationResolver resolver)
 at NuGet.PackageManager.InstallPackage(IPackage package, FrameworkName targetFramework, Boolean ignoreDependencies, Boolean allowPrereleaseVersions)
 at NuGet.PackageManager.InstallPackage(IPackage package, Boolean ignoreDependencies, Boolean allowPrereleaseVersions)
 at NuGet.PackageManager.InstallPackage(String packageId, SemanticVersion version, Boolean ignoreDependencies, Boolean allowPrereleaseVersions)
 at NuGet.VisualStudio.PackageRestoreManager.<RestoreMissingPackages>b__2()
 at System.Threading.Tasks.Task.InnerInvoke()
 at System.Threading.Tasks.Task.Execute()</description>
</entry>
My co-worker is on the same network as I am, and my internet connection is fine.
Any ideas how I can further troubleshoot this? It's preventing me from being able to use NuGet at all, which means I can't build solutions that use package restore.
Thanks,
Kevin Berridge
Comments: What happens when you go here in your browser: https://nuget.org/api/v2/package/EntityFramework/5.0.0