Hi,
I have installed wazuh (v4.10.1) from scratch following https://documentation.wazuh.com/current/deployment-options/docker/wazuh-container.html#single-node-deployment in single node
I did not change anything in the docker-compose.yml
After bringing up the containers I get Wazuh dashboard server is not ready yet when I connect to the dashboard.
The logs are telling me
wazuh.manager-1 | 2025-01-17T19:01:49.120Z WARN [transport] transport/tcp.go:52 DNS lookup failure "wazuh.indexer": lookup wazuh.indexer: no such host
wazuh.dashboard-1 | {"type":"log","@timestamp":"2025-01-17T19:01:50Z","tags":["error","opensearch","data"],"pid":53,"message":"[ConnectionError]: getaddrinfo ENOTFOUND wazuh.indexer"}
wazuh.dashboard-1 | {"type":"log","@timestamp":"2025-01-17T19:02:00Z","tags":["error","opensearch","data"],"pid":53,"message":"[ConnectionError]: connect ECONNREFUSED 172.18.0.2:9200"} wazuh.indexer-1 exited with code 137
wazuh.dashboard-1 | {"type":"log","@timestamp":"2025-01-17T19:02:18Z","tags":["error","opensearch","data"],"pid":53,"message":"[ConnectionError]: getaddrinfo ENOTFOUND wazuh.indexer"}
wazuh.dashboard-1 | {"type":"log","@timestamp":"2025-01-17T19:02:20Z","tags":["error","opensearch","data"],"pid":53,"message":"[ConnectionError]: getaddrinfo ENOTFOUND wazuh.indexer"}
wazuh.dashboard-1 | {"type":"log","@timestamp":"2025-01-17T19:02:23Z","tags":["error","opensearch","data"],"pid":53,"message":"[ConnectionError]: getaddrinfo ENOTFOUND wazuh.indexer"}
wazuh.dashboard-1 | {"type":"log","@timestamp":"2025-01-17T19:02:25Z","tags":["error","opensearch","data"],"pid":53,"message":"[ConnectionError]: getaddrinfo ENOTFOUND wazuh.indexer"}
wazuh.manager-1 | 2025-01-17T19:02:25.689Z ERROR [publisher_pipeline_output] pipeline/output.go:154 Failed to connect to backoff(elasticsearch(https://wazuh.indexer:9200)): Get "https://wazuh.indexer:9200": lookup wazuh.indexer: no such host
wazuh.manager-1 | 2025-01-17T19:02:25.698Z INFO [publisher_pipeline_output] pipeline/output.go:145 Attempting to reconnect to backoff(elasticsearch(https://wazuh.indexer:9200)) with 37 reconnect attempt(s)
wazuh.manager-1 | 2025-01-17T19:02:25.723Z WARN [transport] transport/tcp.go:52 DNS lookup failure "wazuh.indexer": lookup wazuh.indexer: no such host
wazuh.dashboard-1 | {"type":"log","@timestamp":"2025-01-17T19:02:28Z","tags":["error","opensearch","data"],"pid":53,"message":"[ConnectionError]: getaddrinfo ENOTFOUND wazuh.indexer"}
wazuh.dashboard-1 | {"type":"log","@timestamp":"2025-01-17T19:02:30Z","tags":["error","opensearch","data"],"pid":53,"message":"[ConnectionError]: getaddrinfo ENOTFOUND wazuh.indexer"}
wazuh.dashboard-1 | {"type":"log","@timestamp":"2025-01-17T19:02:33Z","tags":["error","opensearch","data"],"pid":53,"message":"[ConnectionError]: getaddrinfo ENOTFOUND wazuh.indexer"}
wazuh.dashboard-1 | {"type":"log","@timestamp":"2025-01-17T19:02:35Z","tags":["error","opensearch","data"],"pid":53,"message":"[ConnectionError]: getaddrinfo ENOTFOUND wazuh.indexer"}