An error occurred while making the requested connection - Citrix Web Interface

22 Jul 2013

So I’m getting the dreaded An error occurred while making the requested connectionwhile trying to launch some applications from our Citrix Web Interface. It started happening suddenly but I’m tasked with figuring out why. First thing I did was go to the Web Interface and check the event logs. I found the following:

 

This wasn’t much help, but I was able to narrow down that this was happening on one set of our servers that are split across two DC’s. One set of servers at BDC was fine, the other set of servers at ADC had a subset of servers that were not. Doing a qfarm /load showed the problematic servers had no users on them at all, and no load evaluators were applied that would be causing our issue.

Logging into the server it was deteremined that it’s DNS was registered to the wrong NIC (it was a PVS server that was multi-homed) and even worse for some of the servers, the NIC IP address was an old address and the new address wasn’t even resolving!

For some reason it now appears our Windows 2008 servers are not registering their DNS on startup. To resolve this issue for us we added a startup script with the simple command “ipconfig /registerdns” and within a few seconds the IP address is registered within DNS correctly and with the correct NIC. We suspect that something is misconfigured at ADC as BDC does not have this issue nor does it need this tweak, but this is our work around until that is resolved.