一、报错截图
二、报错代码
[2022-12-29T20:15:12,115][WARN ][o.e.x.s.t.n.SecurityNetty4HttpServerTransport] [node] received plaintext http traffic on an https channel, closing connection Netty4HttpChannel{localAddress=/192.168.10.100:9200, remoteAddress=/192.168.10.1:58029}
[2022-12-29T20:15:12,115][WARN ][o.e.x.s.t.n.SecurityNetty4HttpServerTransport] [node] received plaintext http traffic on an https channel, closing connection Netty4HttpChannel{localAddress=/192.168.10.100:9200, remoteAddress=/192.168.10.1:58028}
[2022-12-29T20:15:12,116][WARN ][o.e.x.s.t.n.SecurityNetty4HttpServerTransport] [node] received plaintext http traffic on an https channel, closing connection Netty4HttpChannel{localAddress=/192.168.10.100:9200, remoteAddress=/192.168.10.1:58030}
[2022-12-29T20:15:13,149][WARN ][o.e.x.s.t.n.SecurityNetty4HttpServerTransport] [node] received plaintext http traffic on an https channel, closing connection Netty4HttpChannel{localAddress=/192.168.10.100:9200, remoteAddress=/192.168.10.1:58031}
[2022-12-29T20:15:13,154][WARN ][o.e.x.s.t.n.SecurityNetty4HttpServerTransport] [node] received plaintext http traffic on an https channel, closing connection Netty4HttpChannel{localAddress=/192.168.10.100:9200, remoteAddress=/192.168.10.1:58032}
[2022-12-29T20:15:13,156][WARN ][o.e.x.s.t.n.SecurityNetty4HttpServerTransport] [node] received plaintext http traffic on an https channel, closing connection Netty4HttpChannel{localAddress=/192.168.10.100:9200, remoteAddress=/192.168.10.1:58033}
[2022-12-29T20:15:18,178][WARN ][o.e.x.s.t.n.SecurityNetty4HttpServerTransport] [node] received plaintext http traffic on an https channel, closing connection Netty4HttpChannel{localAddress=/192.168.10.100:9200, remoteAddress=/192.168.10.1:58034}
[2022-12-29T20:15:18,181][WARN ][o.e.x.s.t.n.SecurityNetty4HttpServerTransport] [node] received plaintext http traffic on an https channel, closing connection Netty4HttpChannel{localAddress=/192.168.10.100:9200, remoteAddress=/192.168.10.1:58035}
[2022-12-29T20:15:20,889][WARN ][o.e.x.s.t.n.SecurityNetty4HttpServerTransport] [node] received plaintext http traffic on an https channel, closing connection Netty4HttpChannel{localAddress=/192.168.10.100:9200, remoteAddress=/192.168.10.1:58036}
[2022-12-29T20:15:20,891][WARN ][o.e.x.s.t.n.SecurityNetty4HttpServerTransport] [node] received plaintext http traffic on an https channel, closing connection Netty4HttpChannel{localAddress=/192.168.10.100:9200, remoteAddress=/192.168.10.1:58037}
[2022-12-29T20:15:50,909][WARN ][o.e.x.s.t.n.SecurityNetty4HttpServerTransport] [node] received plaintext http traffic on an https channel, closing connection Netty4HttpChannel{localAddress=/192.168.10.100:9200, remoteAddress=/192.168.10.1:58069}
[2022-12-29T20:15:50,913][WARN ][o.e.x.s.t.n.SecurityNetty4HttpServerTransport] [node] received plaintext http traffic on an https channel, closing connection Netty4HttpChannel{localAddress=/192.168.10.100:9200, remoteAddress=/192.168.10.1:58070}
三、问题描述
ElasticSearch服务正常启动,但是在浏览器上无法访问http://localhost:9200
四、错误原因
ElasticSearch默认开启了安全认证,需要将安全认证关掉文章来源:https://www.toymoban.com/news/detail-509460.html
五、解决办法
将如图所示这两个地方的true修改为false即可
六、成功截图
文章来源地址https://www.toymoban.com/news/detail-509460.html
到了这里,关于ElasticSearch~received plaintext http traffic on an https channel, closing connection Netty4HttpChan的文章就介绍完了。如果您还想了解更多内容,请在右上角搜索TOY模板网以前的文章或继续浏览下面的相关文章,希望大家以后多多支持TOY模板网!