Error creating host connection with Xen Server On-Prem

Error creating host connection with Xen Server On-Prem

book

Article ID: CTX275229

calendar_today

Updated On:

Description

Error Id: XDDS:33A6280E
Excepción: DesktopStudio_PowerShellHistory : TestHypervisorConnectionScript 4/28/2020 9:48:46 AM Error Source : Citrix Studio StackTrace: Citrix.Console.Common.CitrixAggregateException One or more parallel operations failed en Citrix.Console.Common.CitrixParallel.InternalForEach[TIn](IEnumerable`1 items, Action`1 operation, Int32 maxSimultaneous) en Citrix.Orchestration.Base.PowerShellSdk.HypervisorService.Scripts.TestHypervisorConnectionScript.RunScript() en Citrix.Orchestration.Base.PowerShellInteraction.PowerShellScript`1.Run() en Citrix.Console.Hypervisors.UI.Pages.HypervisorDetailsPageViewModelBase.ValidatePage() en Citrix.Console.CommonControls.Wizard.PageContainerViewModel.b__0() Excepción interna: DesktopStudio_ErrorId : ExceptionThrown Exception : Citrix.HypervisorCommunicationsLibrary.Wcf.Types.Exceptions.RemoteHclHostDisconnectedException: Communication timed out while forwarding to RemoteHcl WCF server. Is the service running? at RemoteHCLClient.StubManager.HclStubManager.PerformRemoteHclOperation[T](ConnectorList connectors, Func`2 operation) at RemoteHCLClient.StubManager.HclStubManager.GetHypervisorFactories(ConnectorList connectors) at Citrix.Host.Logic.HostLogic.GetHypervisorFactoriesForZone(Guid zoneUid) at Citrix.Host.Logic.HostLogic.BuildHypervisorListForZone(Guid zoneUid) at Citrix.Host.Logic.HostLogic.GetHypervisorFactoryForConnection(HypervisorConnectionInternal connection, IHypervisorFactory& factory) at Citrix.Host.Logic.HostLogic.EstablishHypervisorConnection(HypervisorConnectionInternal connection, IHypervisorAdapter& hypervisor) at Citrix.Host.Logic.HostLogic.ValidateConnectionDetails(HypervisorConnectionInternal connection, Boolean checkAllConnectionAddresses) at Citrix.Host.Logic.HostLogic.NewHypervisorConnection(IList`1 loggingDetails, String name, Guid connectionId, String userName, SecretStringBuffer password, ConnectionType connectionType, String[] addresses, String pluginId, Boolean commit, String[] scope, Dictionary`2 metadata, String[] sslThumbprints, String customProperties, Guid zoneUid, HypervisorConnection& connection) at Citrix.Host.Logic.HostLogic.NewHypervisorExtendedConnectionParameterized(NewHypervisorExtendedConnectionParameters parameters, Nullable`1 loggingId, HypervisorConnection& connection) at Citrix.Host.WcfService.b__0() at Citrix.Fma.Sdk.ServiceCore.ServiceCore.CheckedCall[T](String name, Func`1 operation, Func`2 defaultValue, Enum code) Reason : RemoteHclHostDisconnectedException Message : Communication timed out while forwarding to RemoteHcl WCF server. Is the service running? Error Source : CitrixHostService Sdk Error Message : An exception occurred. The associated message was Communication timed out while forwarding to RemoteHcl WCF server. Is the service running? Sdk Error ID : Citrix.XDPowerShell.Status.ExceptionThrown,Microsoft.PowerShell.Commands.NewItemCommand ErrorCategory : NotSpecified DesktopStudio_PowerShellHistory : SimplePowerShellScript 4/28/2020 9:48:46 AM Set-HypAdminConnection -AdminAddress "ad0ombly8i8y.xendesktop.net:443" -BearerToken ******** New-Item -AdminAddress "ad0ombly8i8y.xendesktop.net:443" -BearerToken ******** -ConnectionType "XenServer" -CustomProperties "" -HypervisorAddress @("http://23.2.80.186") -Path @("XDHyp:\Connections\eb7100e7-82fc-47ed-bd9a-f8934397faa1") -Scope @() -SecurePassword "System.Security.SecureString" -UserName "root" -ZoneUid "bb0ca63c-3ce5-4a03-a84e-2c25e2a1c29c" New-Item : An exception occurred. The associated message was Communication timed out while forwarding to RemoteHcl WCF server. Is the service running? + CategoryInfo : InvalidOperation: (:) [New-Item], InvalidOperationException + FullyQualifiedErrorId : Citrix.XDPowerShell.Status.ExceptionThrown,Microsoft.PowerShell.Commands.NewItemCommand New-Item : An exception occurred. The associated message was Communication timed out while forwarding to RemoteHcl WCF server. Is the service running? + CategoryInfo : NotSpecified: (:) [New-Item], InvalidOperationException + FullyQualifiedErrorId : System.InvalidOperationException,Microsoft.PowerShell.Commands.NewItemCommand Studio_TargetHost : ad0ombly8i8y.xendesktop.net:443 StackTrace: Citrix.Orchestration.Base.LogicModels.Exceptions.ScriptException Error inesperado. Póngase en contacto con la asistencia técnica de Citrix. en Citrix.Orchestration.Base.PowerShellInteraction.CmdletExecutionMethods.CreateException[T](ICommonLog logger, ExecutionResults`1 results, ICmdletExecutionHost host) en Citrix.Orchestration.Base.PowerShellInteraction.CmdletExecutionMethods.Execute[T](ISdkCmdlet`1 sdkCmd, ICmdletExecutionHost host, Boolean allowFailover) en Citrix.Orchestration.Base.PowerShellSdk.HypervisorService.Scripts.HypervisorConnectionHelpers.CreateNewConnection(ICmdletExecutionHost executionHost, IUnityContainer container, HypervisorConnectionModel hypervisorConnection, Boolean persist, Boolean ignoreHA, String hostServiceAddress) en Citrix.Orchestration.Base.PowerShellSdk.HypervisorService.Scripts.TestHypervisorConnectionScript.b__1(ICmdletExecutionHost host) en Citrix.Orchestration.Base.PowerShellInteraction.SimplePowerShellScript.b__0(ICmdletExecutionHost host) en Citrix.Orchestration.Base.PowerShellInteraction.PowerShellScript`1.Run() en Citrix.Console.Common.CitrixParallel.b__0(Object arg)

Resolution

Restarted the Citrix Remote HCL Servie service on all connectors

Verified if the antivirus exclusions are in place for the Cloud connectors based on the following Citrix doc (only if AV is installed in Cloud Connectors) - https://docs.citrix.com/en-us/tech-zone/build/tech-papers/antivirus-best-practices.html#antivirus-exclusions.

·        I have also noted customer got error “cannot open a Browser from Cloud Connector but without the proxy we can get there

  As per https://docs.citrix.com/en-us/citrix-cloud/overview/requirements/internet-connectivity-requirements.html

§  The addresses outlined within must be contactable to properly operate and consume the Citrix Cloud services. As a best practice, use Group Policy to configure and manage these addresses. Also, configure only the addresses that are applicable to the services that you and your end-users are consuming.

§  > performed and the relevant URLs were whitelisted


Problem Cause

Cloud connector communiocation restricted due to no whitelisting configuration