VMware Horizon Community
TheWizard1512
Contributor
Contributor

Intermittent failure to connect to hardware PCoIP source

I have a VMWare View environment which mixes hardware and software PCoIP clients, as well as hardware and software PCoIP hosts. Don't ask me why. This is mostly working fine, except for an intermittent error that I hit when trying to connect from a software client onto a hardware host. About 50% of the time this works fine, for the other 50% the client raises the classic error:  "the selected display protocol is currently unavailable". A quick dig in the Agent log shows this output for the failures:

09/20/2012, 11:12:21.457> LVL:2 RC:   0           AGENT :pcoip_agent_connect_req: For Hard Host: Using Version 1 Tag
09/20/2012, 11:12:21.457> LVL:2 RC:   0             PRI :pcoip_agent_connect_req: Session ID Tag for Hard Host: zKjitIJHL9NQ
09/20/2012, 11:12:21.457> LVL:2 RC:   0           AGENT :server_listen_on_addr is X.X.X.X (host order)
09/20/2012, 11:12:21.457> LVL:2 RC:   0           AGENT :pcoip_agent_connect_req: Session ID = 11
09/20/2012, 11:12:21.457> LVL:2 RC:   0           AGENT :codec = 0.
09/20/2012, 11:12:21.457> LVL:2 RC:   0           AGENT :PCOIP_AGENT_CODEC_HW_TERA1 - selected.
09/20/2012, 11:12:21.457> LVL:2 RC:   0           AGENT :PCOIP_AGENT_CODEC_HW_TERA1 - checking for card ready.
09/20/2012, 11:12:21.457> LVL:2 RC:   0           AGENT :PCOIP_AGENT_CODEC_HW_TERA1 - getting MAC.
09/20/2012, 11:12:21.472> LVL:2 RC:   0           AGENT :ipv4_cfg_get returned ipaddr=Y.Y.Y.Y.
09/20/2012, 11:12:21.488> LVL:2 RC:   0           AGENT :conn_port_get returned port='<port>'.
09/20/2012, 11:12:21.488> LVL:2 RC:   0           AGENT :setting response ipaddr to YHex.
09/20/2012, 11:12:22.488> LVL:1 RC:   0           AGENT :                  cTERA_DEV::synch_ioctl: synch ioctl timed out
09/20/2012, 11:12:22.504> LVL:1 RC:   0           AGENT :          cTERA_PCOIP_LINK::sess_tag_set: TERA_PCOIP_HCC_IOCTL_HMI_VAR_SET ioctl failed -504
09/20/2012, 11:12:22.504> LVL:1 RC:-504           AGENT :tera_agent_remove_tera1_tag: sess_tag_set failed.
09/20/2012, 11:12:23.504> LVL:1 RC:   0           AGENT :                  cTERA_DEV::synch_ioctl: synch ioctl timed out
09/20/2012, 11:12:23.519> LVL:1 RC:   0           AGENT :          cTERA_PCOIP_LINK::sess_tag_set: TERA_PCOIP_HCC_IOCTL_HMI_VAR_SET ioctl failed -504
09/20/2012, 11:12:23.519> LVL:1 RC:-504           AGENT :sess_tag_set failed.
09/20/2012, 11:12:23.519> LVL:2 RC:   0           AGENT :pcoip_agent_connect_req (end): connection_response, 2

A quick google has suggested that other people have had similar issues when particular security applications have locked down resources that the view agent needed to access. This seems a quite likely cause in my environment, but I'm not using any of the specific applications that I've seen listed as causing issues. What would be great is if I could find out what resource the agent is failing to gain access to so that I can grant this permission. I haven't seen anything relevant in the windows event logs.

In general, having had the failure, restarting the agent gives me another ~50% chance of a successful connection so continued restarts do eventually give me a working connection.

If anybody can clarify this behaviour I will be eternally grateful. Or grateful for a few weeks at least.

Versions:

View 5.1.1

Windows XP

ESXi 5.0

TERA1, firmware 3.4.0

Tags (1)
0 Kudos
4 Replies
TheWizard1512
Contributor
Contributor

Oh, I meant to add that the View connection broker always displays the source as available, so no obvious agent error being reported.

0 Kudos
mgilgien
Contributor
Contributor

Did you ever solve this problem ?

I'm running into the exact same issue with a Terra 2 hostcard. Only difference: Once connected and then disconnected i can't establish a connection again because of the protocol being in usw...

0 Kudos
DonCW
Contributor
Contributor

I am running into this same issue. My OS is Windows 8.1. Prior to upgrading to 8.1 from 8, I was able to connect reliably from another Windows 8 device, but iOS couldn't connect. Since upgrading, reboots, restarting service, do not allow me to connect from anything.

0 Kudos
mgilgien
Contributor
Contributor

In my case i was able to solve the problem which in the end was related to something totally different :

We use HP Z420 Workstations together with EVGA HD 3 Host Cards. I tested a direct connection from a zero client to the host card without the session being brokered by view. Exactly the same thing happened, the session did not get released when i disconnected from the zero client.To make a long story short: At the end teradici was able to point me at an issue where the HP Z420 BIOS wasn't playing well with the host card. This can be seen when you open up device manager and you see a device problem on the bus where your host card resides in. A beta bios which i got from HP directly solved the problem. The final version of the bios will be released in May 2014.

0 Kudos