Director: Error "Unexpected error. Check your network .... Further Information" When Retrieving Current Connection or Session Data on Filters Page

Director: Error "Unexpected error. Check your network .... Further Information" When Retrieving Current Connection or Session Data on Filters Page

book

Article ID: CTX208236

calendar_today

Updated On:

Description

When we try to see current connections and some other session data on filters page of director, we get the following Error : "Unexpected error. Check your network connection or view server event logs for further information."

Eventlog Error: Failed to connect to data source 'Unknown error.' ('http://[DDC]/Citrix/Monitor/OData/v1'). Verify that the data source is available.
 

Resolution

The following approach resolved this issue:

1) Replaced C:\Program Files\Citrix\Monitor\Service\Citrix.Monitor.exe.config file with C:\Program Files\Citrix\Monitor\Service\Citrix.Monitor.exe.template file.
2) Stopped Citrix Monitor service.
3) Used the following netsh command to register URLACL for missing v2 services

netsh http add urlacl url=http://+:80/Citrix/Monitor/OData/v2 user="NT AUTHORITY\NETWORK SERVICE" netsh http add urlacl url=http://+:80/Citrix/Monitor/OData/Site/v2 user="NT AUTHORITY\NETWORK SERVICE"

4) Started Citrix Monitor Service.
5) Launched Powershell and ran "asnp citrix*
6) Ran the powershell cmdlet "Get-MonitorServiceInstance" to check V2 service instances were there.
7) Repeated above steps on other DDC before un-registering and registering services.
8) There is a requirement to register all instances with the Configuration Service.

Unregistered all Monitor Service Instances first using PS:
Unregister-ConfigRegisteredServiceInstance –ServiceInstanceUid XXXXX

9) Registered all instances: Get-MonitorServiceInstance | Register-ConfigServiceInstance
10) Tested with director - data that was missing was now available.

Problem Cause

Monitor.service.config file did not get updated when customer upgraded from  XenDesktop 7.5 to 7.6. It was missing v2 services and some bindings that prevented some information from being displayed in director.

Issue/Introduction

When we try to see current connections and some other session data on filters page of director, we get the following Error : "Unexpected error. Check your network connection or view server event logs for further information."