Agent connection may fail with error urlopen error Errno 11001 getaddrinfo failed

Agent connection may fail with error <urlopen error [Errno 11001] getaddrinfo failed>

A backup warning may appear in the backup log: "Info - Following 'app-aware' agents are not connected: <instanceID>"

The following error may appear in the remote agent log:
ERROR:  get_agent_tasks(agentapi_requests.pyo:374)  failed calling url https://<CPMHostname> Exception: <urlopen error [Errno 11001] getaddrinfo failed>

This error indicates DNS name resolution may not be working properly for the machine with the agent installed.

There are several possible resolutions:

1. Repair DNS name resolution for the instance.

2. Modify agent configuration located at C:\Program Files (x86)\CPM Agent\cpmagent.cfg, changing server_address to the public IP address of the CPM server.

3. Or you may reinstall the CPM agent, entering the IP address of the CPM server, instead of hostname during install.