Probe Agent Configuration Fails with Error "Workspace Credentials Fail To Authenticate" With Cookie Based Persistence Enabled On NetScaler

Probe Agent Configuration Fails with Error "Workspace Credentials Fail To Authenticate" With Cookie Based Persistence Enabled On NetScaler

book

Article ID: CTX337199

calendar_today

Updated On:

Description

  • During Probe Agent Setup, Workspace Credentials fail to authenticate while configuring StoreFront Loadbalancing vServer URL with Cookie Based Persistence Enabled On NetScaler.
  • The issue occurs with or without Site Aggregation enabled.
  • Users do not face any issues enumerating or launching the resources, the issue is only seen while configuring Probe Agent.

ProbeAgent.PNG
CookieInsert.PNG
  • The below error is logged in Citrix Delivery Services logs on StoreFront Servers.

ProbeAgent1.PNG
  • As soon as you change the Persistence on NetScaler to SourceIP you can get past the StoreFront configuration page on Probe agent.

ProbeAgent3.PNG


ProbeAgent4.png
Below error is seen in Probe agent logs

Probe Agent logs are saved at 
 C:\Program Files (x86)\Citrix\Citrix Probe Agent
 
2021-07-20 12:00:21,478 [18] INFO ProbeEndPoint.Log - Reachability passed. Adding stage result
2021-07-20 12:00:21,478 [18] INFO ProbeEndPoint.Log - Running authentication check
2021-07-20 12:00:21,478 [18] INFO ProbeEndPoint.Log - Opened HKLM\SOFTWARE\Citrix\ProbeAgent\AGENT
2021-07-20 12:00:21,494 [18] INFO ProbeEndPoint.Log - Opened HKLM\SOFTWARE\Citrix\ProbeAgent\AGENT
2021-07-20 12:00:21,525 [18] INFO ProbeEndPoint.Log - System.NullReferenceException: Object reference not set to an instance of an object.
   at ProbeEndPoint.Storefront.Logon(String storefrontUrl, AuthCredential auth, String domain, String user, String storefrontPassword)
2021-07-20 12:00:21,525 [18] INFO ProbeEndPoint.Log - Authentication failed. Adding stage failure
 
  • Fiddler logs captured from Probe Agent machine show the below error for StoreFront Authentication.
ProbeAgent5.PNG

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

WORKAROUNDS
  • Configure SourceIP Based Persistence for StoreFront load balancing vServer URL on NetScaler.
  • Instead of configuring StoreFront load balancing vServer URL point to one of  StoreFront Server URL in Probe Agent Setup.

 

Problem Cause

As per current design Probe Agent setup does not support Cookie based persistence for LoadBalanced Vserver URL's.
 

Additional Information

How do I setup cookie based persistence on NetScaler?
https://support.citrix.com/article/CTX205266


Citrix Director App Probe Config fails in a Secure Load Balanced Environment

https://appdelivery.wordpress.com/2019/03/04/citrix-director-app-probe-config-fails-in-a-secure-load-balanced-environment/ ​​​​​​​