DNU Restore给出了许多"HTTP请求超时"消息. [英] DNU Restore gives lots of "HTTP request timed out"
本文介绍了DNU Restore给出了许多"HTTP请求超时"消息.的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在尝试从 https://github.com/aspnet/home 运行示例.
但是我在更新参考文献时遇到问题.恢复非常缓慢,并且对于某些软件包而言失败:
I'm trying to run the samples from https://github.com/aspnet/home.
But I'm having problems updating the references. The restore is very slow and fails for some packages:
GET http://www.myget.org/F/aspnetvnext/api/v2/FindPackagesById()?id='Microsoft.Framework.Configuration.EnvironmentVariables'
Warning: FindPackagesById: Microsoft.Framework.Configuration.EnvironmentVariables
HTTP request timed out. Retrying.
GET http://www.nuget.org/api/v2/FindPackagesById()?id='Microsoft.Framework.Configuration.EnvironmentVariables'
Warning: FindPackagesById: Microsoft.Framework.Configuration.Ini
HTTP request timed out. Retrying.
GET http://www.myget.org/F/aspnetvnext/api/v2/FindPackagesById()?id='Microsoft.Framework.Configuration.Ini'
Warning: FindPackagesById: Microsoft.Framework.Configuration.Ini
HTTP request timed out. Retrying.
GET http://www.nuget.org/api/v2/FindPackagesById()?id='Microsoft.Framework.Configuration.Ini'
Warning: FindPackagesById: Microsoft.Framework.Logging
HTTP request timed out. Retrying.
GET http://www.myget.org/F/aspnetvnext/api/v2/FindPackagesById()?id='Microsoft.Framework.Logging'
Warning: FindPackagesById: Microsoft.Framework.Logging
HTTP request timed out. Retrying.
GET http://www.nuget.org/api/v2/FindPackagesById()?id='Microsoft.Framework.Logging'
Warning: FindPackagesById: Newtonsoft.Json
HTTP request timed out. Retrying.
GET http://www.myget.org/F/aspnetvnext/api/v2/FindPackagesById()?id='Newtonsoft.Json'
Warning: FindPackagesById: Newtonsoft.Json
HTTP request timed out. Retrying.
GET http://www.nuget.org/api/v2/FindPackagesById()?id='Newtonsoft.Json'
Error: FindPackagesById: Microsoft.AspNet.Mvc.Razor
HTTP request timed out. Exiting.
我尝试使用nuget,myget,http,https使用不同的URL.
我检查了我的互联网连接.
dnx存储库中有一个相关问题,但没有帮助.
有尝试解决的办法吗?
I tried with different urls using nuget, myget, http, https.
I checked my internet connection.
There is a related issue in the dnx repo, but it did not help.
Any workaround to try?
我在CentOS上使用mono 4.0.3.20.
I'm using mono 4.0.3.20 on CentOS.
推荐答案
以下是解决方法:
export MONO_THREADS_PER_CPU=2000
来自 http://www.mono-project.com/archived/articlethreadpool_deadlocks/
这篇关于DNU Restore给出了许多"HTTP请求超时"消息.的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文