Elasticsearch报错: received plaintext http traffic on an https channel, closing connection ...
Posted zhangphil
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Elasticsearch报错: received plaintext http traffic on an https channel, closing connection ...相关的知识,希望对你有一定的参考价值。
Elasticsearch报错:received plaintext http traffic on an https channel, closing connection Netty4HttpChannel。
现象,当启动Elasticsearch后,在浏览器输入地址 http://localhost:9200/
后,报错
received plaintext http traffic on an https channel, closing connection Netty4HttpChannellocalAddress=/[0:0:0:0:0:0:0:1]:9200
如图:
原因是Elasticsearch在Windows下开启了安全认证,虽然started成功,但访问http://localhost:9200/
失败。
解决方案:
找到config/目录下面的elasticsearch.yml配置文件,把安全认证开关从原先的true都改成false,实现免密登录访问即可,修改这两处都为false后:
即可解决问题,再次打开http://localhost:9200/
就正常显示内容了:
以上是关于Elasticsearch报错: received plaintext http traffic on an https channel, closing connection ...的主要内容,如果未能解决你的问题,请参考以下文章
kafkakafka 启动报错 InvalidReceiveException: Invalid receive (size = -720899)
FlinkFlink 写入 kafka 报错 The server disconnected before a response was received
Docker push 报错:received unexpected HTTP status: 500 Internal Server Error
linux主机连接sftp报错received unexpected end-of-file fro
报错:Unchecked runtime.lastError:Could not establish connection. Receiving end does not exist.
docker push 报错:received unexpected HTTP status: 500 Internal Server Error