Print View

"Pool 'Desktop' could not start because of a server communication failure: 'Url invalid'" on XenDesktop Desktop Delivery Controller

Issue

In the Application Event log, the following error can be seen every two minutes:

Event Type: Error
Event Source: Citrix Desktop Delivery Controller
Event ID: 1502
Description: Pool 'Desktop' could not start because of a server communication failure: 'Url invalid'.

If the Citrix Pool Manager service logging is enable as per CTX117452 the following error may be seen:

HH:MM:SS.SSSS : ***** Creating Connection *****
HH:MM:SS.SSSS : Connecting to virtual center: DOMAIN\ServiceXenDesktop https://virtualcenter.domain.com/sdk
HH:MM:SS.SSSS : ***** Login Connection - 1427 *****
HH:MM:SS.SSSS : Login: Service timeout is 100000
HH:MM:SS.SSSS : Citrix.PoolManagement.MachineManager.MachineManagementApi.HostingInfrastructureCommunicationsFailureException: Url invalid ---> System.Net.WebException: The remote server returned an error: (407) Proxy Authentication Required.
at System.Net.HttpWebRequest.GetRequestStream()
at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)
at VimApi.VimService.RetrieveServiceContent(ManagedObjectReference _this)
at Citrix.PoolManagement.VMManager.VmmImplementation.Vmware.VcServiceWrapper.Login(VmwareVmConnection connection, String url, String userName, String password)
--- End of inner exception stack trace ---
at Citrix.PoolManagement.VMManager.VmmImplementation.Vmware.VcServiceWrapper.Login(VmwareVmConnection connection, String url, String userName, String password)
at Citrix.PoolManagement.VMManager.VmmImplementation.Vmware.VmwareVmConnection.LoginVc(String url, String userName, String password)
at Citrix.PoolManagement.VMManager.VmmImplementation.Vmware.VmwareVmConnection.Connect(String url, String userName, String password)
at Citrix.PoolManagement.VMManager.VmmImplementation.Vmware.ConnectionPool.MakeConnection(String login, String url, String password)
at Citrix.PoolManagement.VMManager.VmmImplementation.Vmware.VcServiceWrapper.ClientConnect(String svcUrl, String username, String password)
at Citrix.PoolManagement.VMManager.VmmImplementation.Vmware.VmwareVmManager..ctor(String vmmServer, String userName, SecureString password)
HH:MM:SS.SSSS : Citrix.PoolManagement.MachineManager.MachineManagementApi.HostingInfrastructureCommunicationsFailureException: Url invalid ---> System.Net.WebException: The remote server returned an error: (407) Proxy Authentication Required.
at System.Net.HttpWebRequest.GetRequestStream()
at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)
at VimApi.VimService.RetrieveServiceContent(ManagedObjectReference _this)
at Citrix.PoolManagement.VMManager.VmmImplementation.Vmware.VcServiceWrapper.Login(VmwareVmConnection connection, String url, String userName, String password)
--- End of inner exception stack trace ---
at Citrix.PoolManagement.VMManager.VmmImplementation.Vmware.ExceptionInterceptor.Intercept(Exception e)
at Citrix.PoolManagement.VMManager.VmmImplementation.Vmware.VmwareVmManager..ctor(String vmmServer, String userName, SecureString password)
HH:MM:SS.SSSS : Exception Url invalid at Citrix.PoolManagement.VMManager.VmmImplementation.Vmware.ExceptionInterceptor.Intercept(Exception e)
at Citrix.PoolManagement.VMManager.VmmImplementation.Vmware.VmwareVmManager..ctor(String vmmServer, String userName, SecureString password)
at Citrix.PoolManagement.VMManager.VmmImplementation.Vmware.VmwareFactory.CreateMachineManager(String vmmServer, String userName, SecureString password, String optional)
at Citrix.PoolManagement.PoolManager.Core.ManagedPool.CreateVMManager(String assemblyName, String vmmServer, String userName, SecureString password, String optional)
at Citrix.PoolManagement.PoolManager.Core.ManagedPool..ctor(String name, String friendlyName, String[] machineIds, IPoolConsumer consumer, PoolConfigurationDetails configuration)
at Citrix.PoolManagement.PoolManager.Core.PoolManagementCore.StartPool(String poolName, String friendlyName, String[] machinesIds, IPoolConsumer poolConsumer)
HH:MM:SS.SSSS : Failed to start pool 938b937b-bda2-468f-890b-1a595ef1d72b, error was Citrix.PoolManagement.PoolManager.CoreApi.Pool.PoolException: [938b937b-bda2-468f-890b-1a595ef1d72b] Could not create Pool ---> Citrix.PoolManagement.MachineManager.MachineManagementApi.HostingInfrastructureCommunicationsFailureException: Url invalid ---> System.Net.WebException: The remote server returned an error: (407) Proxy Authentication Required.
at System.Net.HttpWebRequest.GetRequestStream()
at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)
at VimApi.VimService.RetrieveServiceContent(ManagedObjectReference _this)
at Citrix.PoolManagement.VMManager.VmmImplementation.Vmware.VcServiceWrapper.Login(VmwareVmConnection connection, String url, String userName, String password)
--- End of inner exception stack trace ---
at Citrix.PoolManagement.VMManager.VmmImplementation.Vmware.ExceptionInterceptor.Intercept(Exception e)
at Citrix.PoolManagement.VMManager.VmmImplementation.Vmware.VmwareVmManager..ctor(String vmmServer, String userName, SecureString password)
at Citrix.PoolManagement.VMManager.VmmImplementation.Vmware.VmwareFactory.CreateMachineManager(String vmmServer, String userName, SecureString password, String optional)
at Citrix.PoolManagement.PoolManager.Core.ManagedPool.CreateVMManager(String assemblyName, String vmmServer, String userName, SecureString password, String optional)
at Citrix.PoolManagement.PoolManager.Core.ManagedPool..ctor(String name, String friendlyName, String[] machineIds, IPoolConsumer consumer, PoolConfigurationDetails configuration)
at Citrix.PoolManagement.PoolManager.Core.PoolManagementCore.StartPool(String poolName, String friendlyName, String[] machinesIds, IPoolConsumer poolConsumer)
--- End of inner exception stack trace ---
at Citrix.PoolManagement.PoolManager.Core.PoolManagementCore.StartPool(String poolName, String friendlyName, String[] machinesIds, IPoolConsumer poolConsumer)
at Citrix.PoolManagement.PoolManager.PoolManagerEngine.StartPool(CdsWorkerGroupConfig poolConfig). Will retry later...
HH:MM:SS.SSSS : Pool Management Service: Could not stop pool 45ec4293-8773-4438-ab11-7b7a1a704809 as it was not active
HH:MM:SS.SSSS : Pool Management Service: Starting pool "45ec4293-8773-4438-ab11-7b7a1a704809"
HH:MM:SS.SSSS : ListMachinesForPool: 45ec4293-8773-4438-ab11-7b7a1a704809
HH:MM:SS.SSSS : [45ec4293-8773-4438-ab11-7b7a1a704809] Starting Pool.
HH:MM:SS.SSSS : Creating provider Citrix.PoolManagement.VMManager.VmmImplementation.Vmware.VmwareFactory

Resolution

This is due to the Internet Explorer proxy settings connecting to the VirtualCenter SDK through a proxy.

Ensure the VirtualCenter address is bypassed. From the Internet Explorer on the Desktop Delivery Controller:

- Select Tools | Internet Options | Connections | LAN Settings
- Check bypass proxy server for local addresses
- Click Advanced
- Enter the VirtualCenter FQDN in the "Do not use proxy server for addresses beginning with" field
- Click OK
- Click OK
- Click OK


Further Information

How to Enable Logging for the Desktop Delivery Controller and Virtual Desktop Agent
http://support.citrix.com/article/CTX117452

Products

Citrix XenDesktop 2.1

Created: 14th May 2009
Updated: 14th May 2009

Print View

© 2005-2024 Jamie Morrison