Environment
Component
Version
Wazuh Dashboard
4.14.5
Wazuh Manager
4.14.5
Wazuh Indexer
4.14.5
OpenSearch
Bundled with Wazuh 4.14.5
OS
Ubuntu 22.04 LTS
Deployment
3 Managers (1 Master + 2 Workers), 3 Indexers, 1 Dashboard
Upgrade path
Upgrade performed in-place using apt packages.
Cluster topology
Dashboard
│
▼
Master Manager│
┌────┴────┐
│ │
Worker-1 Worker-2
Indexer Cluster
3 nodes
Cluster Health: GREEN
Problem
After upgrading to 4.14.5, Server Management shows:
Master Online
Worker-1 Offline
Worker-2 Offline
Dashboard displays:
Error checking manager connection
1000 - Unexpected error
Workers are actually healthy and clustered correctly.
Browser
Developer Tools:
POST /api/check-api
HTTP 500
Sometimes HTTP 503
Dashboard log
POST /api/check-api 500
Internal Server Error
No useful exception is logged.
Investigation performed
Verified:
✅ Wazuh Manager cluster healthy
Verified:
returns all three nodes correctly.
Verified:
works on
Verified:
API Authentication
POST
/security/user/authenticate?raw=true
returns valid JWT token.
Verified:
Dashboard reaches every API.
returns
when no token supplied.
Expected behavior.
Verified:
Dashboard service
systemctl status wazuh-dashboard
healthy.
Verified:
Indexer cluster
Verified:
OpenSearch connectivity
Working.
Verified:
TLS certificates
Working.
Source code investigation
Inspected
plugins/wazuh/server/routes/wazuh-api.js
The route
calls
Inspected
Function
Execution reaches
const responseManagerInfo =
await apiReq.get("/manager/info");
const uuid =
responseManagerInfo.data.data.affected_items[0].uuid;
const result =
await context.wazuh_core.manageHosts.getRegistryDataByHost(data);
/manager/info succeeds.
The HTTP 500 appears after calling
context.wazuh_core.manageHosts.getRegistryDataByHost(data)
suggesting an exception occurs in dashboard host registry processing.
Expected behavior
All three managers should display
Actual behavior
Master Online
Worker-1 Offline
Worker-2 Offline
Although
-
API works
-
Cluster works
-
Dashboard reaches managers
Questions
-
Is this a known migration issue from 4.10.x to 4.14.x?
-
Can manageHosts.getRegistryDataByHost() fail because of old dashboard registry data?
-
Is there a supported way to rebuild only the Dashboard host registry?