Hi,
Such errors occured when the local operating system is not able to resolve the hostname returned from the destination CMS, so you can run nslookup for both IP address and hostname of CMS server from the local machine and check if its getting resolved.
If it's not, you can do the host file entries on the localmachine and check.
Regards,
Girish