Clicky

com.sksamuel.elastic4s.TcpClient$ - No cluster.name was specified in the settings for the client.

October 16, 2017

Problem:

com.sksamuel.elastic4s.TcpClient$ - No cluster.name was specified in the settings for the client.”

Solution:

Add the cluster name as a parameter on the connection URI:

  1. Go to http://<elasticsearch_host>:9200
  2. Retrieve the cluster_name value and add it as a parameter to the connection URI: elasticsearch://<elasticsearch_host>:9300?cluster.name=<cluster_name_value