踩坑:
当我们访问ip+9200 验证是否启动成功时报错
received plaintext http traffic on an https channel, closing connection Netty4HttpChannel{localAddress=/172.16.5.10:9200,
remoteAddress=/172.16.11.68:11111}文章来源:https://www.toymoban.com/news/detail-761773.html
如图:
原因:Elasticsearch开启了安全认证
解决:在config/目录下面的elasticsearch.yml配置文件,把安全认证开关从原先的true改成false,实现免密登录访问即可,修改如图:
文章来源地址https://www.toymoban.com/news/detail-761773.html
到了这里,关于Elasticsearch踩坑:received plaintext http traffic on an https channel, closing connection Netty4HttpCh的文章就介绍完了。如果您还想了解更多内容,请在右上角搜索TOY模板网以前的文章或继续浏览下面的相关文章,希望大家以后多多支持TOY模板网!