I have the following error on a wazuh agent, I have already followed all the procedures in the troubleshooting guide and the error continues.
2023/10/25 17:02:59 wazuh-agent: INFO: Started (pid: 17572).
2023/10/25 17:03:00 wazuh-agent: INFO: Using password specified on file: authd.pass
2023/10/25 17:03:00 wazuh-agent: INFO: Using agent name as: DESKTOP-XXXX2
2023/10/25 17:03:00 wazuh-agent: INFO: Waiting for server reply
2023/10/25 17:03:00 wazuh-agent: ERROR: Invalid password (from manager)
2023/10/25 17:03:00 wazuh-agent: ERROR: Unable to add agent (from manager)
2023/10/25 17:03:00 wazuh-agent: INFO: Requesting a key from server: xx.x.xx.xx
2023/10/25 17:03:01 wazuh-agent: INFO: Using agent name as: DESKTOP-xxxxx2
2023/10/25 17:03:01 wazuh-agent: INFO: Waiting for server reply
2023/10/25 17:03:01 wazuh-agent: ERROR: Invalid password (from manager)
2023/10/25 17:03:01 wazuh-agent: ERROR: Unable to add agent (from manager)
I have already tested the connection using the troubleshooting guide and the connection is fine.
I have also followed the authentication configuration manual via auth.pass (
https://documentation.wazuh.com/current/user-manual/agent-enrollment/security-options/using-password-authentication.html)
Check if the credentials match, the one on the manager's server and the one on the agent and they are exactly the same.So I don't know what could be causing this error, can anyone help me with this?
additional information:
I'm running wazuh on version 4.3, I've restarted the service, I've reinstalled the agent on the endpoint and I've tested the endpoint connection to manager with the command: (new-object Net.Sockets.TcpClient).Connect("xx. x.xx.xx", 1514,1515,5500)