Cannot detect ES version

Hi Everyone, i trying to connect hive with elasticsearch using the ES-Hadoop Connector but i receive this error:
"java.sql.SQLException: Error while processing statement: FAILED: Execution Error, return code 1 from
org.apache.hadoop.hive.ql.exec.DDLTask. org.elasticsearch.hadoop.EsHadoopIllegalArgumentException:
Cannot detect ES version - typically this happens if the network/Elasticsearch cluster is not accessible
or when targeting a WAN/Cloud instance without the proper setting 'es.nodes.wan.only'"

thank you

This often happens if your Hive nodes cannot communicate with your ES nodes. You will need to recheck your connections.