Coder Social home page Coder Social logo

NGINX 502 bad gateway about wazuh-docker HOT 2 CLOSED

wazuh avatar wazuh commented on June 14, 2024
NGINX 502 bad gateway

from wazuh-docker.

Comments (2)

 avatar commented on June 14, 2024

Hi @RANGERBEE,

Yes, Nginx is proxying the Kibana traffic via TCP/443. Take into account that the wazuh-kibana container makes some checks before starting the service. In summary, Kibana will start after the elasticsearch service is up and running, can you please double check the requirements listed here and re-run the composer, you should get an output like the following on the Kibana container::

docker-compose logs --tail=10 kibana
Attaching to root_kibana_1
kibana_1         | Transfer complete
kibana_1         | Retrieving metadata from plugin archive
kibana_1         | Extracting plugin archive
kibana_1         | Extraction complete
kibana_1         | Optimizing and caching browser bundles...
kibana_1         | Plugin installation complete
kibana_1         | Setting API credentials into Wazuh APP
kibana_1         | {"type":"log","@timestamp":"2018-01-18T02:21:54Z","tags":["listening","info"],"pid":1,"message":"Server running at http://0.0.0.0:5601"}
kibana_1         | Importing objects
kibana_1         | {"type":"log","@timestamp":"2018-01-18T02:21:57Z","tags":["\u001b[34mwazuh\u001b[39m","monitoring","error"],"pid":1,"message":"Didn't find old wazuh-monitoring pattern. Skipping deletion."}

I hope it helps.

Best Regards.

from wazuh-docker.

 avatar commented on June 14, 2024

Hey @mjflve,

Thanks for pointing me into the right direction!

Looks like my vm.max_map_count was not sticking..

I fixed it with a quick

sed -i -e "\$avm.max_map_count=262144" /etc/sysctl.conf

under root. After reboot, the map count persisted and Kibana opened right up in the browser.

Cheers.

from wazuh-docker.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.