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:
- [Solved] Andriod Error: Cleartext HTTP traffic to xxx not permitted
- [Solved] Caused by: io.netty.channel.AbstractChannel$AnnotatedConnectException: Connection refused: no furthe
- [Solved] Elasticsearch.service failed after enable elasticsearch security features
- Spring Boot Druid Error: discard long time none received connection
- Android Error: Consumer closed input channel or an error occurred. events=0x9
- [Solved] CONDA error: Condahtterror: http 000 connection failed for URL
- How to Solve elasticSearch8.1.2 Install Error in Win10
- Springcloud configuration center client 3355 startup Error: error on get request for“ http://localhost:8761/eureka/apps/ “: Connection
- [Solved] Websocket Error: WebSocket is already in CLOSING or CLOSED state
- How to Solve elasticsearch root user start Error
- [Solved] ElasticSearch startup error: bootstrap checks failed
- How to Solve elasticsearch-7.15.1 operation errors
- [Elasticsearch Exception]Found interface org.elasticsearch.common.bytes.BytesReference
- Error: Can’t initialize nvrm channel [How to Solve]
- Error received: error: xhr’get’to URL cross domain [How to Solve]
- How to Solve AD20 Channel-Offset Error
- [Solved] Python Connect to ES Error: elasticsearch.ApiError: ApiError(406
- [Solved] Elasticsearch-7.2.1 startup error: ERROR: [1] bootstrap checks failed
- [Solved] Elasticsearch 7.10 Startup Error: bootstrap checks failed
- [Windows] elasticsearch.exceptions.RequestError: <unprintable RequestError object>