Timeout Error

40 views
Skip to first unread message

anjum shehzad

unread,
Apr 12, 2023, 3:59:52 AM4/12/23
to Wazuh mailing list
We are facing this issue continuously, Kindly guide me on how to resolve this issue.
below are the screenshots of the errors, we are facing.


ScreenShot - 1

chrome_4uJ7ruzy5N.png

ScreenShot - 2

chrome_9BtdhDQBCI.png

Harold Andre Rodriguez Cortes

unread,
Apr 12, 2023, 12:13:22 PM4/12/23
to Wazuh mailing list
Hello Anjum,

I wish to know which version of wazuh are you using, 


there is a configuration in Wazuh app that let you increase the timeout of the request, you can find it in Wazuh / Settings / Configuration under de name Request timeout
Screenshot from 2021-07-21 15-31-54.png
please try increasing this value.

If this doesn't work, you can perform some curl to the Wazuh API from the Kibana server, in order to check if only the app is getting timeout or is an issue with the API in general?
you can do these request

1 - to get the API token

TOKEN= curl -u wazuh-wui:wazuh-wui -k -X GET "https://<your-api-ip>:55000/security/user/authenticate" - replace wazuh-wui with your custom user and pass if it's necessary

2 - get manager info or agent antes list

curl -k -X GET "https://<HOST_IP>:55000/manager/info" -H "Authorization: Bearer $TOKEN"

or

curl -k -X GET "https://<HOST_IP>:55000/agents" -H "Authorization: Bearer $TOKEN"

Here is more info about the Wazuh API request

Please, let us know if this was useful.

Regards.

Reply all
Reply to author
Forward
0 new messages