If you go this error it’s probably because something is missing in the configuration on the NetScaler side.

Here are some explanations:

When you edit your XenMobileGateway you should have this:

3 session Policies

2 ClientlessAccess Policies

6 Cache Policies

The issue is that the 2 ClientlessAccess Policies are missing.

How to add those policies:

To configure a clientless access policy for Receiver

  1. In the configuration utility, on the Configuration tab, expand NetScaler Gateway > Policies and then clickClientless Access.
  2. In the details pane, on the Policies tab, click Add.
  3. In Name, type a name for the policy.
  4. Under Expression, type HTTP.REQ.HEADER(“User-Agent”).CONTAINS(“CitrixReceiver”) && HTTP.REQ.HEADER(“X-Citrix-Gateway”).EXISTS .
  5. Next to Profile, click New.
  6. In Name, type a name for the profile.
    Important: Do not change any settings in the profile.
  7. Click Create two times and then click Close.