[Solved] Elasticsearch Error: received plaintext http traffic on an https channel, closing connection…

Elasticsearch reports an error: received plaintext http traffic on an https channel, closing connection Netty4HttpChannel.

After elasticsearch is started, enter the address in the browser http://localhost:9200/

An error reporting:

received plaintext http traffic on an https channel, closing connection Netty4HttpChannel{localAddress=/[0:0:0:0:0:0:0:1]:9200

As shown in the figure:

The reason is that Elasticsearch has started the security authentication under windows. Although it was started successfully, it can not be accessed http://localhost:9200/

Failed.

Solution:

Locate the elasticsearch.yml configuration file under the config/ directory, change the security authentication switch from true to false to achieve password-free access, after modifying both to false.

You can solve the problem and open it again http://localhost:9200/

The content is displayed normally:

Read More: