How To Detect PCoIP Session Disconnection Problem?

As you know, VMware View using PCoIP and RDP protocols for transfer multimedia data and other data between virtual desktop and clients. One session will be opened between virtual desktop and client that managing by connection server. Some times, this session closed cause of many problems such as network problems, virtual desktop problem and etc.

You can use some log files that stored on virtual desktop for detect problem and find solution for resolve that.

VMware release a KB1027744 about location of VMware View log files. you can find the log files and use the below table for detect PCoIP disconnection problem:

This table lists the common PCoIP Disconnection Codes:

 
Variable Name
CodeDescription
TERA_DISCONNECT_CAUSE_NONE
0x00000000
PCoIP session terminated due to lost network.
TERA_DISCONNECT_CAUSE_HOST_BROKER_INTERNAL_SERVER_FAILURE0x00000100PCoIP connection not established due to failure of PCoIP server initialization. This should not occur. Please contact Teradici support.
TERA_DISCONNECT_CAUSE_HOST_BROKER_GENERIC0x00000101PCoIP connection not established due to failure of PCoIP server initialization. This should not occur in normal operation. Note: If the Welcome Screen is enable in the View Administrator a
ConnectionTicketTimeout will
trigger a disconnect after 15
min with this code.
TERA_DISCONNECT_CAUSE_HOST_BROKER_SESSION_EXPIRY_TIMEOUT0x00000102PCoIP session terminated due to VMware View Connection Server (broker) maximum session duration (Connection Server setting) exceeded.
TERA_DISCONNECT_CAUSE_HOST_BROKER_MANUAL_USER_LOGOUT0x00000103PCoIP session terminated due to the VDI user selecting Logoff or Restart from Windows in the VDI session.
TERA_DISCONNECT_CAUSE_HOST_BROKER_MANUAL_ADMIN_DISCONNECT0x00000104PCoIP session terminated due to admin manually disconnected the session from the Administrative Web Interface.
TERA_DISCONNECT_CAUSE_HOST_BROKER_RECONNECT
0x00000105PCoIP session terminated due to login from an alternate location.
TERA_DISCONNECT_CAUSE_HOST_BROKER_RECONNECT0x00000105Pre-connection warmup initialization of PCoIP Server. This is not for actual connection. If the size of the log is under 15 Kbytes, this is a pre-connection warmup startup/shutdown sequence.
TERA_DISCONNECT_CAUSE_HOST_DRIVER_MANUAL_USER_DISCONNECT0x00000200PCoIP session terminated due to the user right-clicking the host driver icon in the tray and then selecting MenuDisconnect. Applicable only to clients connecting to a hard host and not VDI.
TERA_DISCONNECT_CAUSE_HOST_DRIVER_INCOMPATIBLE_
DRIVER_VERSION
0x00000201PCoIP connection not established due to incompatible host driver version (not used for VDI).
TERA_DISCONNECT_CAUSE_DEVICE_OSD_MANUAL_USER_DISCONNECT0x00000300PCoIP session terminated due to the user closing the View Client window or due to the user ending the View application task inside the Windows Task Manager
TERA_DISCONNECT_CAUSE_DEVICE_GPIO_MANUAL_USER_DISCONNECT0x00000301PCoIP session terminated due to the user clicking the zero client’s Disconnect button. Not applicable for soft clients.
TERA_DISCONNECT_CAUSE_DEVICE_WEB_MANUAL_ADMIN_DISCONNECT0x00000302PCoIP session terminated due to the user clicking the Disconnect button in the client Administrative Web Interface. Not applicable for soft clients.
TERA_DISCONNECT_CAUSE_DEVICE_BROKER_DISCONNECT0x00000303The VMware View Connection Server (broker) requested the session to end.
TERA_DISCONNECT_CAUSE_DEVICE_PWR_SLEEP_DISCONNECT0x00000304PCoIP session terminated due to Power Sleep disconnect (not used for VDI).
TERA_DISCONNECT_CAUSE_DEVICE_SCARD_MANUAL_USER_
DISCONNECT
0x00000305PCoIP session terminated due to user pulling out the smart card used for user authentication.
TERA_DISCONNECT_CAUSE_DEVICE_ONESIGN_USER_DISCONNECT0x00000306PCoIP session terminated due to user taking action specified by OneSign to be a disconnect command (for example, double tapping the card).
TERA_DISCONNECT_CAUSE_DEVICE_INTERNAL_SSIG_KEEPALIVE_
FAILURE
0x00000400Zero client and View 4.5 and earlier: PCoIP session terminated due to network issues on TCP/SSL connection (keepalive ping timeout).
TERA_DISCONNECT_CAUSE_DEVICE_INTERNAL_MEDIA_OPEN_TIMEOUT0x00000401PCoIP connection not established due to networking issues or failure to open drivers, such as video, audio, or USB.
TERA_DISCONNECT_CAUSE_DEVICE_INTERNAL_PCOIP_OPEN_TIMEOUT0x00000402PCoIP connection not established due to networking issues.
TERA_DISCONNECT_CAUSE_DEVICE_INTERNAL_PCOIP_LOST0x00000403PCoIP session terminated due to various reasons. For example, network lost or client/server crash.
TERA_DISCONNECT_CAUSE_DEVICE_INTERNAL_INCOMPATIBLE_
VIDEO_DRIVER_VERSION
0x00000404PCoIP connection not established due to inability to use the VMware video driver on the server.
TERA_DISCONNECT_CAUSE_DEVICE_INTERNAL_ENCRYPTION_MISMATCH0x00000405PCoIP connection not established due to client and server not having a common encryption method enabled.
TERA_DISCONNECT_CAUSE_DEVICE_INTERNAL_SSIG_NEGOTIATION_
COMPLETE
0x00000406Zero Client and View 4.5 and earlier: PCoIP session terminated due to network issues on TCP/SSL connection. Zero client and View 4.6 (and later). This is normal operation since the TCP/SSL connection is terminated right after session negotiation.
TERA_DISCONNECT_CAUSE_DEVICE_INTERNAL_SSIG_CLOSED_AES_
DISABLED
0x00000407PCoIP connection not established due to the View Security Server detecting that AES encryption is disabled on either the client and/or server.

Also you can use PCoIP Log Viewer for analyze log file. yo can download this tool form this link: http://mindfluxinc.net/?p=449

Davoud Teimouri
Davoud Teimouri

Professional blogger, vExpert 2015/2016/2017/2018/2019/2020/2021/2022/2023/2024/2025, vExpert NSX, vExpert PRO, vExpert Security, vExpert EUC, VCA, MCITP. This blog is started with simple posts and now, it has large following readers.

Leave a Reply

Your email address will not be published. Required fields are marked *