# Kibana Dashboard timing out after 30000ms when opened in new tab of browser

**URL:** <https://discuss.elastic.co/t/kibana-dashboard-timing-out-after-30000ms-when-opened-in-new-tab-of-browser/188554>\
**Category:** Kibana\
**Created:** [July 2, 2019, 4:26pm UTC](https://discuss.elastic.co/t/kibana-dashboard-timing-out-after-30000ms-when-opened-in-new-tab-of-browser/188554 "2019-07-02T16:26:49Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Darshan\_v\_Shah](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/darshan_v_shah/32/46258_2.png) [@Darshan\_v\_Shah](https://discuss.elastic.co/u/Darshan_v_Shah)\
**Post date:** [July 2, 2019, 4:26pm UTC](https://discuss.elastic.co/t/kibana-dashboard-timing-out-after-30000ms-when-opened-in-new-tab-of-browser/188554/1 "2019-07-02T16:26:49Z")

</div>

Hi team,

I am facing as issue where the Kibana dashboard crashes on the browser saying

> Version: 6.7.2  
> Build: 20334  
> SearchError: Request Timeout after 30000ms  
> at [http://ec2-3-19-110-7.us-east-2.compute.amazonaws.com:5601/bundles/commons.bundle.js:4:383522](http://ec2-3-19-110-7.us-east-2.compute.amazonaws.com:5601/bundles/commons.bundle.js:4:383522)  
> at processQueue ([http://ec2-3-19-110-7.us-east-2.compute.amazonaws.com:5601/built\_assets/dlls/vendors.bundle.dll.js:450:199687](http://ec2-3-19-110-7.us-east-2.compute.amazonaws.com:5601/built_assets/dlls/vendors.bundle.dll.js:450:199687))  
> at [http://ec2-3-19-110-7.us-east-2.compute.amazonaws.com:5601/built\_assets/dlls/vendors.bundle.dll.js:450:200650](http://ec2-3-19-110-7.us-east-2.compute.amazonaws.com:5601/built_assets/dlls/vendors.bundle.dll.js:450:200650)  
> at Scope.$digest ([http://ec2-3-19-110-7.us-east-2.compute.amazonaws.com:5601/built\_assets/dlls/vendors.bundle.dll.js:450:210412](http://ec2-3-19-110-7.us-east-2.compute.amazonaws.com:5601/built_assets/dlls/vendors.bundle.dll.js:450:210412))  
> at [http://ec2-3-19-110-7.us-east-2.compute.amazonaws.com:5601/built\_assets/dlls/vendors.bundle.dll.js:450:212944](http://ec2-3-19-110-7.us-east-2.compute.amazonaws.com:5601/built_assets/dlls/vendors.bundle.dll.js:450:212944)  
> at completeOutstandingRequest ([http://ec2-3-19-110-7.us-east-2.compute.amazonaws.com:5601/built\_assets/dlls/vendors.bundle.dll.js:450:64425](http://ec2-3-19-110-7.us-east-2.compute.amazonaws.com:5601/built_assets/dlls/vendors.bundle.dll.js:450:64425))  
> at [http://ec2-3-19-110-7.us-east-2.compute.amazonaws.com:5601/built\_assets/dlls/vendors.bundle.dll.js:450:67267](http://ec2-3-19-110-7.us-east-2.compute.amazonaws.com:5601/built_assets/dlls/vendors.bundle.dll.js:450:67267)

It is reproducible if you set the dashboard to auto refresh and start doing your chores on other tabs. You will notice that it should be able to see the same error. Why so ? What are the suggestions for this?

What I understand is that Kibana is keeping a track of my "focus"/"blur"( probably ) to understand if I am looking or not. If I keep looking at the tab, it never fails. Or also if I open it as a separate browser window.

I am not able to completely understand the part where, when I open inspect and check network, i see that during the period when I was not looking, there was no network activity. No requests even. So why the request timeout ?

This is not just on my setup of kibana, I have tried the auto refresh on your kibana too :-  
[demo.elastic.co/app/kibana#/dashboard/79ffd6e0-faa0-11e6-947f-177f697178b8-ecs](https://demo.elastic.co/app/kibana#/dashboard/79ffd6e0-faa0-11e6-947f-177f697178b8-ecs?_g=(refreshInterval:(pause:!f,value:5000),time:(from:now-2h,to:now))&_a=(description:'Overview%20of%20host%20metrics',filters:!(),fullScreenMode:!f,options:(darkTheme:!f),panels:!((gridData:(h:15,i:'1',w:24,x:0,y:55),id:'6b7b9a40-faa1-11e6-86b1-cd7735ff7e23-ecs',panelIndex:'1',type:visualization,version:'7.0.0'),(gridData:(h:15,i:'2',w:24,x:24,y:25),id:'4d546850-1b15-11e7-b09e-037021c4f8df-ecs',panelIndex:'2',type:visualization,version:'7.0.0'),(gridData:(h:15,i:'3',w:24,x:24,y:55),id:'089b85d0-1b16-11e7-b09e-037021c4f8df-ecs',panelIndex:'3',type:visualization,version:'7.0.0'),(gridData:(h:15,i:'4',w:24,x:0,y:40),id:bfa5e400-1b16-11e7-b09e-037021c4f8df-ecs,panelIndex:'4',type:visualization,version:'7.0.0'),(gridData:(h:15,i:'5',w:24,x:24,y:70),id:e0f001c0-1b18-11e7-b09e-037021c4f8df-ecs,panelIndex:'5',type:visualization,version:'7.0.0'),(gridData:(h:15,i:'6',w:24,x:0,y:70),id:'2e224660-1b19-11e7-b09e-037021c4f8df-ecs',panelIndex:'6',type:visualization,version:'7.0.0'),(gridData:(h:15,i:'7',w:24,x:0,y:25),id:ab2d1e90-1b1a-11e7-b09e-037021c4f8df-ecs,panelIndex:'7',type:visualization,version:'7.0.0'),(gridData:(h:15,i:'8',w:24,x:24,y:40),id:'4e4bb1e0-1b1b-11e7-b09e-037021c4f8df-ecs',panelIndex:'8',type:visualization,version:'7.0.0'),(gridData:(h:10,i:'9',w:8,x:16,y:5),id:'26732e20-1b91-11e7-bec4-a5e9ec5cab8b-ecs',panelIndex:'9',type:visualization,version:'7.0.0'),(gridData:(h:10,i:'10',w:8,x:0,y:5),id:'83e12df0-1b91-11e7-bec4-a5e9ec5cab8b-ecs',panelIndex:'10',type:visualization,version:'7.0.0'),(gridData:(h:10,i:'11',w:8,x:8,y:5),id:d3166e80-1b91-11e7-bec4-a5e9ec5cab8b-ecs,panelIndex:'11',type:visualization,version:'7.0.0'),(gridData:(h:10,i:'12',w:8,x:24,y:5),id:'522ee670-1b92-11e7-bec4-a5e9ec5cab8b-ecs',panelIndex:'12',type:visualization,version:'7.0.0'),(gridData:(h:10,i:'13',w:8,x:32,y:5),id:'1aae9140-1b93-11e7-8ada-3df93aab833e-ecs',panelIndex:'13',type:visualization,version:'7.0.0'),(gridData:(h:10,i:'14',w:16,x:32,y:15),id:'34f97ee0-1b96-11e7-8ada-3df93aab833e-ecs',panelIndex:'14',type:visualization,version:'7.0.0'),(gridData:(h:5,i:'16',w:24,x:0,y:0),id:System-Navigation-ecs,panelIndex:'16',type:visualization,version:'7.0.0'),(gridData:(h:10,i:'21',w:8,x:0,y:15),id:'19e123b0-4d5a-11e7-aee5-fdc812cc3bec-ecs',panelIndex:'21',type:visualization,version:'7.0.0'),(gridData:(h:10,i:'22',w:8,x:8,y:15),id:d2e80340-4d5c-11e7-aa29-87a97a796de6-ecs,panelIndex:'22',type:visualization,version:'7.0.0'),(gridData:(h:10,i:'23',w:8,x:24,y:15),id:'825fdb80-4d1d-11e7-b5f2-2b7c1895bf32-ecs',panelIndex:'23',type:visualization,version:'7.0.0'),(gridData:(h:10,i:'25',w:8,x:40,y:5),id:'96976150-4d5d-11e7-aa29-87a97a796de6-ecs',panelIndex:'25',type:visualization,version:'7.0.0'),(gridData:(h:15,i:'27',w:24,x:0,y:85),id:'99381c80-4d60-11e7-9a4c-ed99bbcaa42b-ecs',panelIndex:'27',type:visualization,version:'7.0.0'),(gridData:(h:15,i:'28',w:24,x:24,y:85),id:c5e3cf90-4d60-11e7-9a4c-ed99bbcaa42b-ecs,panelIndex:'28',type:visualization,version:'7.0.0'),(embeddableConfig:(vis:(defaultColors:('0%20-%20100':'rgb(0,104,55)'))),gridData:(h:10,i:'29',w:8,x:16,y:15),id:'590a60f0-5d87-11e7-8884-1bb4c3b890e4-ecs',panelIndex:'29',type:visualization,version:'7.0.0'),(gridData:(h:5,i:'30',w:24,x:24,y:0),id:'3d65d450-a9c3-11e7-af20-67db8aecb295-ecs',panelIndex:'30',type:visualization,version:'7.0.0')),query:(language:lucene,query:''),timeRestore:!f,title:'%5BMetricbeat%20System%5D%20Host%20overview%20ECS',viewMode:view))  
As mentioned previously, just open this and starting working on other tabs and let me know if you face it.

I have attached some screenshots for both.

I also have tried reducing the shards from 1000 to 300. I have a increased the node size from 2Core4GB RAM to 8Core32GB RAM. It did not help.

My chrome

> Google Chrome is up to date  
> Version 75.0.3770.100 (Official Build) (64-bit)

Initial errors:-

 ![Issue](https://us1.discourse-cdn.com/elastic/original/3X/b/1/b164affac9bf3980e1ff4b7138136a9724c9dc72.png)

End result:-

 ![FinalResult](https://us1.discourse-cdn.com/elastic/original/3X/b/a/bab9f22327c4d7af4a9cffe48ec1f275b6dee44f.png)

Also for me :-

 ![MySimilar](https://us1.discourse-cdn.com/elastic/original/3X/7/f/7f7f57c919e0054caa32e0d6123fd38b59ee615b.png)

Any inputs will be greatly valued.  
Thanks,  
Darshan

---

<div class="post-metadata">

**Author:** ![jen-huang](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jen-huang/32/74327_2.png) [@jen-huang](https://discuss.elastic.co/u/jen-huang)\
**Post date:** [July 2, 2019, 7:57pm UTC](https://discuss.elastic.co/t/kibana-dashboard-timing-out-after-30000ms-when-opened-in-new-tab-of-browser/188554/2 "2019-07-02T19:57:32Z")

</div>

Hi, I tried the demo dashboard you linked to and kept it in a background tab for a few minutes and did not get the same thing you experienced. I opened the Network information in a new window for that tab and observed that data calls were still being made while the tab was in the background.

> I am not able to completely understand the part where, when I open inspect and check network, i see that during the period when I was not looking, there was no network activity. No requests even. So why the request timeout ?

You need to open network tabe _before_ putting it as a background tab.. It only captures information when it is open. So try that out and see if you see any failing requests being made.

In addition, I'd like to know what your auto-refresh frequency is? (I did the default every 5 seconds) Please also try in a different browser like Firefox, and an incognito Chrome session as well. Thank you.

---

<div class="post-metadata">

**Author:** ![Darshan\_v\_Shah](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/darshan_v_shah/32/46258_2.png) [@Darshan\_v\_Shah](https://discuss.elastic.co/u/Darshan_v_Shah)\
**Post date:** [July 3, 2019, 1:57am UTC](https://discuss.elastic.co/t/kibana-dashboard-timing-out-after-30000ms-when-opened-in-new-tab-of-browser/188554/3 "2019-07-03T01:57:52Z")

</div>

Hi,

Thanks for the reply.

The new window method works for me, as I mentioned.

But new tab in the same window is the problem.  
I start inspect and confirm few calls being done and then open/move over to other tabs, but in the same window. After few minutes I return and start seeing errors and there is a big gap in the network activity. I see you mention trying with new window. Have you tried this?

Also i have tried this with firefox as well.  
But it's the same result. I can definitely give a try to a browser on a different device.

Thanks,  
Darshan

---

<div class="post-metadata">

**Author:** ![Darshan\_v\_Shah](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/darshan_v_shah/32/46258_2.png) [@Darshan\_v\_Shah](https://discuss.elastic.co/u/Darshan_v_Shah)\
**Post date:** [July 20, 2019, 5:08am UTC](https://discuss.elastic.co/t/kibana-dashboard-timing-out-after-30000ms-when-opened-in-new-tab-of-browser/188554/4 "2019-07-20T05:08:39Z")

</div>

The chrome browser seems to throttle auto-refresh timers of background pages. Disabling it here :

> chrome://flags/#expensive-background-timer-throttling

then worked for me.

Thanks

---

<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:** [August 17, 2019, 5:17am UTC](https://discuss.elastic.co/t/kibana-dashboard-timing-out-after-30000ms-when-opened-in-new-tab-of-browser/188554/5 "2019-08-17T05:17:27Z")

</div>

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