Connection reset by peer

We are using Elasticsearch cloud version. We are connecting to Elasticsearch cloud using Elasticsearch java api client. However, we are getting "IOException : connection reset by peer" error randomly. It seems this error is thrown within 5-30 ms of the request initiation.
Note that , there is not significant delay/wait between the request. Requests are being made consecutively and immediately after each other (with hardly few second between them) and most of the requests go through but few fail randomly with "Connection reset by peer" error.
These are mainly "bulk" api requests to Elasticsearch and there are as few as 300 documents in the requests and request size not exceeding few kbs.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.