First, please restart the Indexer to see if that resolves the error:
systemctl restart wazuh-indexer
If you're still seeing the error message "Invalid username or password. Please try again.", it might be due to incorrect credentials being used to log in to the Wazuh Dashboard.
If you installed Wazuh using the step-by-step installation guide, the default credentials are usually: Username: admin Password: admin
If you've used a different installation method, you can verify the admin credentials by running: tar -axf wazuh-install-files.tar wazuh-install-files/wazuh-passwords.txt -O | grep -P "'admin'" -A 1
As you mentioned, you have change the password please let me know which documentation you have followed.
https://documentation.wazuh.com/current/user-manual/user-administration/password-management.html
This will show you the current admin password from the installation files.
If you’re still unable to log in and continue getting the same error, please check the status of the Wazuh Indexer service:
systemctl status wazuh-indexer
Also, review its logs for any errors that could be causing the issue:
cat /var/log/wazuh-indexer/wazuh-cluster.log | grep -i -E "error|warn"
Additionally, please provide the following information to help us troubleshoot further:
Did you perform any actions before encountering this issue?
Are you using an AIO (All-in-One) or a distributed Wazuh setup?
What version of Wazuh are you currently running?
Do you have sufficient memory and disk space? You can check with:
free -h
df -h
Let me know once you’ve checked these things!