Error: "Cannot retrieve discovery document" when the Provisioning File is Run

Error: "Cannot retrieve discovery document" when the Provisioning File is Run

book

Article ID: CTX135023

calendar_today

Updated On:

Description

When the users try to run the Provisioning File (receiverconfig.cr) to add or replace a store, the following error might occur:

“Cannot retrieve discovery document”

User-added image

Citrix Receiver for Windows 3.2 (or later) is not able to contact the store URL discovery path.

Examplehttps://storefront.example.com/Citrix/<StoreName>/discovery

Resolution

The following are the three possible causes and the corresponding resolutions:

Cause 1 

Access Gateway is not able to resolve the StoreFront fully qualified domain name (FQDN).

Resolution 1

Ensure that the Access Gateway is able to resolve the FQDN of StoreFront server. IT Administrators can enter a host entry or create an address record with the correct IP address if access to DNS is denied. Otherwise, ensure the correct host (A) record is created on DNS server for StoreFront.

Cause 2

An incorrect Clientless Access method has been selected (Allow) on NetScaler Access Gateway 10.

Resolution 2

If NetScaler Access Gateway 10 has been configured to use Clientless Access, ensure to set it to ON.

User-added image

For more information on how to configure NetScaler Access Gateway 10 with CloudGateway for Citrix Receiver connections, refer to Creating the Session Profile for Receiver for CloudGateway Enterprise.

For any other configuration, refer to Integrating Access Gateway with CloudGateway.

Cause 3

Refer to Resolution 3 if one of the following is the cause for the error.

  • IIS services have Stopped, as displayed in the following screen shot.

    User-added image

  • Citrix Delivery Services Resources (Application Pools) has Stopped, as displayed in the following screen shot.

    User-added image

Resolution 3

Ensure that IIS services are started including the Citrix StoreFront Application Pools. Check Event Viewer (Application, System or Citrix Delivery Services logs) for any errors generated that could lead to the root cause of the problem.

Resolution 4

Check for any Antivirus blocking the access and connectivity to StoreFront.

Issue/Introduction

This article describes the most common causes that generates the error "Cannot retrieve discovery document" when running a provisioning file from Citrix Receiver for Windows 3.2 or later and provides resolutions for the same.