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

API Timeout #331

Open
ZouhairCharef opened this issue Feb 22, 2023 · 5 comments
Open

API Timeout #331

ZouhairCharef opened this issue Feb 22, 2023 · 5 comments
Assignees

Comments

@ZouhairCharef
Copy link

Hello everyone, I hope you are doing well!
I have a problem with the Wazuh api.
I deploy wazuh in an rke2 cluster using the local-env method and I added an ingress to it.
After that I faced that api timeout problem :
image
Do you have any idea how I can solve this problem?
Thanks in advance

@qmaraval-csgroup
Copy link

Hi, do you have changed any configuration ?
I have the same issue since i have activated the vulnerability detector option ...

Thanks

@ZouhairCharef
Copy link
Author

@qmaraval-csgroup For the k8s yaml files: yes I do.
you can fix this problem by adding more resources of ram and cpu to the deployment and statefulsets and deploy 3 replicas for the indexer deployment.

@qmaraval-csgroup
Copy link

@ZouhairCharef Thanks for your answer, it solved my issue !

@ZouhairCharef
Copy link
Author

@qmaraval-csgroup you are welcome!

@vcerenu
Copy link
Member

vcerenu commented Feb 27, 2023

Hello

That API issue can be caused by a possible communication issue between the Wazuh dashboard pod with the Wazuh manager master pod.
In the first case, I recommend that you test the connectivity from the Wazuh dashboard pod to the Wazuh manager master pod through port 55000.
In case the connectivity is correct, check that within the file wazuh/indexer_stack/wazuh-dashboard/dashboard-deploy.yaml you have the environment variable WAZUH_API_URL, it is the same one that is used to configure the file wazuh.yml that later use Wazuh dashboard to connect to Wazuh manager through API, check if that URL needs to be modified when entering the ingress..

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

3 participants