Couldn't connect to host, Elasticsearch down

Whenever we send a request to post a new case through the sugar API's, we get the same response even though the case is being posted/received on the server. Any ideas why this is happening?

Path:

https://{sugarURL}/rest/v11/Cases 

Response:

status:500

{

error: 'unknown_error',
error_message: "Couldn't connect to host, Elasticsearch down?"
}

  • Hi Karen Escritorio 

    Make sure ElasticSearch service is installed, running and configured with compatible version according to Supported Platforms.

    Regards

    André Lopes
    Lampada Global
    Skype: andre.lampada
  • what if i'm not using elasticsearch for my use case, i'm just posting a new case from a third pary (in this case postman) and the response i need is just the 200 staus? if i post the case from a 3rd party it does work,but i just get that error response 

  • Yes, by creating a record on SugarCRM automatically it is synced in the ElasticSearch server.

    There is no way to disable this behavior without hacking the core code.

    So you really need to setup an Elasticsearch server.

    Installing Elasticsearch is pretty easy.

    Regards

    André Lopes
    Lampada Global
    Skype: andre.lampada