Citrix Desktop Service failed to register with any delivery controller

Symptoms

The Citrix Desktop Service failed to register with any delivery controller

Event: ID 1017

The Citrix Desktop Service cannot connect to the controller even after finding the address of the delivery controller or the IP address.

Event ID: 1002

Cause

If you enable Virtual Desktop Agent (VDA) logging as per the Knowledge Center article CTX117452 – How to Enable the Logging Process in XenDesktop, you might see an error similar to the following in the VDA log.

“Workstation Agent:Error occurred when attempting to connect to endpoint at address http://CTXT-XD01.chs.concentra.corp:85/Citrix/CdsController/IRegistrar, binding WsHttpBindingIRegistrarEndpoint and contract Citrix.Cds.Protocol.Controller.IRegistrar: System.ServiceModel.EndpointNotFoundException: There was no endpoint listening at http://10.27.36.42:85/Citrix/CdsController/IRegistrar that could accept the message. This is often caused by an incorrect address or SOAP action. See InnerException, if present, for more details. —> System.Net.WebException: The remote server returned an error: (404) Not Found.”

Resolution

Among other possible causes, VDA and XenDesktop Controller are not communicating on the same standard port 80.

In this case XenDesktop Controller was set to use Port 85 while VDA was using Port 80.

Change the registration port either on Desktop Delivery Controller (DDC) or VDA to match the other.

Read more here on the Citrix knowledgebase.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.