Skip to content
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

Wazuh dashboard health check show API errors after install-reinstall process #1804

Closed
rauldpm opened this issue Aug 25, 2022 · 1 comment
Closed

Comments

@rauldpm
Copy link
Member

rauldpm commented Aug 25, 2022

Wazuh version Install type Action performed Platform
4.3.7 Wazuh installation assistant Distributed install - Wazuh dashboard Ubuntu 20
  • RAM: 4096
  • CPU: 2

Wazuh dashboard shows errors in the interface health check after installing and reinstalling the package with the following commands:

  • bash wazuh-install.sh --wazuh-dashboard dashboard
  • bash wazuh-install.sh --wazuh-dashboard dashboard -o

image

INFO: Current API id [default]
INFO: Checking current API id [default]...
INFO: Current API id [default] has some problem: 3020 - unidentified alias "Ycx2??lTxHKmC5?axBsa.kA71G74Ax4" at line 242, column 49:
     ... *Ycx2??lTxHKmC5?axBsa.kA71G74Ax4
                                         ^
INFO: Getting API hosts...
ERROR: Error connecting to API: 2001 - unidentified alias "Ycx2??lTxHKmC5?axBsa.kA71G74Ax4" at line 242, column 49:
     ... *Ycx2??lTxHKmC5?axBsa.kA71G74Ax4
                                         ^
INFO: Removed [navigate] cookie
ERROR: Error connecting to API: 2001 - unidentified alias "Ycx2??lTxHKmC5?axBsa.kA71G74Ax4" at line 242, column 49:
     ... *Ycx2??lTxHKmC5?axBsa.kA71G74Ax4
                                         ^
[API connection] Error connecting to API: 2001 - unidentified alias "Ycx2??lTxHKmC5?axBsa.kA71G74Ax4" at line 242, column 49: ... *Ycx2??lTxHKmC5?axBsa.kA71G74Ax4 ^
[API connection] Error connecting to API: 2001 - unidentified alias "Ycx2??lTxHKmC5?axBsa.kA71G74Ax4" at line 242, column 49: ... *Ycx2??lTxHKmC5?axBsa.kA71G74Ax4 ^
[Monitoring index pattern] Error creating index pattern id [wazuh-monitoring-*]: [index-pattern:wazuh-monitoring-*]: version conflict, document already exists (current version [2]): version_conflict_engine_exception

The following configuration is observed in the wazuh.yml file (line 242 matches the password line):

hosts:
  - default:
      url: https://192.168.56.200
      port: 55000
      username: wazuh-wui
      password: *Ycx2??lTxHKmC5?axBsa.kA71G74Ax4
      run_as: false
@rauldpm
Copy link
Member Author

rauldpm commented Aug 26, 2022

Update report

The @wazuh/framework team has confirmed that the password should be valid, the problem lies in the yaml validation, it is necessary to check that said password (and the others) are established between double quotes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants