Open MiguelCasaresRobles opened 2 years ago
The problem could be related to the user session expired and when the user does some action that causes a request to the Kibana server, the response is one with the status 401
. This triggers the redirections.
For Wazuh dashboard or Kibana with Open Distro for Elasticsearch, the default session expiration time is 1h
.
kibana.yml
configuration file:
opendistro_security.cookie.ttl: 60000
opendistro_security.session.ttl: 60000
This configuration sets the sessition expiration time to 60s
.
0.2. Restart the Kibana service to applying the changes
Modules/Modules directory
401
due the session expired.
Note:
If you take too long to interact with the plugin after waiting the required time, the page could redirects without interaction. It seems it could be caused to a request done and the response has status 401
and redirecting for some mechanins to the login page.
This was replicated with:
4.3.0-7.10.2
Description Wazuh Dashboard gets stuck in a loop after being idle and getting back to it. Attached gif for reference:
It is not loading anything and it enters in a loop between the
health-check
and thesettings
call.Either we are not handling properly the token expiration of the Wazuh API or the expiration logout time.
Preconditions Open Wazuh Dashboard, be idle for a while, and get back to the panel and try to click on somewhere.
Steps to reproduce Click on anywhere.