Time out error

hi
my node js app can not connect to elasticsearch and return time out error
plz help
thanks

cluster status :
{
"_nodes": {
"total": 1,
"successful": 1,
"failed": 0
},
"cluster_name": "elasticsearch",
"cluster_uuid": "W6XFzWuPQWmK5T8Q-Rr9Cg",
"timestamp": 1548867607061,
"status": "yellow",
"indices": {
"count": 6,
"shards": {
"total": 30,
"primaries": 30,
"replication": 0,
"index": {
"shards": {
"min": 5,
"max": 5,
"avg": 5
},
"primaries": {
"min": 5,
"max": 5,
"avg": 5
},
"replication": {
"min": 0,
"max": 0,
"avg": 0
}
}
},
"docs": {
"count": 21641310,
"deleted": 0
},
"store": {
"size_in_bytes": 1426573419
},
"fielddata": {
"memory_size_in_bytes": 15488,
"evictions": 0
},
"query_cache": {
"memory_size_in_bytes": 0,
"total_count": 17967,
"hit_count": 0,
"miss_count": 17967,
"cache_size": 0,
"cache_count": 0,
"evictions": 0
},
"completion": {
"size_in_bytes": 0
},
"segments": {
"count": 155,
"memory_in_bytes": 6197692,
"terms_memory_in_bytes": 5331207,
"stored_fields_memory_in_bytes": 588744,
"term_vectors_memory_in_bytes": 0,
"norms_memory_in_bytes": 26304,
"points_memory_in_bytes": 238729,
"doc_values_memory_in_bytes": 12708,
"index_writer_memory_in_bytes": 2300976,
"version_map_memory_in_bytes": 0,
"fixed_bit_set_memory_in_bytes": 0,
"max_unsafe_auto_id_timestamp": 1548865789620,
"file_sizes": {}
}
},
"nodes": {
"count": {
"total": 1,
"data": 1,
"coordinating_only": 0,
"master": 1,
"ingest": 1
},
"versions": [
"6.5.4"
],
"os": {
"available_processors": 2,
"allocated_processors": 2,
"names": [
{
"name": "Linux",
"count": 1
}
],
"mem": {
"total_in_bytes": 4143820800,
"free_in_bytes": 1581486080,
"used_in_bytes": 2562334720,
"free_percent": 38,
"used_percent": 62
}
},
"process": {
"cpu": {
"percent": 96
},
"open_file_descriptors": {
"min": 477,
"max": 477,
"avg": 477
}
},
"jvm": {
"max_uptime_in_millis": 1847266,
"versions": [
{
"version": "1.8.0_191",
"vm_name": "OpenJDK 64-Bit Server VM",
"vm_version": "25.191-b12",
"vm_vendor": "Oracle Corporation",
"count": 1
}
],
"mem": {
"heap_used_in_bytes": 612410528,
"heap_max_in_bytes": 1056309248
},
"threads": 42
},
"fs": {
"total_in_bytes": 63095713792,
"free_in_bytes": 42494726144,
"available_in_bytes": 42477948928
},
"plugins": ,
"network_types": {
"transport_types": {
"netty4": 1
},
"http_types": {
"netty4": 1
}
}
}
}

my node js error :

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