Kibana Status goes Red quite often with Socket hang up

Hello,
I am running elastic 5.5.2
Kibana goes to red quite often
curl -XGET http://localhost:9200/_nodes?filter_path=nodes.*.version%2Cnodes.*.http.publish_address%2Cnodes.*.ip?v wont respond
and even elasticsearh cluster wont respond with curl -XGET http://localhost:9200/_cat/nodes?v

Everything starts to work only after master is restarted. I see socket time out on kibana console.

### Status Breakdown

|ID|Status|
| --- | --- |
|ui settings|Elasticsearch plugin is red|
|plugin:kibana@5.5.2|Ready|
|plugin:elasticsearch@5.5.2|{"code":"ECONNRESET"}|
|plugin:xpack_main@5.5.2|socket hang up|
|plugin:monitoring@5.5.2|Ready|
|plugin:searchprofiler@5.5.2|socket hang up|
|plugin:tilemap@5.5.2|socket hang up|
|plugin:watcher@5.5.2|socket hang up|
|plugin:grokdebugger@5.5.2|Ready|
|plugin:metrics@5.5.2|Ready|
|plugin:timelion@5.5.2|Ready|

Cluster setup

kibana
1 coordinator node
5 data nodes

Here are my kibana and elastic configurations

logging.dest: /var/log/kibana/kibana.stdout
server.port: 5601
server.host: "0.0.0.0"
elasticsearch.url: "http://localhost:9200"
elasticsearch.requestTimeout: 300000
xpack.security.enabled: false
xpack.monitoring.enabled: true
xpack.graph.enabled: false
xpack.reporting.enabled: false
xpack.ml.enabled: false
console.enabled: false

and

elastic.yml

cluster.name: log-cluster
discovery.zen.minimum_master_nodes: 3
discovery.zen.ping.unicast.hosts:
- elastic1.internal:9300
- elastic2.internal:9300
- elastic3.internal:9300
- elastic4.internal:9300
- elastic5.internal:9300



network.host: [_local_,_site_]
network.publish_host: _site_

search:
    remote:
        logging:
            seeds:
             - elastic1.internal:9300
             - elastic2.internal:9300
             - elastic3.internal:9300
             - elastic4.internal:9300
             - elastic5.internal:9300
    



node.name: ${HOSTNAME}
node.master: false
node.data: false
node.ingest: false
node.ml: false

path.logs: /db/elastic/log
path.data: /db/elastic/data

bootstrap.memory_lock: true
bootstrap.seccomp: false

xpack.security.enabled: false
xpack.monitoring.enabled: true
xpack.graph.enabled: false
xpack.watcher.enabled: false
xpack.ml.enabled: false

Hello,

We don't support 5.5.2 anymore and our latest release is 7.17. Please see this product end of lifes here.

So I am not sure how to get you the help you need. Are you ok to upgrade?

Thanks,
Bhavya