gpt4 book ai didi

mono - DNU Restore 给出大量 "HTTP request timed out"

转载 作者:行者123 更新时间:2023-12-03 03:12:35 26 4
gpt4 key购买 nike

我正在尝试运行 https://github.com/aspnet/home 中的示例.
但我在更新引用文献时遇到问题。恢复速度非常慢,并且某些软件包会失败:

  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。
我检查了我的互联网连接。有一个related issue in the dnx repo ,但没有帮助。
有什么解决方法可以尝试吗?

我在 CentOS 上使用 mono 4.0.3.20。

最佳答案

解决方法如下:

export MONO_THREADS_PER_CPU=2000

来自 http://www.mono-project.com/archived/articlethreadpool_deadlocks/

关于mono - DNU Restore 给出大量 "HTTP request timed out",我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/31973803/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com