Hello community,
I am trying to upgrade several Wazuh agents that are currently running version 4.10.1, while my Wazuh manager/console is on version 4.12. When attempting to upgrade the agents using agent_upgrade, I receive the following error:
Failed upgrades:
Agent 2633 status: Timeout reached while waiting for the response from the agent, check the result manually on the agent for more information
I also tried performing the upgrade through the API, but at first I received:
"Invalid authorization header"
After generating the token correctly, I was able to create the upgrade task, but the agent still does not upgrade.
My questions are:
What could be causing the timeout when trying to upgrade the agent?
Is there a specific log (both on the manager and on the agent) where I can check what is preventing the upgrade?
Is there any known issue when upgrading agents from 4.10 → 4.12 on Linux systems running kernel 4.18?
What would be the most reliable procedure to upgrade agents in this version range?
Thank you in advance for any guidance.
[root@btasaplseg16 usrapl]# curl -k -X GET "
https://localhost:55000/agents/upgrade_result?agents_list=2633&pretty=true" -H "Authorization: Bearer $TOKEN"
{
"data": {
"affected_items": [
{
"message": "Success",
"agent": "2633",
"task_id": 584,
"node": "node01",
"module": "upgrade_module",
"command": "upgrade",
"status": "Timeout reached while waiting for the response from the agent, check the result manually on the agent for more information",
"create_time": "2025-11-20T15:40:04Z",
"update_time": "2025-11-20T15:55:04Z"
}
],
"total_affected_items": 1,
"total_failed_items": 0,
"failed_items": []
},
"message": "All upgrade tasks were returned",
"error": 0
[root@btasaplseg16 usrapl]# /u01/ossec/bin/agent_control -i 2633
Wazuh agent_control. Agent information:
Agent ID: 2633
Agent Name: btasaplclear01
IP address: any
Status: Active
Operating system: Linux |
btasaplclear01.rbm.com.co |4.18.0-553.81.1.el8_10.x86_64 |#1 SMP Thu Oct 16 14:01:33 EDT 2025 |x86_64
Client version: Wazuh v4.10.1
Configuration hash: ab73af41699f13fdd81903b5f23d8d00
Shared file hash: cb5dc59d195320bb20b6039a519a8c0e
Last keep alive: 1763673253
Syscheck last started at: Thu Nov 20 14:34:57 2025
Syscheck last ended at: Thu Nov 20 14:35:05 2025