Socket Hang Up error when called with REST API

Sometimes while making a REST API call it throws 500 error with message:

{“message”:“socket hang up”,“name”:“Error”,“stack”:"Error: socket hang up\n at connResetException (internal/errors.js:609:14)\n at TLSSocket.socketOnEnd (_http_client.js:458:23)\n at TLSSocket.emit (events.js:326:22)\n at TLSSocket.EventEmitter.emit (domain.js:483:12)

Is it something related to the configuration of Camunda Engine?
Could you please tell me the solution?

Hi @AnkeshGautam, I am facing the same issue. Did you come with a solution for this?