Resolution:
One of the possible cause for this error message is that the listener process is not start for that Agent.
In the INI of the agent, the parameters ListenerUID and ListenerGID should be verified and set correctly on a valid user and its group.