We are using Azure Devops to install packages which are generated during Build Pipelines. We are using Sitecore CLI - SCS - to install these packages.
This command is the one -> dotnet sitecore ser pkg install
For some reason, it started throwing these exception on one of the packages:
One or more errors occurred. (One or more errors occurred. (A task was canceled.)) (One or more errors occurred. (A task was canceled.)) (One or more errors occurred. (A task was canceled.)) (One or more errors occurred. (A task was canceled.)) (One or more errors occurred. (A task was canceled.)) (One or more errors occurred. (A task was canceled.))
at Sitecore.DevEx.Serialization.Client.Datasources.Sc.Query.SitecoreTreeDataStore.CreateParallelQuery[T](String parallelQueryFragment, TreeScope scope, ItemSpec[] specs, CancellationToken cancellationToken)
at Sitecore.DevEx.Serialization.Client.Datasources.Sc.Query.SitecoreTreeDataStore.GetTreeNodesInternal(IEnumerable`1 itemSpecs, TreeScope scope, CancellationToken cancellationToken)
at Sitecore.DevEx.Serialization.Client.Datasources.Sc.Query.SitecoreTreeDataStore.Initialize(CancellationToken cancellationToken)
at Sitecore.DevEx.Serialization.Client.TreeSyncOperation.Initialize(CancellationToken cancellationToken)
at Sitecore.DevEx.Serialization.Client.TreeSyncOperationExecutor.ExecuteTreeSyncOperation(TreeSyncOperation operation, Boolean whatIf, Boolean performValidation, Boolean force, SyncDirection direction, CancellationToken cancellationToken)
at Sitecore.DevEx.Extensibility.Serialization.Tasks.PackageInstallTask.Execute(PackageInstallTaskOptions options)
at Sitecore.DevEx.Extensibility.Serialization.Commands.PackageInstallCommand.Handle(PackageInstallTask task, PackageInstallArgs args)
at Sitecore.DevEx.Extensibility.Serialization.Commands.PackageInstallCommand.Handle(PackageInstallTask task, PackageInstallArgs args)
at Sitecore.Devex.Client.Cli.Extensibility.Subcommands.SubcommandBase`2.HandleInternal(TArgs args) in C:\BA\ca7111d945a16af4\src\Sitecore.Devex.Client.Cli.Extensibility\Subcommands\SubcommandBase.cs:line 84
Execution was cancelled. This occurs when the task is killed or requests timeout.
We are using Sitecore CLI 5.1.25 with these plugins:
- Sitecore.DevEx.Extensibility.Serialization v.5.1.25
- Sitecore.DevEx.Extensibility.Publishing v.5.1.25
- Sitecore.DevEx.Extensibility.Indexing v.5.1.25
- Sitecore.DevEx.Extensibility.ResourcePackage v.5.1.25
- Sitecore.DevEx.Extensibility.Database v.5.1.25
Is this timeout issue or something else? Where we can configure timeout / session for Sitecore cli via some command or configuration?
When I install the package from local machine, it installs it without this error. Very same package on same environment.