I came across the above error under vSphere – ESX 4.0 running under workstation.
To fix it, add the following line to the /etc/vmware/config file in the VMware ESX Service Console:

” vmauthd.server.alwaysProxy=TRUE “