Socket hang up kibana


(Meet Dave) #1

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!


(Brandon Kobel) #2

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.


(Meet Dave) #3

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


(Brandon Kobel) #4

@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


(Meet Dave) #5

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


(Brandon Kobel) #6

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


(Brandon Kobel) #7

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


(Meet Dave) #8

@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.


(Brandon Kobel) #9

@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?


(system) #10

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