Workspace error "Unable to add account with the given server URL"

Workspace error "Unable to add account with the given server URL"

book

Article ID: CTX553642

calendar_today

Updated On:

Description

After entering Citrix Gateway URL on Workspace and then entering the credentials, the user encounters the following error:

"Unable to add account with the given server URL. Ensure that it is correct or enter your email address".

Resolution

In order to honor Workspace Authentication request, add new LDAP policy to Citrix Gateway Virtual Server with the  below expression:
 
add authentication ldapPolicy <LDAP-policy-name> "REQ.HTTP.HEADER User-Agent CONTAINS CitrixReceiver" <LDAP-action-name>

Note:  replace <LDAP-policy-name> and <LDAP-action-name> with yourself policy and action.

Problem Cause

Authentication policy failed to hit in Gateway for Workspace Client access. As customer's LDAP policy expression contains "REQ.HTTP.HEADER User-Agent NOTCONTAINS CitrixReceiver", which block Workspace authentication request to be honored.

You may confirm it in NetScaler nstrace syslog:

"syslog error: "AAA Client Handler: Found extended error code 262150, ReqType 16388 request /cgi/login""


image.png