尝试安装nuget包时出错

cod*_*fun 5 nuget

现在误差为两天了:

PM> install-package routedebugger

Install-Package : The underlying connection was closed: An unexpected error occurred on a send. At line:1 char:16 + install-package <<<< routedebugger + CategoryInfo : NotSpecified: (:) [Install-Package], WebException + FullyQualifiedErrorId : NuGetCmdletUnhandledException,NuGet.PowerShell.Commands.InstallPackageCommand

PM> install-package routedebugger

Install-Package : The underlying connection was closed: An unexpected error occurred on a send. At line:1 char:16 + install-package <<<< routedebugger + CategoryInfo : NotSpecified: (:) [Install-Package], WebException + FullyQualifiedErrorId : NuGetCmdletUnhandledException,NuGet.PowerShell.Commands.InstallPackageCommand

PM> install-package routedebugger

Install-Package : The underlying connection was closed: An unexpected error occurred on a send. At line:1 char:16 + install-package <<<< routedebugger + CategoryInfo : NotSpecified: (:) [Install-Package], WebException + FullyQualifiedErrorId : NuGetCmdletUnhandledException,NuGet.PowerShell.Commands.InstallPackageCommand

我在很多软件包(modernizr)上收到了这个错误,但有些软件包就像Dapper一样好.我发现这篇文章并试图改变我的nuget feed,但同样的事情仍然发生.我有nuget 1.8.30524.9000.有任何想法吗?

更新:我决定尝试在几台不同的机器上,以确保安装Visual Studio 2010时没有搞砸了什么.它们都失败了.这让我相信也许是互联网.我们最近升级了我们的网站.我给了网络管理员nuget feed urls,他说他们没有被阻止.所以我去了我自己的个人labtop,我可以通过我的Ipad系绳,一切都很完美.我试图使用fiddler来尝试监视nuget,但显然即使feed是http也不行.知道我怎么能诊断最新情况怎么样?什么是奇怪的是一些软件包安装得很好.

cod*_*fun 4

我能够使用wireshark解决这个问题。不知道为什么我无法使用 fiddler 查看流量(所有进程都设置了 https 代理),但无论如何它都试图从以下位置下载包:https: //nugetgallery.blob.core.windows.net/packages /Modernizr.2.5.3.nupkg

已被 websense 阻止。管理员打开它,现在一切正常。我假设某些包的 URL 不同(例如 dapper),但能够成功下载。