How to Enable Debug Logging for Proxy Events on Citrix Cloud Connector

How to Enable Debug Logging for Proxy Events on Citrix Cloud Connector

book

Article ID: CTX203333

calendar_today

Updated On:

Description

This article outlines the process to output additional debugging messages relating to proxy connectivity for the Citrix Cloud Connector to the Windows Event Logs. 

Note: If you are experiencing connectivity issues, run the Connectivity Check tool to verify reachability proxy server(s) plus other Citrix Cloud services.


Instructions

To Debug the Proxy settings, the ServiceWebProxy supports registry settings that enable output of events to the Windows Event Log (Application Log). 

  1. Create the following registry key on the Server, where you are installing the Citrix Cloud Connector or where you are having connectivity issues between the Citrix Cloud Connector and Citrix Cloud. 

[HKEY_LOCAL_MACHINE\SOFTWARE\Citrix\CloudServices\ServiceWebProxy]
"EnableEventLog"=dword:00000001
"EventLogSource"="Citrix.CloudServices.ServiceWebProxy" TYPE : REG_SZ


[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Citrix\CloudServices\ServiceWebProxy]
"EnableEventLog"=dword:00000001
"EventLogSource"="Citrix.CloudServices.ServiceWebProxy" TYPE : REG_SZ
  
  1. Next, from an administrative PowerShell prompt, run the following command:

New-EventLog -LogName 'Application' -Source 'Citrix.CloudServices.ServiceWebProxy
  1. Restart the Citrix Cloud Services on the Connector. 

  2. For each service started Proxy related messages should be recorded in the Windows Application Logs in Event Viewer. 

Note: To disable the additional Proxy logging after completing troubleshooting, change both the "EnableEventLog" values from 1 to 0. 

Environment

Caution! Using Registry Editor incorrectly can cause serious problems that might require you to reinstall your operating system. Citrix cannot guarantee that problems resulting from the incorrect use of Registry Editor can be solved. Use Registry Editor at your own risk. Be sure to back up the registry before you edit it.