-
Notifications
You must be signed in to change notification settings - Fork 175
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 4.9 - Wazuh Dashboard: 502 bad gateway #890
Comments
I am facing the same issue as well. Were you able to resolve it? |
@Sagarsinghinfra360 not yet unfortunately. |
@manas-suleman I made changes to indexer-config
And restart all the Wazuh servers. The dashboard is now loading properly. |
@Sagarsinghinfra360 thank you for the fix. Unfortunately, that appears to be making wazuh insecure and unsuitable for production environments so would like to find a different solution. |
Hello @manas-suleman The Wazuh indexer error you are having is related to certificates. Have you checked the wazuh/certs/indexer_cluster directory? Have you deployed on Linux or Unix? They tend to have problems when creating certificates on macOS. |
Hi @vcerenu, thanks for your reply. I'm generating certificates in Ubuntu and certificates are being generated just fine. I'm also seeing When I try to do a port-forward directly from the pod to localhost, I get the following instead, leading me to believe this isn't related to certificates and there's some other issue. @teddytpc1 can you please reopen the issue as it hasn't been resolved? |
Hello wazuh newbie here. I have done a fresh wazuh installation on bare-metal kubernetes. I've followed the steps from the official documentation here:
https://documentation.wazuh.com/current/deployment-options/deploying-with-kubernetes/index.html
I created self-signed certificates and did the
local-env
Kustomize install.I see all the objects successfully created and running:
kubectl get pods
kubectl get svc
I created an ingress for the dashboard service but cannot access the dashboard. Instead, I get the following error:
I have tried getting the dashboard webpage from within the dashboard pods with the following attempts and responses:
accessing dashboard service from within the indexer pod:
log summar from all pods:
wazuh-dashboard-8664dcb64d-kwr4d
wazuh-indexer-0
wazuh-manager-master-0
wazuh-manager-worker-0
For most of the logs it looks like each pod had some hiccups but eventually started properly. However, for the worker pod, the issues appear to be with the vulnerability scanner and I suspect it wouldn't be related to worker startup functions or anything to do with dashboard issue.
As part of me trying to troubleshoot this, I noticed the following when trying to ping indexer from the dashboard pod:
on the dashboard pod:
logs on indexer pod:
Could this be a potential hint as to what's the problem here?
Please let me know if any of these are hints at what could be the problem or if I should provide further information. Thank you.
The text was updated successfully, but these errors were encountered: