Jump to content
Welcome to our new Citrix community!
  • 0

XenApp 7.15LTSR Hosting Connection fails from DDC to AWS.


Mangesh Rane

Question

Below is my setup Citrix XenApp 7.15 LTSR CU3 with all windows 2016 OS.

2 DDC servers

All Citrix servers on AWS cloud.

 

Issue:- When the DDC is trying to create a hosting connection to AWS based hypervisor below error is received. From the error, it looks like second DDC over port 80 is not reachable. however, I have tested telnet & Powershell connectivity is proper to second DDC server. The issue is intermittent and it auto-resolved once without any fix.

Please suggest a solution.

---------

Exception:
    Citrix.Console.Models.Exceptions.HypervisorNotContactableException The host server cannot be contacted. Check that the connection has a valid host address, and that the host server is powered on and working properly.
       at Citrix.Console.PowerShellInteraction.CmdletExecutionMethods.CreateException[T](ICommonLog logger, ExecutionResults`1 results, ICmdletExecutionHost host)
       at Citrix.Console.PowerShellInteraction.CmdletExecutionMethods.Execute[T](ISdkCmdlet`1 sdkCmd, ICmdletExecutionHost host, Boolean allowFailover)
       at Citrix.Console.PowerShellSdk.HypervisorService.Scripts.GetAvailabilityZonesScript.RunScript()
       at Citrix.Console.PowerShellInteraction.PowerShellScript`1.Run()
       at Citrix.Console.ProvisioningSchemes.UI.Pages.MachineTemplateViewModel.PrepareToBeShown()
       at Citrix.Console.CommonControls.Wizard.PageContainerViewModel.<>c__DisplayClass15_0.<ValidateAndMoveToPage>b__0()
    
    DesktopStudio_ErrorId : HypervisorNotContactable
    Exception : PluginUtilities.Exceptions.HostingInfrastructureCommunicationsFailureException: Exception of type 'PluginUtilities.Exceptions.HostingInfrastructureCommunicationsFailureException' was thrown. ---> PluginUtilities.Exceptions.WrappedPluginException: A WebException with status SendFailure was thrown. ---> PluginUtilities.Exceptions.WrappedPluginException: The underlying connection was closed: An unexpected error occurred on a send. ---> PluginUtilities.Exceptions.WrappedPluginException: Unable to read data from the transport connection: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond. ---> PluginUtilities.Exceptions.WrappedPluginException: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.

 

       --- End of inner exception stack trace ---
    
       --- End of inner exception stack trace ---
    
       --- End of inner exception stack trace ---
    
       --- End of inner exception stack trace ---

Server stack trace: 
       at CloudCommon.CloudPluginBase.PluginMachineManager.InvokeAdapter[TResult](Func`1 cloudAdapterCall)
       at CloudCommon.CloudPluginBase.PluginMachineManager..ctor(ILogProvider logProvider, ICloudAdapter cloudAdaptor, PluginConfig config)
       at Citrix.HypervisorCommunicationsLibrary.Plugins.AWS.AWSMachineManager..ctor(ILogProvider logProvider, IList`1 serverAddresses, String userName, SecureString password, AWSPluginConfig config)
       at Citrix.HypervisorCommunicationsLibrary.Plugins.AWS.AWSMachineManagerFactory.CreateMachineManager(ILogProvider logger, IList`1 servers, String userName, SecureString password, String options)
       at CloudCommon.CloudPluginBase.PluginHypConnection..ctor(ILogProvider logger, IConnectionDetails details, PluginMachineManagerFactory machineManagerFactory)
       at CloudCommon.CloudPluginBase.PluginHypConnection.GetOrCreateConnection(ILogProvider logger, IConnectionDetails details, PluginMachineManagerFactory machineManagerFactory)
       at CloudCommon.CloudPluginBase.PluginHypervisor.EnumerateContents(IConnectionDetails connectionDetails, String path, String rootPath, Boolean returnAll)
       at Citrix.HypervisorCommunicationsLibrary.AddInSideAdapter.ICloudHypervisor_AddInViewToContractAdapter.EnumerateContents(IConnectionDetailsContract connectionDetails, String path, String rootPath, Boolean returnAll)
       at System.Runtime.Remoting.Messaging.StackBuilderSink._PrivateProcessMessage(IntPtr md, Object[] args, Object server, Object[]& outArgs)
       at System.Runtime.Remoting.Messaging.StackBuilderSink.SyncProcessMessage(IMessage msg)
    
    Exception rethrown at [0]: 
       at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
       at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
       at Citrix.HypervisorCommunicationsLibrary.Contracts.IHypervisorContract.EnumerateContents(IConnectionDetailsContract connectionDetails, String path, String rootPath, Boolean returnAll)
       at Citrix.HypervisorCommunicationsLibrary.HostSideAdapter.ICloudHypervisor_ContractToHostViewAdapter.EnumerateContents(IConnectionDetails connectionDetails, String path, String rootPath, Boolean returnAll)
       at Citrix.Host.Logic.HostLogic.GetHypervisorItemContents(HypervisorConnection connection, SecretStringBuffer password, String path, String rootPath, Boolean force, HypervisorObject[]& hypervisorObjects)
       at Citrix.Host.Logic.HostLogic.GetHypervisorItemContents(String path, String rootPath, HypervisorConnection connection, Char[] password, Boolean force, HypervisorObject[]& hypervisorObjects)
    Reason : HostingInfrastructureCommunicationsFailureException
    Message : Exception of type 'PluginUtilities.Exceptions.HostingInfrastructureCommunicationsFailureException' was thrown.
    Sdk Error Message : The hypervisor was not contactable at the supplied address. (Reason = Exception of type 'PluginUtilities.Exceptions.HostingInfrastructureCommunicationsFailureException' was thrown.)
    Sdk Error ID : Citrix.XDPowerShell.HostStatus.HypervisorNotContactable,Microsoft.PowerShell.Commands.GetChildItemCommand
    ErrorCategory : ResourceUnavailable
    DesktopStudio_PowerShellHistory : GetAvailabilityZonesScript
    3/15/2019 2:12:28 PM

 

Set-HypAdminConnection  -AdminAddress "Second delivery controller FQDN address:80"
    Get-ChildItem  -LiteralPath @("XDHyp:\hypervisor path")
    Get-ChildItem : The hypervisor was not contactable at the supplied address. (Reason = Exception of type 'PluginUtilities.Exceptions.HostingInfrastructureCommunicationsFailureException' was thrown.)
        + CategoryInfo : InvalidOperation: (:) [Get-ChildItem], InvalidOperationException
        + FullyQualifiedErrorId : Citrix.XDPowerShell.HostStatus.HypervisorNotContactable,Microsoft.PowerShell.Commands.GetChildItemCommand
    Get-ChildItem : The hypervisor was not contactable at the supplied address. (Reason = Exception of type 'PluginUtilities.Exceptions.HostingInfrastructureCommunicationsFailureException' was thrown.)
        + CategoryInfo : NotSpecified: (:) [Get-ChildItem], InvalidOperationException
        + FullyQualifiedErrorId : System.InvalidOperationException,Microsoft.PowerShell.Commands.GetChildItemCommand
    
    
Inner Exception:
    System.InvalidOperationException The hypervisor was not contactable at the supplied address. (Reason = Exception of type 'PluginUtilities.Exceptions.HostingInfrastructureCommunicationsFailureException' was thrown.)

 

AWS connection Hyp error.JPG

Link to comment

3 answers to this question

Recommended Posts

  • 0

Hi, 

 

Did you ever find a fix for this? I have a similar issue. 

 

We believed our enterprise proxy (requiring authentication) to be the issue, but even after granting direct access to the internet from the delivery controller, the issue persisted. 

 

Wireshark trace shows the hosting connection wizard and the powershell add hosting command are both still trying to connect via the proxy.

 

But the proxy is disabled in IE, and set to direct access in "netsh winhttp show proxy"

 

Something in the Citrix configuration is causing it to use the proxy, even though we can access the web now without the proxy. 

 

Thanks

 

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...