Error: Cannot connect to server through NetScaler Gateway when adding an account to citrix receiver

Error: Cannot connect to server through NetScaler Gateway when adding an account to citrix receiver

book

Article ID: CTX216742

calendar_today

Updated On:

Description

Application enumeration fails through citrix receiver when adding an account through netscaler gateway. 

Resolution

  • From netscaler logs (/var/log/ns.log), found out that application firewall on Netscaler is blocking the traffic.
  • Run the following commands to check AppFW logs. From CLI go to shell mode and go to /var/log and run below command:
  •  cat ns.log | grep appfw
  • We can disable the application firewall feature or create Application Firewall bypass Profile to bypass any AppFW check for NetScaler Gateway FQDN.
  • Run following command to add Appfw bypass policy for gateway FQDN.
> add appfw policy test_appfw "http.req.hostname.eq(\"abc.xyz.com\")" APPFW_BYPASS

Where "abc.xyz.com" is netscaler gateway FQDN

Problem Cause

Application Firewall blocking the request for netscaler gateway.