wazuh / wazuh-api

Wazuh - RESTful API
https://wazuh.com
GNU General Public License v2.0
69 stars 57 forks source link

wazuh-manager:4.3.10 keeps restarting #506

Open denizciftci-sec opened 2 years ago

denizciftci-sec commented 2 years ago

Hello,

We have a all-in-one docker-compose setup. Completed the installation steps successfully - when the docker-compose is up, we saw wazuh-manager keeps restarting in 15-20 second. Is there a workaround for this problem?

Under the test connections menu: 1513629884013 https://wazuh.manager 55000 Offline

The erros on GUI: [API connection] No API available to connect [Alerts index pattern] No template found for the selected index-pattern title [wazuh-alerts-*]

Wazuh API Connection Details on GUI: INFO: No current API selected INFO: Getting API hosts... INFO: API hosts found: 1 INFO: Checking API host id [1513629884013]... INFO: Could not connect to API id [1513629884013]: 3099 - ERROR3099 - Some Wazuh daemons are not ready yet in node "node01" (wazuh-modulesd->failed) INFO: Removed [navigate] cookie ERROR: No API available to connect

Check alerts index pattern Errors on GUI: INFO: Index pattern id in cookie: yes [wazuh-alerts-] INFO: Getting list of valid index patterns... INFO: Valid index patterns found: 1 INFO: Found default index pattern with title [wazuh-alerts-]: yes INFO: Checking the app default pattern exists: id [wazuh-alerts-]... INFO: Default pattern with id [wazuh-alerts-] exists: yes ACTION: Default pattern id [wazuh-alerts-] set as default index pattern INFO: Checking the index pattern id [wazuh-alerts-] exists... INFO: Index pattern id exists [wazuh-alerts-]: yes INFO: Index pattern id in cookie: yes [wazuh-alerts-] INFO: Checking if the index pattern id [wazuh-alerts-] exists... INFO: Index pattern id [wazuh-alerts-] found: yes title [wazuh-alerts-] INFO: Checking if exists a template compatible with the index pattern title [wazuh-alerts-] INFO: Template found for the selected index-pattern title [wazuh-alerts-]: no ERROR: No template found for the selected index-pattern title [wazuh-alerts-] INFO: Index pattern id in cookie: [wazuh-alerts-] INFO: Getting index pattern data [wazuh-alerts-]... INFO: Index pattern data found: [yes] INFO: Refreshing index pattern fields: title [wazuh-alerts-], id [wazuh-alerts-]... ACTION: Refreshed index pattern fields: title [wazuh-alerts-], id [wazuh-alerts-]