-
Notifications
You must be signed in to change notification settings - Fork 177
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
API error connection in 4.8.0 Alpha2 testing #6312
Comments
Source issue: wazuh/wazuh#21361 The same behavior has been found in Fedora 38, but the deployment of a single component in different nodes does not show this behavior, see: wazuh/wazuh#21361 (comment)
Temporary fix
|
I could not reproduce this with the mentioned system under local virtualization. As I see from the tests, the settings from Also, the cloudinit script from AWS might do some initialization to the system, which cannot be simulated properly under other virtualization platforms. We will test if the default usage of IPV6 in these machines is causing the problem. |
Being worked on wazuh/wazuh-packages#2771 |
The error was again reported here: wazuh/wazuh#21799 (comment) [root@ip-172-31-39-137 ec2-user]# cat /usr/share/wazuh-dashboard/data/wazuh/logs/wazuhapp.log | grep -i -E "error|warn"
{"date":"2024-02-07T13:26:44.748Z","level":"error","location":"monitoring:getApiInfo","message":"connect ECONNREFUSED ::1:55000"}
{"date":"2024-02-07T13:27:43.560Z","level":"error","location":"monitoring:getApiInfo","message":"connect ECONNREFUSED ::1:55000"}
[root@ip-172-31-39-137 ec2-user]# Although the configuration of the hosts:
- default:
url: https://127.0.0.1
port: 55000
username: wazuh-wui
password: "+ghIh1et+rIFYNN391E+4S*hgOgBeexC"
run_as: false |
Description
In the Wazuh installation assistant testing of the
4.8.0
Alpha2, we have found an error in the Wazuh web interface related to the Wazuh manager API connection.Preconditions
Consider that this problem has been reproduced in a RHEL9 system, so maybe the problem is also reproduced in other RHEL systems (in the mentioned issue, the same test was performed in Amazon Linux 2 and this was not reproduced).
Steps to reproduce
curl -sO https://packages-dev.wazuh.com/4.8/wazuh-install.sh
bash wazuh-install.sh -a -i
Expected Result
/usr/share/wazuh-dashboard/data/wazuh/logs/wazuhapp.log
logfile.Note: the warning message of the VD index is not related to this.
Actual Result
The error and log messages mentioned previously
Additional context
I checked the Wazuh API and it was running and available. Related: https://documentation.wazuh.com/current/user-manual/api/getting-started.html
The
/usr/share/wazuh-dashboard/data/wazuh/config/wazuh.yml
configuration file had the correct content:The text was updated successfully, but these errors were encountered: