VMware Horizon Community
DaviesJ
Contributor
Contributor
Jump to solution

View 5 PCOIP Experiencing Black Screen

Hi All,

I am experiencing the much discussed Black screen while trying to access a desktop session via PCOIP. RDP connections work fine. I have followed ( I believe) the document referring to the 3 steps to rectify this issue with no luck. I am unable to get connections via PCOIP working correctly via the connection server (internal) or security server (external)

Any assistance would be appreciated. Setup is as follows

1 VC (vsphere 5)

1 Connection server - view 5 install (windows firewall disabled)

1 Security Server - View 5 install (windows firewall disabled)

Windows 7 virtual desktops (windows firewalls disabled)

Connection Server Config

HTTPS Secure Tunnel is configured with the URL for the Connection server with the connection to desktop enabled

PCOIP Gateway is configured with the Connecting Server IP address with this Use secure gateway for pcoip desktop connections checked

Security Server Config

HTTPS Secure Tunnel is configured with the externally connectable URL

PCOIP External Gateway is configured with the Externally connectable IP Address (same IP as what the url for the above secure tunnel resolves to)

While trying to connect to pcoip session from the LAN, receive a black screen for approximately 10 seconds then a disconnect with no error.

While trying to connect via external., the same behavior occurs.

To assist with the trouble-shooting of this issue, I have allowed all traffic between subnets. I am not seeing any packets being dropped via the firewalls.

Cheers

Log on the security server (PCOIP Secure Gateway logs) have the following entry

[2011-Dec-28 12:36:03.771304]: Connected to PCoIP server
[2011-Dec-28 12:36:05.303531]: SSL handshake completed with PCoIP client
[2011-Dec-28 12:36:05.332828]: Setup a PCoIP client to server UDP tunnel [1903182396-0]: 10.10.50.50:4172
[2011-Dec-28 12:36:05.332828]: Setup a PCoIP server to client UDP tunnel [1218755094-0]: 0.0.0.0:4172
[2011-Dec-28 12:36:05.367007]: SSIG client connection error while reading SSIG APDU header: A request to send or receive data was disallowed because the socket had already been shut down in that direction with a previous shutdown call
[2011-Dec-28 12:36:06.336734]: Error reading SSIG header from PCoIP server: A request to send or receive data was disallowed because the socket had already been shut down in that direction with a previous shutdown call
[2011-Dec-28 12:36:09.805484]: header received
[2011-Dec-28 12:36:09.805484]: PCOIP-SG/1.0
[2011-Dec-28 12:36:09.805484]: XML
[2011-Dec-28 12:36:09.805484]: PSGC27-1781
[2011-Dec-28 12:36:09.805484]: 93
[2011-Dec-28 12:36:09.805484]: xml received 93 93
[2011-Dec-28 12:36:09.805484]: Received command: get-counters

Justin

0 Kudos
21 Replies
Nshoa
Contributor
Contributor
Jump to solution

The problem I experienced had to do  with the PCoIP protocol that needed to be manually defined on our  firewalls. Once the source port for 4172 UDP/TCP was set to dynamic 1 to  65535 we were able to connect via PCoIP.

2124368.png

Hopefully this will save you hours of troubleshooting.

0 Kudos
markbenson
VMware Employee
VMware Employee
Jump to solution

Thanks for posting. In general it is very dangerous to restrict connections based on source port as in most cases source ports are dynamically allocated.

Most causes of PCoIP black screen are because the firewall has been setup to block it. That was your case too.

Mark

0 Kudos