Error: "Failed to start WCF services.exception.... scheme http for end point with binding WSHttpBinding" While Registering VDA

Error: "Failed to start WCF services.exception.... scheme http for end point with binding WSHttpBinding" While Registering VDA

book

Article ID: CTX218001

calendar_today

Updated On:

Description

In an event where the datastore becomes unavailable, After the datastore connectivity was restored, all devices except one registered successfully with the delivery controller. The Citrix Heath Assistant reports no issues on the device, yet even after multiple reboots of the delivery controller and VDA server, it will not register with the delivery controller.

When we restart the Citrix desktop service we see "The Citrix Desktop service failed to initialize communication service required for between this machine and delivery controller". In the error details we see "Failed to start WCF services.exception 'could not find a base address that matches scheme http for end point with binding WSHttpBinding'". Ideally when a VDA is installed correctly, we should see brokeragent.exe.config and brokeragent.exe.config_orig file under "C\Program files\Citrix\virtualDesktopComponent". However in the non working machine we saw "brokeragent.exe.config and brokeragent.exe.Old1.config" which is not correct. Basically brokeragent.exe.config_orig contains the base address and brokeragent.exe.config contains localhost

Resolution

Complete the following steps:

  1. Uninstall the VDA, reinstall it to get the correct brokeragent.exe.config and brokeragent.exe.config_orig file under "C\Program files\Citrix\virtualDesktopComponent"

  2. Restart the VDA and now it should get registered fine.


Problem Cause

If we replace the brokeragent.exe.config_orig without making the required changes then the communication or WCF call fails between the virtual desktop agent and the delivery controller.