Login is currently disabled. Administrators should consult the Kibana logs for more details.
i am using docker compose file and getting error for kibana not able to login
Disable x-pack security
xpack.security.enabled: false on elasticsearch.yml and kibana.yml
only these lines i am able to see in kibana.yml
elasticsearch.username: elastic
elasticsearch.password: changeme
xpack.monitoring.ui.container.elasticsearch.enabled: true
below are the kibana logs
}
{"type":"log","@timestamp":"2019-06-07T07:14:17Z","tags":["warning","elasticsearch","admin"],"pid":1,"message":"No living connections"}
{"type":"log","@timestamp":"2019-06-07T07:14:19Z","tags":["warning","elasticsearch","admin"],"pid":1,"message":"Unable to revive connection: http://elasticsearch:9200/"}
{"type":"log","@timestamp":"2019-06-07T07:14:19Z","tags":["warning","elasticsearch","admin"],"pid":1,"message":"No living connections"}
{"type":"log","@timestamp":"2019-06-07T07:14:19Z","tags":["warning","elasticsearch","admin"],"pid":1,"message":"Unable to revive connection: http://elasticsearch:9200/"}
{"type":"log","@timestamp":"2019-06-07T07:14:19Z","tags":["warning","elasticsearch","admin"],"pid":1,"message":"No living connections"}
{"type":"log","@timestamp":"2019-06-07T07:14:19Z","tags":["warning","elasticsearch","admin"],"pid":1,"message":"Unable to revive connection: http://elasticsearch:9200/"}
{"type":"log","@timestamp":"2019-06-07T07:14:19Z","tags":["warning","elasticsearch","admin"],"pid":1,"message":"No living connections"}
{"type":"log","@timestamp":"2019-06-07T07:14:22Z","tags":["warning","elasticsearch","admin"],"pid":1,"message":"Unable to revive connection: http://elasticsearch:9200/"}
{"type":"log","@timestamp":"2019-06-07T07:14:22Z","tags":["warning","elasticsearch","admin"],"pid":1,"message":"No living connections"}
{"type":"log","@timestamp":"2019-06-07T07:14:24Z","tags":["warning","elasticsearch","admin"],"pid":1,"message":"Unable to revive connection: http://elasticsearch:9200/"}
{"type":"log","@timestamp":"2019-06-07T07:14:24Z","tags":["warning","elasticsearch","admin"],"pid":1,"message":"No living connections"}
{"type":"log","@timestamp":"2019-06-07T07:14:27Z","tags":["warning","elasticsearch","admin"],"pid":1,"message":"Unable to revive connection: http://elasticsearch:9200/"}
{"type":"log","@timestamp":"2019-06-07T07:14:27Z","tags":["warning","elasticsearch","admin"],"pid":1,"message":"No living connections"}
{"type":"log","@timestamp":"2019-06-07T07:14:30Z","tags":["warning","elasticsearch","admin"],"pid":1,"message":"Unable to revive connection: http://elasticsearch:9200/"}
{"type":"log","@timestamp":"2019-06-07T07:14:30Z","tags":["warning","elasticsearch","admin"],"pid":1,"message":"No living connections"}
{"type":"log","@timestamp":"2019-06-07T07:14:32Z","tags":["warning","elasticsearch","admin"],"pid":1,"message":"Unable to revive connection: http://elasticsearch:9200/"}
{"type":"log","@timestamp":"2019-06-07T07:14:32Z","tags":["warning","elasticsearch","admin"],"pid":1,"message":"No living connections"}
Hi
Use following command to see whether those ports are open or not ?
sudo netstat -tulpn | grep 5601
sudo netstat -tulpn | grep 9200
sudo netstat -tulpn | grep 9300
your elasticsearch config file should look like this
[root@orc-app1 elasticsearch]# cat /etc/elasticsearch/elasticsearch.yml
cluster.name: ElasticDemO
node.name: {HOSTNAME}
network.host: 192.168.60.4
xpack.security.enabled: false
#xpack.security.transport.ssl.enabled: true
#xpack.license.self_generated.type: basic
bootstrap.system_call_filter: true
path.data: /var/lib/elasticsearch
path.logs: /var/log/elasticsearch
discovery.seed_hosts: 192.168.60.4:9300
cluster.initial_master_nodes: ["{HOSTNAME}"]
http.cors.enabled: true
#http.cors.allow-origin: "*"
kibana config file also should look like below
[root@orc-app1 elasticsearch]# cat /etc/kibana/kibana.yml
server.host: "192.168.60.4"
server.name: "orc-app1.dev"
elasticsearch.url: "http://192.168.60.4:9200"
elasticsearch.hosts: "http://192.168.60.4:9200"
xpack.security.enabled: false
logging.dest: /var/log/kibana/kibana.log
Please change the IP an host names accordingly
Thank you,
Nuwan
Hi,
port are in listin.
i am seeing below lines in my elasticsearch.yml
cluster.name: "docker-cluster"
network.host: 0.0.0.0
minimum_master_nodes need to be explicitly set when bound on a public IP
set to 1 to allow single node clusters
Details: https://github.com/elastic/elasticsearch/pull/17288
discovery.zen.minimum_master_nodes: 1
xpack.license.self_generated.type: basic
~
and below # Default Kibana configuration from kibana-docker.
server.name: kibana
server.host: "0"
elasticsearch.url: http://elasticsearch:9200
elasticsearch.username: elastic
elasticsearch.password: changeme
xpack.monitoring.ui.container.elasticsearch.enabled: truelines in kibana.yml
Hi,
Thank you able to login in kibna.
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.