# Error: unhandled courier request error: unknown error

**URL:** <https://discuss.elastic.co/t/error-unhandled-courier-request-error-unknown-error/53082>\
**Category:** Kibana\
**Created:** [June 17, 2016, 2:52am UTC](https://discuss.elastic.co/t/error-unhandled-courier-request-error-unknown-error/53082 "2016-06-17T02:52:47Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![gnuhpc](https://avatars.discourse-cdn.com/v4/letter/g/57b2e6/32.png) [@gnuhpc](https://discuss.elastic.co/u/gnuhpc)\
**Post date:** [June 17, 2016, 2:52am UTC](https://discuss.elastic.co/t/error-unhandled-courier-request-error-unknown-error/53082/1 "2016-06-17T02:52:47Z")

</div>

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](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](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](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](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](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](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](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](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](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](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](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](http://192.168.145.128:8000/bundles/commons.bundle.js?v=9892:38310:10)

Please give a hint for me, Thanks.

---

<div class="post-metadata">

**Author:** ![lukas](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/lukas/32/6812_2.png) [@lukas](https://discuss.elastic.co/u/lukas)\
**Post date:** [June 17, 2016, 5:00pm UTC](https://discuss.elastic.co/t/error-unhandled-courier-request-error-unknown-error/53082/2 "2016-06-17T17:00:30Z")

</div>

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?

---

<div class="post-metadata">

**Author:** ![gnuhpc](https://avatars.discourse-cdn.com/v4/letter/g/57b2e6/32.png) [@gnuhpc](https://discuss.elastic.co/u/gnuhpc)\
**Post date:** [June 19, 2016, 7:27am UTC](https://discuss.elastic.co/t/error-unhandled-courier-request-error-unknown-error/53082/3 "2016-06-19T07:27:17Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![lukas](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/lukas/32/6812_2.png) [@lukas](https://discuss.elastic.co/u/lukas)\
**Post date:** [June 21, 2016, 4:21pm UTC](https://discuss.elastic.co/t/error-unhandled-courier-request-error-unknown-error/53082/4 "2016-06-21T16:21:27Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![dbanka](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dbanka/32/8761_2.png) [@dbanka](https://discuss.elastic.co/u/dbanka)\
**Post date:** [July 14, 2016, 12:24pm UTC](https://discuss.elastic.co/t/error-unhandled-courier-request-error-unknown-error/53082/5 "2016-07-14T12:24:01Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![dbanka](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dbanka/32/8761_2.png) [@dbanka](https://discuss.elastic.co/u/dbanka)\
**Post date:** [July 14, 2016, 12:26pm UTC](https://discuss.elastic.co/t/error-unhandled-courier-request-error-unknown-error/53082/6 "2016-07-14T12:26:26Z")

</div>

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](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](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](http://localhost:5000/bundles/kibana.bundle.js?v=9892:88472:15))  
at [http://localhost:5000/bundles/kibana.bundle.js?v=9892:88366:18](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](http://localhost:5000/bundles/kibana.bundle.js?v=9892:88364:19)  
at processQueue ([http://localhost:5000/bundles/commons.bundle.js?v=9892:41839:29](http://localhost:5000/bundles/commons.bundle.js?v=9892:41839:29))  
at [http://localhost:5000/bundles/commons.bundle.js?v=9892:41855:28](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](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](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](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

---

<div class="post-metadata">

**Author:** ![dbanka](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dbanka/32/8761_2.png) [@dbanka](https://discuss.elastic.co/u/dbanka)\
**Post date:** [July 14, 2016, 12:46pm UTC](https://discuss.elastic.co/t/error-unhandled-courier-request-error-unknown-error/53082/7 "2016-07-14T12:46:01Z")

</div>

> [@dbanka](#):
>
> [http://localhost:5000/elasticsearch](http://localhost:5000/elasticsearch)

when I call [http://localhost:5000/elasticsearch](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

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 6, 2017, 1:46pm UTC](https://discuss.elastic.co/t/error-unhandled-courier-request-error-unknown-error/53082/8 "2017-07-06T13:46:48Z")

</div>


