Riprendo il codice di esempio da https://www.github.com/aspnet/home. Durante il ripristino dei pacchetti nell'ultima cartella/HelloMvc, verificato il seguente errore:dnu è sempre stato cancellato o timeout quando si ripristina la demo di vnext mvc
Warning: FindPackagesById: Microsoft.AspNet.Http.Features
HTTP request timed out. Retrying.
GET https://nuget.org/api/v2/FindPackagesById()?id='Microsoft.AspNet.Http.Features'
Error: FindPackagesById: Microsoft.AspNet.Hosting.Server.Abstractions
HTTP request timed out. Exiting.
Error: FindPackagesById: Microsoft.Framework.Configuration
HTTP request timed out. Exiting.
Error: FindPackagesById: Microsoft.AspNet.Http
HTTP request timed out. Exiting.
Error: FindPackagesById: Microsoft.Framework.Configuration.EnvironmentVariables
HTTP request timed out. Exiting.
Error: FindPackagesById: Microsoft.Framework.Configuration.CommandLine
HTTP request timed out. Exiting.
Error: FindPackagesById: Microsoft.Framework.DependencyInjection
HTTP request timed out. Exiting.
Error: FindPackagesById: Microsoft.Framework.Configuration.Ini
HTTP request timed out. Exiting.
Error: FindPackagesById: Microsoft.Framework.Logging
HTTP request timed out. Exiting.
----------
System.Threading.Tasks.TaskCanceledException: A task was canceled.
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x00000] in <filename unknown>:0
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x00000] in <filename unknown>:0
at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x00000] in <filename unknown>:0
at System.Runtime.CompilerServices.TaskAwaiter`1[System.Net.Http.HttpResponseMessage].GetResult() [0x00000] in <filename unknown>:0
at System.Net.Http.HttpClientHandler+<SendAsync>c__async0.MoveNext() [0x00000] in <filename unknown>:0
--- End of stack trace from previous location where exception was thrown ---
ma io ripristinare correttamente a 'lastest/ConsoleApp', allora io uso wget per scaricare il pacakge con l'URL fallito, non c'è problemi, posso decomprimere le DLL da quel pacchetto.
Ho ripristinato 'lastest/HelloMvc' utilizzare mono 1.0.0-beta7-12274 runtime, o ripristinare '1.0.0-beta5/HellowMvc' utilizzare 1.0.0-beta5 runtime, o cambiare per usare il file docker (Microsoft/Aspnet), anche cambiare computer, l'errore è lo stesso ~
Quale versione mono stai usando? –
@VictorHurdugaci Mono compilatore JIT versione 4.0.2 (Stabile 4.0.2.5/c99aa0c Mer 24 giugno 10:04:37 UTC 2015) TLS: __thread SIGSEGV: altstack Notifiche: epoll Architettura: amd64 Disabilitato: nessuno Varie: softdebug LLVM: supportato, non abilitato. GC: sgen – aspark
Sto usando la versione Mono 4.3.0 su CentOs 6.6 e ho lo stesso problema. – ferpega