Socket hang up kibana

Hello,

Kibana is throwing socket hang up exception very frequently and because of this problem kibana is unable to serve any search request. Every time due to below error socket hang up error occurs.

{"type":"log","@timestamp":"2018-06-12T00:01:07Z","tags":["error","elasticsearch","admin"],"pid":11447,"message":"Request error, retrying\nPOST https://x.x.x.x:9200/_xpack/monitoring/_bulk?system_id=kibana&system_api_version=2&interval=10000ms => socket hang up

How do we prevent this error?

Thanks!

Hey @meetdave2611997 can you check your Elasticsearch logs to see if any errors are being logged? It appears that monitoring is having issues communicating with your Elasticcsearch cluster, or the calls are taking too long.

@Brandon_Kobel There is no logs on elasticsearch side when this error occurs

@meetdave2611997 are you using a dedicated Elasticsearch cluster for your monitoring data? If you are, you should see xpack.monitoring.elasticsearch.url set in your kibana.yml

@Brandon_Kobel No we are not using dedicated monitoring cluster. Same cluster is being used for monitoring purpose

Hey @meetdave2611997 can you share your relevant Kibana and Elasticsearch logs?

Also, do you have a proxy in-front of Elasticsearch? Does everything else in Kibana seem to functional normally?

@Brandon_Kobel Yes, we do have a load balancer in-front of Elasticsearch. We can navigate each page in kibana but kibana is not showing any results. Every time we need to restart kibana and when we restart it, it works fine utill another socket hang up error occurs.

@meetdave2611997 from your description, it sounds like Kibana is having issues communicating with Elasticsearch in general, could you try pointing Kibana directly at an instance (removing the load balancer) to see if it starts working?

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