[BUG] After upgrade to 4.9.0-1 (debian12) stuck with "Response Error" in log and "Wazuh dashboard server is not ready yet" #292
Description
Describe the bug
A clear and concise description of what the bug is.
To Reproduce
I upgraded from 4.8 (4.8.2 I believe), following https://documentation.wazuh.com/current/upgrade-guide/upgrading-central-components.html
Steps to reproduce the behavior:
- Upgrade to 4.9.0.
- Try to reach the dashboard login screen via browser
- Web page shows "Wazuh dashboard server is not ready yet"
Expected behavior
- Dashboard login screen when browsing to the server.
OpenSearch Version
wazuh-indexer/now 4.9.0-1 amd64 [installed,local]
wazuh-manager/now 4.9.0-1 amd64 [installed,local]
Dashboards Version
wazuh-dashboard/now 4.9.0-1 amd64 [installed,local]
Plugins
Please list all plugins currently enabled.
Not sure how I find out. I think I run more or less "out of the box" installation.
Screenshots
If applicable, add screenshots to help explain your problem.
Host/Environment (please complete the following information):
- OS: debian 12, Linux 6.8.12-1-pve (LXC container on proxmox)
- Browser and version: Firefox 130.0
Additional context
I have updated before. Started with a 4.7.x version, got through a couple of 4.8.x steps. All worked well previously following the instructions.
wazuh-manager and wazuh-indexer and wazuh-dashboard all show "active (running)" when asking systemctl status .
However, wazuh-dashboard fills the "log" (journalctl) with
Sep 05 21:35:47 wazuh opensearch-dashboards[2809]: {"type":"log","@timestamp":"2024-09-05T19:35:47Z","tags":["error","opensearch","data"],"pid":2809,"message":"[ResponseError]: Response Error"}
Sep 05 21:35:49 wazuh opensearch-dashboards[2809]: {"type":"log","@timestamp":"2024-09-05T19:35:49Z","tags":["error","opensearch","data"],"pid":2809,"message":"[ResponseError]: Response Error"}
Sep 05 21:35:52 wazuh opensearch-dashboards[2809]: {"type":"log","@timestamp":"2024-09-05T19:35:52Z","tags":["error","opensearch","data"],"pid":2809,"message":"[ResponseError]: Response Error"}
Sep 05 21:35:54 wazuh opensearch-dashboards[2809]: {"type":"log","@timestamp":"2024-09-05T19:35:54Z","tags":["error","opensearch","data"],"pid":2809,"message":"[ResponseError]: Response Error"}
Sep 05 21:35:57 wazuh opensearch-dashboards[2809]: {"type":"log","@timestamp":"2024-09-05T19:35:57Z","tags":["error","opensearch","data"],"pid":2809,"message":"[ResponseError]: Response Error"}
Restarting wazuh-dashboard generates the following log-flow
Sep 05 21:37:14 wazuh systemd[1]: Started wazuh-dashboard.service - wazuh-dashboard.
Sep 05 21:37:16 wazuh opensearch-dashboards[3109]: {"type":"log","@timestamp":"2024-09-05T19:37:16Z","tags":["info","plugins-service"],"pid":3109,"message":"Plugin \"dataSourceManagement\" has been disabled since the following >
Sep 05 21:37:16 wazuh opensearch-dashboards[3109]: {"type":"log","@timestamp":"2024-09-05T19:37:16Z","tags":["info","plugins-service"],"pid":3109,"message":"Plugin \"applicationConfig\" is disabled."}
Sep 05 21:37:16 wazuh opensearch-dashboards[3109]: {"type":"log","@timestamp":"2024-09-05T19:37:16Z","tags":["info","plugins-service"],"pid":3109,"message":"Plugin \"cspHandler\" is disabled."}
Sep 05 21:37:16 wazuh opensearch-dashboards[3109]: {"type":"log","@timestamp":"2024-09-05T19:37:16Z","tags":["info","plugins-service"],"pid":3109,"message":"Plugin \"dataSource\" is disabled."}
Sep 05 21:37:16 wazuh opensearch-dashboards[3109]: {"type":"log","@timestamp":"2024-09-05T19:37:16Z","tags":["info","plugins-service"],"pid":3109,"message":"Plugin \"visTypeXy\" is disabled."}
Sep 05 21:37:16 wazuh opensearch-dashboards[3109]: [agentkeepalive:deprecated] options.freeSocketKeepAliveTimeout is deprecated, please use options.freeSocketTimeout instead
Sep 05 21:37:16 wazuh opensearch-dashboards[3109]: {"type":"log","@timestamp":"2024-09-05T19:37:16Z","tags":["info","plugins-system"],"pid":3109,"message":"Setting up [48] plugins: [usageCollection,opensearchDashboardsUsageColl>
Sep 05 21:37:16 wazuh opensearch-dashboards[3109]: [agentkeepalive:deprecated] options.freeSocketKeepAliveTimeout is deprecated, please use options.freeSocketTimeout instead
Sep 05 21:37:16 wazuh opensearch-dashboards[3109]: [agentkeepalive:deprecated] options.freeSocketKeepAliveTimeout is deprecated, please use options.freeSocketTimeout instead
Sep 05 21:37:16 wazuh opensearch-dashboards[3109]: [agentkeepalive:deprecated] options.freeSocketKeepAliveTimeout is deprecated, please use options.freeSocketTimeout instead
Sep 05 21:37:16 wazuh opensearch-dashboards[3109]: [agentkeepalive:deprecated] options.freeSocketKeepAliveTimeout is deprecated, please use options.freeSocketTimeout instead
Sep 05 21:37:16 wazuh opensearch-dashboards[3109]: [agentkeepalive:deprecated] options.freeSocketKeepAliveTimeout is deprecated, please use options.freeSocketTimeout instead
Sep 05 21:37:16 wazuh opensearch-dashboards[3109]: [agentkeepalive:deprecated] options.freeSocketKeepAliveTimeout is deprecated, please use options.freeSocketTimeout instead
Sep 05 21:37:16 wazuh opensearch-dashboards[3109]: [agentkeepalive:deprecated] options.freeSocketKeepAliveTimeout is deprecated, please use options.freeSocketTimeout instead
Sep 05 21:37:16 wazuh opensearch-dashboards[3109]: [agentkeepalive:deprecated] options.freeSocketKeepAliveTimeout is deprecated, please use options.freeSocketTimeout instead
Sep 05 21:37:16 wazuh opensearch-dashboards[3109]: {"type":"log","@timestamp":"2024-09-05T19:37:16Z","tags":["info","savedobjects-service"],"pid":3109,"message":"Waiting until all OpenSearch nodes are compatible with OpenSearch>
Sep 05 21:37:16 wazuh opensearch-dashboards[3109]: {"type":"log","@timestamp":"2024-09-05T19:37:16Z","tags":["error","opensearch","data"],"pid":3109,"message":"[ResponseError]: Response Error"}
Sep 05 21:37:16 wazuh opensearch-dashboards[3109]: {"type":"log","@timestamp":"2024-09-05T19:37:16Z","tags":["error","savedobjects-service"],"pid":3109,"message":"Unable to retrieve version information from OpenSearch nodes."}
Sep 05 21:37:19 wazuh opensearch-dashboards[3109]: {"type":"log","@timestamp":"2024-09-05T19:37:19Z","tags":["error","opensearch","data"],"pid":3109,"message":"[ResponseError]: Response Error"}
Sep 05 21:37:21 wazuh opensearch-dashboards[3109]: {"type":"log","@timestamp":"2024-09-05T19:37:21Z","tags":["error","opensearch","data"],"pid":3109,"message":"[ResponseError]: Response Error"}
Sep 05 21:37:24 wazuh opensearch-dashboards[3109]: {"type":"log","@timestamp":"2024-09-05T19:37:24Z","tags":["error","opensearch","data"],"pid":3109,"message":"[ResponseError]: Response Error"}
Curl to the dashboard does not respond either.
Content of opensearch_dashboards.yml
server.host: 0.0.0.0
server.port: 443
opensearch.hosts: https://127.0.0.1:9200
opensearch.ssl.verificationMode: certificate
opensearch.requestHeadersAllowlist: ["securitytenant","Authorization"]
opensearch_security.multitenancy.enabled: false
opensearch_security.readonly_mode.roles: ["kibana_read_only"]
server.ssl.enabled: true
server.ssl.key: "/etc/wazuh-dashboard/certs/wazuh-dashboard-key.pem"
server.ssl.certificate: "/etc/wazuh-dashboard/certs/wazuh-dashboard.pem"
opensearch.ssl.certificateAuthorities: ["/etc/wazuh-dashboard/certs/root-ca.pem"]
uiSettings.overrides.defaultRoute: /app/wz-home
opensearch_security.cookie.secure: true
netstat
root@wazuh:/# netstat -tulpn
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 0.0.0.0:1515 0.0.0.0:* LISTEN 603/wazuh-authd
tcp 0 0 0.0.0.0:1514 0.0.0.0:* LISTEN 814/wazuh-remoted
tcp 0 0 0.0.0.0:443 0.0.0.0:* LISTEN 3491/node
tcp 0 0 127.0.0.1:25 0.0.0.0:* LISTEN 418/master
tcp 0 0 0.0.0.0:55000 0.0.0.0:* LISTEN 555/python3
tcp6 0 0 :::22 :::* LISTEN 1/init
tcp6 0 0 ::1:25 :::* LISTEN 418/master
tcp6 0 0 127.0.0.1:9200 :::* LISTEN 164/java
tcp6 0 0 127.0.0.1:9300 :::* LISTEN 164/java
udp 0 0 0.0.0.0:68 0.0.0.0:* 89/dhclient
Activity