I think this is quite strange and had me scratching my head for a while.
On a VMware Player VM, using bridged networking. I think that’s irrelevant.
The VM is running Windows Server 2008 R2 SP1 with all latest updates. Windows Firewall is on in its default state, i.e. allow outgoing connections, block incoming connections.
Citrix Receiver Enterprise version 3.2 (220.127.116.1131) installed with the following command line:
CitrixReceiverEnterprise.exe /noreboot /silent /includeSSON ENABLE_DYNAMIC_CLIENT_NAME=Yes SERVER_LOCATION=http://citrixpna
On launching the Receiver I get the following pop-up message (over and over and over again…):
Citrix Receiver An error occurred on the Citrix servers while attempting to complete the request.
Also a pop-up in the bottom right of the screen:
Citrix Citrix Receiver could not contact the server. Please check your network connection.
This is rubbish, I can contact the Citrix XenApp Services web server via Internet Explorer and retrieve the XML from the default location of:
I turned on Windows Firewall logging of dropped packets, fired up the Receiver let it error for a bit, then had a look at the pfirewall.log file. There was incoming traffic on port 137/udp from one of the two XenApp Services web servers.
I created a firewall rule to allow incoming traffic from both XenApp Services web servers on 137/udp and now Citrix Receiver works.
Disabling the firewall rule breaks it again, so it seems fairly conclusive.