# Cabana gives error when setting auto refresh

**URL:** <https://discuss.elastic.co/t/cabana-gives-error-when-setting-auto-refresh/43124>\
**Category:** Kibana\
**Created:** [March 1, 2016, 1:49pm UTC](https://discuss.elastic.co/t/cabana-gives-error-when-setting-auto-refresh/43124 "2016-03-01T13:49:25Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![zozo6015](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/zozo6015/32/12117_2.png) [@zozo6015](https://discuss.elastic.co/u/zozo6015)\
**Post date:** [March 1, 2016, 1:49pm UTC](https://discuss.elastic.co/t/cabana-gives-error-when-setting-auto-refresh/43124/1 "2016-03-01T13:49:25Z")

</div>

Hello,

No matter what value I set for the auto refresh in Kibana I get the following errors:

Courier Fetch: undefined is not an object (evaluating 'resp.timed\_out')  
Version: 4.4.1  
Build: 9693  
Error: undefined is not an object (evaluating 'resp.timed\_out')  
[https://core.z0z0.tk:5601/bundles/kibana.bundle.js?v=9693:90010:18](https://core.z0z0.tk:5601/bundles/kibana.bundle.js?v=9693:90010:18)  
[https://core.z0z0.tk:5601/bundles/commons.bundle.js?v=9693:63867:28](https://core.z0z0.tk:5601/bundles/commons.bundle.js?v=9693:63867:28)  
[https://core.z0z0.tk:5601/bundles/commons.bundle.js?v=9693:63836:31](https://core.z0z0.tk:5601/bundles/commons.bundle.js?v=9693:63836:31)  
map@[native code]  
map@[https://core.z0z0.tk:5601/bundles/commons.bundle.js?v=9693:63835:34](https://core.z0z0.tk:5601/bundles/commons.bundle.js?v=9693:63835:34)  
callResponseHandlers@[https://core.z0z0.tk:5601/bundles/kibana.bundle.js?v=9693:90003:26](https://core.z0z0.tk:5601/bundles/kibana.bundle.js?v=9693:90003:26)  
[https://core.z0z0.tk:5601/bundles/kibana.bundle.js?v=9693:89510:37](https://core.z0z0.tk:5601/bundles/kibana.bundle.js?v=9693:89510:37)  
processQueue@[https://core.z0z0.tk:5601/bundles/commons.bundle.js?v=9693:41836:31](https://core.z0z0.tk:5601/bundles/commons.bundle.js?v=9693:41836:31)  
[https://core.z0z0.tk:5601/bundles/commons.bundle.js?v=9693:41852:40](https://core.z0z0.tk:5601/bundles/commons.bundle.js?v=9693:41852:40)  
$eval@[https://core.z0z0.tk:5601/bundles/commons.bundle.js?v=9693:43080:29](https://core.z0z0.tk:5601/bundles/commons.bundle.js?v=9693:43080:29)  
$digest@[https://core.z0z0.tk:5601/bundles/commons.bundle.js?v=9693:42891:37](https://core.z0z0.tk:5601/bundles/commons.bundle.js?v=9693:42891:37)  
$apply@[https://core.z0z0.tk:5601/bundles/commons.bundle.js?v=9693:43188:32](https://core.z0z0.tk:5601/bundles/commons.bundle.js?v=9693:43188:32)  
done@[https://core.z0z0.tk:5601/bundles/commons.bundle.js?v=9693:37637:54](https://core.z0z0.tk:5601/bundles/commons.bundle.js?v=9693:37637:54)  
completeRequest@[https://core.z0z0.tk:5601/bundles/commons.bundle.js?v=9693:37835:16](https://core.z0z0.tk:5601/bundles/commons.bundle.js?v=9693:37835:16)  
requestLoaded@[https://core.z0z0.tk:5601/bundles/commons.bundle.js?v=9693:37776:25](https://core.z0z0.tk:5601/bundles/commons.bundle.js?v=9693:37776:25)

Please help me figure this out.

Regards,  
Peter

---

<div class="post-metadata">

**Author:** ![stormpython](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/stormpython/32/7190_2.png) [@stormpython](https://discuss.elastic.co/u/stormpython)\
**Post date:** [March 1, 2016, 7:10pm UTC](https://discuss.elastic.co/t/cabana-gives-error-when-setting-auto-refresh/43124/2 "2016-03-01T19:10:56Z")

</div>

Hi Peter,

I was able to reproduce this issue only one time. How often are you seeing this happen? Can you provide steps to reproduce this bug.

Thanks.

---

<div class="post-metadata">

**Author:** ![Court](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/court/32/6640_2.png) [@Court](https://discuss.elastic.co/u/Court)\
**Post date:** [March 1, 2016, 7:26pm UTC](https://discuss.elastic.co/t/cabana-gives-error-when-setting-auto-refresh/43124/3 "2016-03-01T19:26:24Z")

</div>

I'm pretty sure this will happen whenever Kibana is expecting a json response from an xhr request but it gets back a different type of response (usually html).

---

<div class="post-metadata">

**Author:** ![zozo6015](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/zozo6015/32/12117_2.png) [@zozo6015](https://discuss.elastic.co/u/zozo6015)\
**Post date:** [March 1, 2016, 8:19pm UTC](https://discuss.elastic.co/t/cabana-gives-error-when-setting-auto-refresh/43124/4 "2016-03-01T20:19:32Z")

</div>

It happens to me almost every time I an setting up autorefresh. What I last did I set the dashboard show 30days of data then I selected refresh time 5 minutes. After about 10 seconds of thinking I end up with the errors above.

---

<div class="post-metadata">

**Author:** ![Court](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/court/32/6640_2.png) [@Court](https://discuss.elastic.co/u/Court)\
**Post date:** [March 10, 2016, 2:02am UTC](https://discuss.elastic.co/t/cabana-gives-error-when-setting-auto-refresh/43124/5 "2016-03-10T02:02:02Z")

</div>

Are you using the shield UI plugin? There's currently a P1 bug related to that, which looks to be the same issue that you're having: [https://github.com/elastic/kibana/issues/6254](https://github.com/elastic/kibana/issues/6254)

Basically, it happens every time the session expires.

---

<div class="post-metadata">

**Author:** ![zozo6015](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/zozo6015/32/12117_2.png) [@zozo6015](https://discuss.elastic.co/u/zozo6015)\
**Post date:** [March 10, 2016, 10:09pm UTC](https://discuss.elastic.co/t/cabana-gives-error-when-setting-auto-refresh/43124/6 "2016-03-10T22:09:14Z")

</div>

Yes, I am using shield. And that's right usually that happens when the sessions expires. However it also happens if the data takes too long to load, but it never happened before I have installed and configured shield on the system.

---

<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:59pm UTC](https://discuss.elastic.co/t/cabana-gives-error-when-setting-auto-refresh/43124/7 "2017-07-06T13:59:32Z")

</div>


