Citrix Probe Agent: Error "Director was not reachable" While Configuring Director URL

Citrix Probe Agent: Error "Director was not reachable" While Configuring Director URL

book

Article ID: CTX276606

calendar_today

Updated On:

Description

  • Error "Director Not Reachable" is logged while configuring Director URL in Citrix Probe Agent. 
  • The Director URL was accessible via browser from the Probe Agent machine.
  • Probe Agent logs saved at C:\Program Files (x86)\Citrix\Citrix Probe Agent on the probe agent machine shows the below error which does not give much clue.

    ERROR ProbeEndPoint.Log - The parameter is incorrect.
     
    INFO ProbeEndPoint.Log - Director url not configured, skipping task. Rescheduling
  • Collected Fiddler logs from Probe Agent machine while reproducing the error and found that an additional  HTTP Response Header X-Frame Options is configured for the Director website. Compared the HTTP response headers with the Director Website in our lab and did not find this HTTP Response Header.


Screenshot from working Director from internal lab.


 

Environment

Citrix is not responsible for and does not endorse or accept any responsibility for the contents or your use of these third party Web sites. Citrix is providing these links to you only as a convenience, and the inclusion of any link does not imply endorsement by Citrix of the linked Web site. It is your responsibility to take precautions to ensure that whatever Web site you use is free of viruses or other harmful items.

Resolution

  • Took a backup of c:\inetpub\wwroot\Director\web.config
  • Deleted incorrect HTTP Response Header X-Frame Options from Director website leaving the the correct HTTP response header X-Frame-Options as is.  
  • Reset IIS and we were able to configure the Director Probe Agent correctly.

Problem Cause

There was an incorrect HTTP Response Header X-Frame Options configured in IIS Default website and the same was inherited by Director web site.  This caused protocol violation for HTTP  Response Header.  The request for Director URL from Probe Agent failed while validating the HTTP Response Headers of the logon request to Director. 

As per below article Headers names should not have spaces in them.

https://docs.microsoft.com/en-us/dotnet/api/system.net.configuration.httpwebrequestelement.useunsafeheaderparsing?view=netframework-4.8

Additional Information

https://docs.citrix.com/en-us/citrix-virtual-apps-desktops/director/troubleshoot-deployments/applications/app-probing.html