Error: unhandled courier request error: unknown error


(Gnuhpc) #1

ES 2.3.3 Kibana 4.5.1

One Django-based proxy (revproxy) was used ahead of kibana.

The kibana can be reached via the proxy, but got the error as below:

Oops!

Looks like something went wrong. Refreshing may do the trick.

or clear your session
Fatal Error
Courier Fetch Error: unhandled courier request error: unknown error

Version: 4.5.1
Build: 9892

Error: unhandled courier request error: unknown error
handleError@http://192.168.145.128:8000/bundles/kibana.bundle.js?v=9892:78902:23
AbstractReqProvider/AbstractReq.prototype.handleFailure@http://192.168.145.128:8000/bundles/kibana.bundle.js?v=9892:78822:15
callClient/</<@http://192.168.145.128:8000/bundles/kibana.bundle.js?v=9892:78716:14
callClient/<@http://192.168.145.128:8000/bundles/kibana.bundle.js?v=9892:78714:10
processQueue@http://192.168.145.128:8000/bundles/commons.bundle.js?v=9892:42360:29
scheduleProcessQueue/<@http://192.168.145.128:8000/bundles/commons.bundle.js?v=9892:42376:28
$RootScopeProvider/this.$get</Scope.prototype.$eval@http://192.168.145.128:8000/bundles/commons.bundle.js?v=9892:43604:17
$RootScopeProvider/this.$get</Scope.prototype.$digest@http://192.168.145.128:8000/bundles/commons.bundle.js?v=9892:43415:16
$RootScopeProvider/this.$get</Scope.prototype.$apply@http://192.168.145.128:8000/bundles/commons.bundle.js?v=9892:43712:14
done@http://192.168.145.128:8000/bundles/commons.bundle.js?v=9892:38161:37
completeRequest@http://192.168.145.128:8000/bundles/commons.bundle.js?v=9892:38359:8
createHttpBackend/</requestError@http://192.168.145.128:8000/bundles/commons.bundle.js?v=9892:38310:10

Please give a hint for me, Thanks.


(Lukas Olson) #2

Hmm, this could be one of several different things. What are the relative URLs used to access Kibana at the proxy? Are you using the server.basePath setting?


(Gnuhpc) #3

At the proxy, root (/) is used wthout setting the server.basePath in kibana config


(Lukas Olson) #4

Hmm okay. Are you getting any errors inside the browser console?


(Deepak Banka) #5

I am using kibana behind node http-proxy and I am also facing the same issue


(Deepak Banka) #6

In console, I am getting this error:

commons.bundle.js?v=9892:37816 POST http://localhost:5000/elasticsearch/_mget?timeout=0&ignore_unavailable=true&preference=1468498960287 net::ERR_EMPTY_RESPONSE(anonymous function) @ commons.bundle.js?v=9892:37816sendReq @ commons.bundle.js?v=9892:37609serverRequest @ commons.bundle.js?v=9892:37316processQueue @ commons.bundle.js?v=9892:41839(anonymous function) @ commons.bundle.js?v=9892:41855$eval @ commons.bundle.js?v=9892:43083$digest @ commons.bundle.js?v=9892:42894(anonymous function) @ commons.bundle.js?v=9892:43122completeOutstandingRequest @ commons.bundle.js?v=9892:32601(anonymous function) @ commons.bundle.js?v=9892:32878
commons.bundle.js?v=9892:62841 Error: unhandled courier request error: unknown error
at handleError (http://localhost:5000/bundles/kibana.bundle.js?v=9892:88552:23)
at DocRequest.AbstractReqProvider.AbstractReq.handleFailure (http://localhost:5000/bundles/kibana.bundle.js?v=9892:88472:15)
at http://localhost:5000/bundles/kibana.bundle.js?v=9892:88366:18
at Array.forEach (native)
at http://localhost:5000/bundles/kibana.bundle.js?v=9892:88364:19
at processQueue (http://localhost:5000/bundles/commons.bundle.js?v=9892:41839:29)
at http://localhost:5000/bundles/commons.bundle.js?v=9892:41855:28
at Scope.$eval (http://localhost:5000/bundles/commons.bundle.js?v=9892:43083:29)
at Scope.$digest (http://localhost:5000/bundles/commons.bundle.js?v=9892:42894:32)
at Scope.$apply (http://localhost:5000/bundles/commons.bundle.js?v=9892:43191:25)Notifier._showFatal @ commons.bundle.js?v=9892:62841Notifier.fatal @ commons.bundle.js?v=9892:62804wrapper @ commons.bundle.js?v=9892:8491handleError @ kibana.bundle.js?v=9892:88552AbstractReqProvider.AbstractReq.handleFailure @ kibana.bundle.js?v=9892:88472(anonymous function) @ kibana.bundle.js?v=9892:88366(anonymous function) @ kibana.bundle.js?v=9892:88364processQueue @ commons.bundle.js?v=9892:41839(anonymous function) @ commons.bundle.js?v=9892:41855$eval @ commons.bundle.js?v=9892:43083$digest @ commons.bundle.js?v=9892:42894$apply @ commons.bundle.js?v=9892:43191done @ commons.bundle.js?v=9892:37640completeRequest @ commons.bundle.js?v=9892:37838requestError @ commons.bundle.js?v=9892:37789


(Deepak Banka) #7

when I call http://localhost:5000/elasticsearch.. it works..that means there is no problem connecting to elastic from kibana using this proxy..so I am unable to understand what the issue is


(system) #8