At first I thought that this occurs under heavy loads. But then I caught this error on the localhost. I tried various connection settings, but the error is reproduced even on my localhost. Perhaps you at least tell me which way to look?
sharing your setup and configuration for Elasticsearch and from your javascript client would help a lot to understand the architecture, along with proper exceptions of errors.
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.