Logstash ERROR: Unable to retrieve license information from license server {:message=>"Unrecognized SSL message, plaintext connection?"}

Hi,

I have a cluster consisting of 3 nodes and an installation of kibana and logstash, all to version 6.8.1.

I followed the procedure to configure SSL, TLS and HTTPS certificates:

The Elasticsearch nodes are working, Kibana is working, Logstash has this error at startup:

[ERROR][logstash.licensechecker.licensereader] Unable to retrieve license information from license server {:message=>"Unrecognized SSL message, plaintext connection?"}
[ERROR][logstash.monitoring.internalpipelinesource] Failed to fetch X-Pack information from Elasticsearch. This is likely due to failure to reach a live Elasticsearch cluster.

Can you help me?

Thanks

Daniele

Do you have xpack.monitoring.elasticsearch.hosts set with https:// prefix and the necessary ssl.certificate_authority files?

It may help to post your logstash.yml config (format with </>)

Hi @rugenl,

My configuration file is:

node.name: node1-logstash
path.data: /var/lib/logstash
path.logs: /var/log/logstash
xpack.monitoring.enabled: true
xpack.monitoring.elasticsearch.hosts: ["https://node1:81","https://node2:81","https://node3:81"]
xpack.monitoring.elasticsearch.username: logstash_system
xpack.monitoring.elasticsearch.password: logstashpassword
xpack.monitoring.elasticsearch.ssl.certificate_authority: /etc/logstash/certs/ca.crt

Thanks

Daniele

2 Likes

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.