Hi, I am using 8.0.0 for Elasticsearch and Kibana, with a docker-compose set up. Elasticsearch is running with no issues, how I do get the title message error.
Error:
[ERROR][elasticsearch-service] Unable to retrieve version information from Elasticsearch nodes. socket hang up - Local: IP:PORT, Remote: IP:PORT
RESOLVED: Had to generate passwords with Elasticsearch
Generating a random key for xpack.security.encryptionKey. To prevent sessions from being invalidated on restart, please set xpack.security.encryptionKey in the kibana.yml or use the bin/kibana-encryption-keys command.
How would I go about doing this with Docker-Compose?
Digging deeper, I see this log error:
[ERROR][elasticsearch-service] Unable to retrieve version information from Elasticsearch nodes. security_exception: [security_exception] Reason: missing authentication credentials for REST request [/_nodes?filter_path=nodes.*.version%2Cnodes.*.http.publish_address%2Cnodes.*.ip]
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.