santthosh / aws-es-kibana

AWS ElasticSearch Kibana Proxy
Apache License 2.0
325 stars 133 forks source link

Socket hang up error #7

Open parthtrivedi2492 opened 8 years ago

parthtrivedi2492 commented 8 years ago

Hello,

I am using aws-es-kibana plugin as proxy for AWS kibana. It works fine for some time but then suddenly I am getting socket hang up error. Any idea?

parthtrivedi2492 commented 8 years ago

/usr/lib/node_modules/aws-es-kibana/node_modules/http-proxy/lib/http-proxy/index.js:119 throw err; ^ Error: socket hang up at createHangUpError (http.js:1528:15) at CleartextStream.socketCloseListener (http.js:1578:23) at CleartextStream.emit (events.js:95:17) at tls.js:694:10 at process._tickDomainCallback (node.js:492:13)

santthosh commented 8 years ago

@parthtrivedi2492 Is this still happening with the latest version, can you please advise on some recreation steps?

imre-kerr commented 5 years ago

I am able to reproduce this by aborting any request (e.g. just close browser tab before kibana is fully loaded.) I implemented a simple error handler, this seems to fix it.