当前位置:   article > 正文

Elasticsearch踩坑:received plaintext http traffic on an https channel, closing connection Netty4HttpCh_received plaintext traffic on an encrypted channel

received plaintext traffic on an encrypted channel, closing connection netty

踩坑:

当我们访问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}

如图:
在这里插入图片描述
原因:Elasticsearch开启了安全认证
解决:在config/目录下面的elasticsearch.yml配置文件,把安全认证开关从原先的true改成false,实现免密登录访问即可,修改如图:
在这里插入图片描述

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/weixin_40725706/article/detail/457608
推荐阅读
相关标签
  

闽ICP备14008679号