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

Kibana refuses connection, nothing in logs #376

Open
sergesyrota opened this issue Nov 20, 2022 · 2 comments
Open

Kibana refuses connection, nothing in logs #376

sergesyrota opened this issue Nov 20, 2022 · 2 comments

Comments

@sergesyrota
Copy link

I've pulled latest (8.3.3) image, as well as oss-8.3.3, and started with basic configuration using docker-compose:

    elk:
        image: sebp/elk:oss-8.3.3
        container_name: elk
        ports:
            - 5601:5601 # Kibana UI
            - 9200:9200 # Elastic JSON
            - 5044:5044 # Logstash Beats interface
            - 9600:9600 # Logstash monitoring API

Waited a few minutes... When I connect to host:5601, I get "connection refused." Same if I execute bash inside container and run curl localhost:5601.

ElasticSearch is fine, and accessible on port 9200:

{
"name": "elk",
"cluster_name": "elasticsearch",
"cluster_uuid": "VnfgEDfrS1SZKkQthFf27Q",
"version": {
"number": "8.3.3",
"build_flavor": "default",
"build_type": "tar",
"build_hash": "801fed82df74dbe537f89b71b098ccaff88d2c56",
"build_date": "2022-07-23T19:30:09.227964828Z",
"build_snapshot": false,
"lucene_version": "9.2.0",
"minimum_wire_compatibility_version": "7.17.0",
"minimum_index_compatibility_version": "7.0.0"
},
"tagline": "You Know, for Search"
}

Inside the container, /var/log/kibana/kibana5.log is empty. However, I see kibana process running fine:

root@6d660c331b7c:/# ps aux | grep kibana
kibana       199 97.4  0.0   2616   104 ?        R    18:23   1:25 start-stop-daemon --start --user kibana -c kibana --group kibana --pidfile /var/run/kibana5.pid --make-pidfile --background --exec /opt/kibana/bin/kibana -- -l /var/log/kibana/kibana5.log

If I kill the process, and start it in foreground manually with gosu kibana /opt/kibana/bin/kibana, it starts up just fine, and I'm able to access port 5601.

Any advice on what I can try for Kibana to be able to start up automatically?

@flxkrmr
Copy link

flxkrmr commented Apr 18, 2023

Wir have a similar issue with version 8.6.2. Started the container with "docker run -p 5601:5601 -p 9200:9200 -p 5044:5044 -it --name elk sebp/elk" without any mounted volumes or configuration. Any idea what this could be?

@edmiester777
Copy link

edmiester777 commented Aug 11, 2023

If you exec bash in, you will see kibana service has a lot of CPU. I thin it's doing some first-time build of the project during first setup. Just leave for a few minutes and come back and the service will be built and working 😄

took me a sec to figure that out too.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants