Протестировал установку на другом ПК.
Инсталер установился со второго раза, Гидра при инсталяции выдала ошибку.
Я так понимаю, что проблема из-за таймаутов получения пакета с nuget.stocksharp.com. И что теперь с этим делать? Пауза явно на стороне сервера, с другими узлами в инете пауз на 100сек не бывает.
ProgressHelper 22.07.2022 15:57:34 +05:00 Warning Error downloading 'StockSharp.Hydra.Core.5.0.124 : NETStandard.Library [2.0.3, ), StockSharp.Algo [5.0.130, ), StockSharp.Licensing [5.0.125, ), StockSharp.Server.Core [5.0.101, ), StockSharp.Server.Fix [5.0.104, ), StockSharp.Studio.Community [5.0.111, ), StockSharp.Studio.Core [5.0.134, )' from 'https://nuget.stocksharp.com/x/v3/package/stocksharp.hydra.core/5.0.124/stocksharp.hydra.core.5.0.124.nupkg'.
The HTTP request to 'GET
https://nuget.stocksharp...core.5.0.124.nupkg' has timed out after 100000ms.
ProgressHelper 22.07.2022 15:58:20 +05:00 Warning no compatible files found in package Microsoft.Build.Tasks.Git.1.0.0
ProgressHelper 22.07.2022 15:58:20 +05:00 Warning no compatible files found in package Microsoft.CodeAnalysis.Analyzers.3.3.2
ProgressHelper 22.07.2022 15:58:20 +05:00 Warning no compatible files found in package Microsoft.CSharp.4.7.0
...
тут перечисляются все package
...
ProgressHelper 22.07.2022 15:58:41 +05:00 Warning no compatible files found in package Microsoft.Windows.Compatibility.5.0.2
ProgressHelper 22.07.2022 15:59:45 +05:00 Warning Error downloading 'StockSharp.Hydra.5.0.124 : Microsoft.Data.SqlClient [3.0.1, ), Microsoft.Data.Sqlite [5.0.11, ), StockSharp.Algo.Export [5.0.30, ), StockSharp.Configuration.Adapters [5.0.134, ), StockSharp.Hydra.Core [5.0.124, ), StockSharp.Studio.Controls [5.0.134, ), StockSharp.Xaml.CodeEditor [5.0.113, )' from 'https://nuget.stocksharp.com/x/v3/package/stocksharp.hydra/5.0.124/stocksharp.hydra.5.0.124.nupkg'.
The HTTP request to 'GET
https://nuget.stocksharp...ydra.5.0.124.nupkg' has timed out after 100000ms.
ProgressHelper 22.07.2022 16:01:25 +05:00 Warning Error downloading 'StockSharp.Hydra.5.0.124 : Microsoft.Data.SqlClient [3.0.1, ), Microsoft.Data.Sqlite [5.0.11, ), StockSharp.Algo.Export [5.0.30, ), StockSharp.Configuration.Adapters [5.0.134, ), StockSharp.Hydra.Core [5.0.124, ), StockSharp.Studio.Controls [5.0.134, ), StockSharp.Xaml.CodeEditor [5.0.113, )' from 'https://nuget.stocksharp.com/x/v3/package/stocksharp.hydra/5.0.124/stocksharp.hydra.5.0.124.nupkg'.
The HTTP request to 'GET
https://nuget.stocksharp...ydra.5.0.124.nupkg' has timed out after 100000ms.
ProgressHelper 22.07.2022 16:03:06 +05:00 Warning Install failed. Rolling back...
Installer 22.07.2022 16:03:06 +05:00 Verbose nuget: unlocked
ProgressHelper 22.07.2022 16:03:06 +05:00 Error FatalProtocolException: Error downloading 'StockSharp.Hydra.5.0.124 : Microsoft.Data.SqlClient [3.0.1, ), Microsoft.Data.Sqlite [5.0.11, ), StockSharp.Algo.Export [5.0.30, ), StockSharp.Configuration.Adapters [5.0.134, ), StockSharp.Hydra.Core [5.0.124, ), StockSharp.Studio.Controls [5.0.134, ), StockSharp.Xaml.CodeEditor [5.0.113, )' from 'https://nuget.stocksharp.com/x/v3/package/stocksharp.hydra/5.0.124/stocksharp.hydra.5.0.124.nupkg'.
VMPageInstallActions 22.07.2022 16:03:06 +05:00 Error CmdExecuteAsync error: NuGet.Protocol.Core.Types.FatalProtocolException: Error downloading 'StockSharp.Hydra.5.0.124 : Microsoft.Data.SqlClient [3.0.1, ), Microsoft.Data.Sqlite [5.0.11, ), StockSharp.Algo.Export [5.0.30, ), StockSharp.Configuration.Adapters [5.0.134, ), StockSharp.Hydra.Core [5.0.124, ), StockSharp.Studio.Controls [5.0.134, ), StockSharp.Xaml.CodeEditor [5.0.113, )' from 'https://nuget.stocksharp.com/x/v3/package/stocksharp.hydra/5.0.124/stocksharp.hydra.5.0.124.nupkg'.
---> System.TimeoutException: The HTTP request to 'GET
https://nuget.stocksharp...ydra.5.0.124.nupkg' has timed out after 100000ms.
at NuGet.Protocol.TimeoutUtility.StartWithTimeout[T](Func`2 getTask, TimeSpan timeout, String timeoutMessage, CancellationToken token)
at NuGet.Protocol.HttpRetryHandler.SendAsync(HttpRetryHandlerRequest request, String source, ILogger log, CancellationToken cancellationToken)
at NuGet.Protocol.HttpSource.GetThrottledResponse(Func`1 requestFactory, TimeSpan requestTimeout, TimeSpan downloadTimeout, Int32 maxTries, Boolean isRetry, Boolean isLastAttempt, Guid sessionId, ILogger log, CancellationToken cancellationToken)
at NuGet.Protocol.HttpSource.ProcessResponseAsync[T](HttpSourceRequest request, Func`2 processAsync, SourceCacheContext cacheContext, ILogger log, CancellationToken token)
at NuGet.Protocol.HttpSource.ProcessStreamAsync[T](HttpSourceRequest request, Func`2 processAsync, SourceCacheContext cacheContext, ILogger log, CancellationToken token)
at NuGet.Protocol.GetDownloadResultUtility.GetDownloadResultAsync(HttpSource client, PackageIdentity identity, Uri uri, PackageDownloadContext downloadContext, String globalPackagesFolder, ILogger logger, CancellationToken token)
--- End of inner exception stack trace ---
at NuGet.Protocol.GetDownloadResultUtility.GetDownloadResultAsync(HttpSource client, PackageIdentity identity, Uri uri, PackageDownloadContext downloadContext, String globalPackagesFolder, ILogger logger, CancellationToken token)
at NuGet.Protocol.DownloadResourceV3.GetDownloadResourceResultAsync(PackageIdentity identity, PackageDownloadContext downloadContext, String globalPackagesFolder, ILogger logger, CancellationToken token)
at NuGet.PackageManagement.PackageDownloader.GetDownloadResourceResultAsync(SourceRepository sourceRepository, PackageIdentity packageIdentity, PackageDownloadContext downloadContext, String globalPackagesFolder, ILogger logger, CancellationToken token)
at NuGet.PackageManagement.PackagePreFetcher.<>c__DisplayClass0_1.<<GetPackagesAsync>b__4>d.MoveNext()
--- End of stack trace from previous location ---
at NuGet.PackageManagement.PackagePreFetcherResult.EnsureResultAsync()
at NuGet.PackageManagement.PackagePreFetcherResult.GetResultAsync()
at NuGet.PackageManagement.NuGetPackageManager.ExecuteNuGetProjectActionsAsync(NuGetProject nuGetProject, IEnumerable`1 nuGetProjectActions, INuGetProjectContext nuGetProjectContext, PackageDownloadContext downloadContext, CancellationToken token)
at NuGet.PackageManagement.NuGetPackageManager.ExecuteNuGetProjectActionsAsync(NuGetProject nuGetProject, IEnumerable`1 nuGetProjectActions, INuGetProjectContext nuGetProjectContext, PackageDownloadContext downloadContext, CancellationToken token)
at NuGet.PackageManagement.NuGetPackageManager.ExecuteNuGetProjectActionsAsync(NuGetProject nuGetProject, IEnumerable`1 nuGetProjectActions, INuGetProjectContext nuGetProjectContext, PackageDownloadContext downloadContext, CancellationToken token)
at NuGet.PackageManagement.NuGetPackageManager.InstallPackageAsync(NuGetProject nuGetProject, PackageIdentity packageIdentity, ResolutionContext resolutionContext, INuGetProjectContext nuGetProjectContext, PackageDownloadContext downloadContext, IEnumerable`1 primarySources, IEnumerable`1 secondarySources, CancellationToken token)
at StockSharp.Installer.Installer.DoInstallAsync(InstallerProject project, CancellationToken token)
at StockSharp.Installer.Installer.InstallAsync(ProductVersion version, String dir, CancellationToken token)
at StockSharp.Installer.Product.InstallAsync(ProductVersion version, String dir, CancellationToken token)
at StockSharp.Installer.UI.VMPageInstallActions.ExecuteAsync(CancellationToken token)
at StockSharp.Installer.UI.VMPageInstallActions.CmdExecuteAsync()