Error: "An Error has Occurred While Connecting to the Requested Resource"

Error: "An Error has Occurred While Connecting to the Requested Resource"

book

Article ID: CTX136825

calendar_today

Updated On:

Description

When users attempt to launch applications, the following error message is received:
"An error has occurred while connecting to the requested resource."

Restarting the server allows the server to accept incoming connections but over time it begins to refuse connections again. The "Event ID 2005, CitrixHealthMon" is logged in the Event Viewer and the details listed state the following:
"Test threshold reached for the XML Service test. The action to Remove server from load balance table will now be performed."

The XenApp Computer policy "Health monitoring" is enabled (default behavior). The Citrix XML service is port-sharing TCP port 80 with IIS.

Resolution

If TCP port 80 sharing is not required, change the port XML uses for traffic. Refer to CTX125153 - How to Configure XML to Use a Different Port in XenApp 6.0 and 6.5 for instructions.

If TCP port 80 sharing with IIS is required, complete the following steps:
  1. Launch the Delivery Services Console.

  2. Select Policies, choose the Computer tab.
  3. Select Unfiltered, and then click Edit.

  4. Click Next, locate Health Monitoring and Recovery on the left.

  5. Click Health monitoring tests and the click Add.

  6. Highlight XML Service test, click "Edit…", change "Recovery action" to "Alert only", click OK twice and click Save.

  7. Run cmd.exe and perform gpupdate /force for the change to take effect.


Problem Cause

By default, XenApp 6.0 is configured to disable logins to a server if it fails the XML Service Health Monitoring test five times. Port-sharing TCP port 80 increases the traffic on the same port XML uses and can cause a conflict, resulting in XML traffic failing.

Issue/Introduction

This describes an issue and resolution regarding application launch where users receive the error "An error has occurred while connecting to the requested resource."