I'm trying to use the new Java Client and running into issues when trying to connect to Elasticsearch running in a docker container now that xpack security is turned on by default.
I'm getting the following error here.
"message":"received plaintext http traffic on an https channel, closing connection Netty4HttpChannel
I'm following the instructions here and trying use the http.p12 and password
and here
And can't seem to get a connection working.
What am I missing here? I haven't been able to find a full tutorial and now that xpack security is on by default perhaps this should be part of the client documentation.
In order for anyone to be able to meaningfully help you, you will need to share with us exactly what you tried ( or share your code snippet ) and exactly how it did not work.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.