-
Notifications
You must be signed in to change notification settings - Fork 414
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 API - Invalid Credentials #1151
Comments
same problem here |
Hi @mighty-services, could you share your yml? I have had the exact same error. In my case, I had changed the volume paths and changed them unknowingly to bind mounts. After figuring this out, the containers were able to connect to each other. For my network settings, have a look here and here. Chris |
I reinstall my VM ubuntu and follow doc then do it again now im all good. I didnt save my yml file in the pase error case |
Wait, bind mounts don’t work? Any idea which paths are affected? |
Hi @EricSeastrand, well, I tried to solve it by manually setting the permissions on my bind mounts, but folders are getting created, when a container starts for the first time and then folder permissions are wrong and it does not work... Docker Community recommended this: https://dev.to/rimelek/everything-about-docker-volumes-1ib0#custom-volume-path-overview Have a look at my yaml and how I defined the custom volume paths. Good luck, |
Thank you for this clue! I was able to get up and running by using volumes as recommended. Even better: I've found a way to still use bind mounts! At least, I think; it's working so far. Disclaimer: This is almost certainly an unsupported configuration, but if you have some hard req about bind mounts, this may help. Process goes like:
For me, it was very important to use bind mounts because I regularly migrate containers/stacks between several hosts using Portainer. My storage layer is backed by GlusterFS (mounted as OS level; not using any docker plugins). I first tried @schneich approach, but when I tried migrating the stack from HostA to HostB, all 3 containers "started" but had errors and the Wazuh frontend would not load. Presumably because HostA created the volume, and now HostB is being told "create a volume in this dir, which already contains files and metadata". Using bind mounts solves all of that, because docker isn't expecting to have full control over the volume dir. Yes, permissions become a PiTA, but I'm OK with that tradeoff.
Hope this helps someone and saves them the days-long debugging expedition I just returned from :) |
I have the same problem with this setup.
Any help will be appreciated. |
I have followed your setup guide to a single node Server Instance just like in the docs. The only thi I added was the IP-Address of the Ubuntu 22.04 VM where Wazuh should reside.
After that, the installation went smoothly, and I can use the admin-Password at the end to log into the new dashboard via web browser and HTTPS. Right after that, there's a warning displayed:
the Wazuh API-Details show, that the API has invalid credentials:
I didn't change these values at any time. The curl-command in the indexer-part worked fine with the password, the output gave at the end of the indexer-installation.
Another error seems to be in the "" section:
When I click on the button
Go
to Settings` I see the guide to check the status of the serviceAnd the defined credentials for wazuh-ui, which match the output I saw within the
wazuh-install-files.tar
file.I saw these issue popping up already here #2115 and here #2111. At least the last one is way older than the release 4.7.0 I am using right now.
Since I'm not a Developer, rather a sysadmin desperately needing this awesome tool to work, I don't know ow to debug the API with the curl command like suggested here
The text was updated successfully, but these errors were encountered: