# Widget errors Failed to execute 'insertBefore' on 'Node'

**URL:** <https://community.graylog.org/t/widget-errors-failed-to-execute-insertbefore-on-node/14144>\
**Category:** Graylog Central (peer support)\
**Created:** [February 24, 2020, 5:02pm UTC](https://community.graylog.org/t/widget-errors-failed-to-execute-insertbefore-on-node/14144 "2020-02-24T17:02:18Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![\_lluis](https://avatars.discourse-cdn.com/v4/letter/_/f6c823/32.png) [@\_lluis](https://community.graylog.org/u/_lluis)\
**Post date:** [February 24, 2020, 5:02pm UTC](https://community.graylog.org/t/widget-errors-failed-to-execute-insertbefore-on-node/14144/1 "2020-02-24T17:02:18Z")

</div>

Hello, I just started up a graylog server and its been going pretty good so far. I’ve been seeing some errors when loading some widgets that display the following: While rendering this widget, the following error occurred: NotFoundError: Failed to execute ‘insertBefore’ on ‘Node’: The node before which the new node is to be inserted is not a child of this node.

Any idea what this is? The error goes away if I refresh the page or run the query again.

TIA

---

<div class="post-metadata">

**Author:** ![konrad](https://sea2.discourse-cdn.com/flex016/user_avatar/community.graylog.org/konrad/32/1661_2.png) [@konrad](https://community.graylog.org/u/konrad)\
**Post date:** [February 25, 2020, 8:49am UTC](https://community.graylog.org/t/widget-errors-failed-to-execute-insertbefore-on-node/14144/2 "2020-02-25T08:49:26Z")

</div>

Hey @_lluis,

it is always helpful to share your Graylog Version so we can know if you run into a known or new problem.

- Konrad

---

<div class="post-metadata">

**Author:** ![\_lluis](https://avatars.discourse-cdn.com/v4/letter/_/f6c823/32.png) [@\_lluis](https://community.graylog.org/u/_lluis)\
**Post date:** [February 25, 2020, 1:50pm UTC](https://community.graylog.org/t/widget-errors-failed-to-execute-insertbefore-on-node/14144/3 "2020-02-25T13:50:57Z")

</div>

@konrad, I am on version Graylog 3.2.2+2f9a628

---

<div class="post-metadata">

**Author:** ![konrad](https://sea2.discourse-cdn.com/flex016/user_avatar/community.graylog.org/konrad/32/1661_2.png) [@konrad](https://community.graylog.org/u/konrad)\
**Post date:** [February 25, 2020, 3:00pm UTC](https://community.graylog.org/t/widget-errors-failed-to-execute-insertbefore-on-node/14144/4 "2020-02-25T15:00:08Z")

</div>

Where is the error displayed? In the widget? In the web dev console?

Could you please add the output from the web dev console? (F12 in the Browser)?

- Konrad

---

<div class="post-metadata">

**Author:** ![\_lluis](https://avatars.discourse-cdn.com/v4/letter/_/f6c823/32.png) [@\_lluis](https://community.graylog.org/u/_lluis)\
**Post date:** [February 26, 2020, 2:39pm UTC](https://community.graylog.org/t/widget-errors-failed-to-execute-insertbefore-on-node/14144/5 "2020-02-26T14:39:02Z")

</div>

It is in the widget display ![graylog](https://us1.discourse-cdn.com/flex016/uploads/graylog/original/2X/4/4f4c79890be0732e8f7dae2c25aada45defb728b.png)

Output from the console:

vendor.5452e7a2fdfb6282da0a.js:18 DOMException: Failed to execute ‘removeChild’ on ‘Node’: The node to be removed is not a child of this node.  
at Bo ([https://graylog/assets/vendor.5452e7a2fdfb6282da0a.js:18:74469](https://graylog/assets/vendor.5452e7a2fdfb6282da0a.js:18:74469))  
at Vs ([https://graylog/assets/vendor.5452e7a2fdfb6282da0a.js:18:93103](https://graylog/assets/vendor.5452e7a2fdfb6282da0a.js:18:93103))  
at exports.unstable\_runWithPriority ([https://graylog/assets/vendor.5452e7a2fdfb6282da0a.js:42:3998](https://graylog/assets/vendor.5452e7a2fdfb6282da0a.js:42:3998))  
at fi ([https://graylog/assets/vendor.5452e7a2fdfb6282da0a.js:18:41500](https://graylog/assets/vendor.5452e7a2fdfb6282da0a.js:18:41500))  
at Fs ([https://graylog/assets/vendor.5452e7a2fdfb6282da0a.js:18:90834](https://graylog/assets/vendor.5452e7a2fdfb6282da0a.js:18:90834))  
at Ps ([https://graylog/assets/vendor.5452e7a2fdfb6282da0a.js:18:79506](https://graylog/assets/vendor.5452e7a2fdfb6282da0a.js:18:79506))  
at [https://graylog/assets/vendor.5452e7a2fdfb6282da0a.js:18:41771](https://graylog/assets/vendor.5452e7a2fdfb6282da0a.js:18:41771)  
at exports.unstable\_runWithPriority ([https://graylog/assets/vendor.5452e7a2fdfb6282da0a.js:42:3998](https://graylog/assets/vendor.5452e7a2fdfb6282da0a.js:42:3998))  
at fi ([https://graylog/assets/vendor.5452e7a2fdfb6282da0a.js:18:41500](https://graylog/assets/vendor.5452e7a2fdfb6282da0a.js:18:41500))  
at \_i ([https://graylog/assets/vendor.5452e7a2fdfb6282da0a.js:18:41717](https://graylog/assets/vendor.5452e7a2fdfb6282da0a.js:18:41717))  
at mi ([https://graylog/assets/vendor.5452e7a2fdfb6282da0a.js:18:41652](https://graylog/assets/vendor.5452e7a2fdfb6282da0a.js:18:41652))  
at Ds ([https://graylog/assets/vendor.5452e7a2fdfb6282da0a.js:18:78497](https://graylog/assets/vendor.5452e7a2fdfb6282da0a.js:18:78497))  
at Object.enqueueSetState ([https://graylog/assets/vendor.5452e7a2fdfb6282da0a.js:18:46463](https://graylog/assets/vendor.5452e7a2fdfb6282da0a.js:18:46463))  
at m.b.setState ([https://graylog/assets/vendor.5452e7a2fdfb6282da0a.js:26:1438](https://graylog/assets/vendor.5452e7a2fdfb6282da0a.js:26:1438))  
at m. ([https://graylog/assets/app.98d2b3fc81e4ad9e3499.js:82:509227](https://graylog/assets/app.98d2b3fc81e4ad9e3499.js:82:509227))  
at a.n ([https://graylog/assets/vendor.5452e7a2fdfb6282da0a.js:10:1594](https://graylog/assets/vendor.5452e7a2fdfb6282da0a.js:10:1594))  
at a.emit ([https://graylog/assets/vendor.5452e7a2fdfb6282da0a.js:78:244340](https://graylog/assets/vendor.5452e7a2fdfb6282da0a.js:78:244340))  
at f.trigger ([https://graylog/assets/vendor.5452e7a2fdfb6282da0a.js:10:2469](https://graylog/assets/vendor.5452e7a2fdfb6282da0a.js:10:2469))  
at f.\_trigger ([https://graylog/assets/plugin/org.graylog.plugins.enterprise.EnterprisePlugin/plugin.org.graylog.plugins.enterprise.EnterprisePlugin.384b54f534f20acd6f5d.js:201:54808](https://graylog/assets/plugin/org.graylog.plugins.enterprise.EnterprisePlugin/plugin.org.graylog.plugins.enterprise.EnterprisePlugin.384b54f534f20acd6f5d.js:201:54808))  
at f.onViewStoreUpdate ([https://graylog/assets/plugin/org.graylog.plugins.enterprise.EnterprisePlugin/plugin.org.graylog.plugins.enterprise.EnterprisePlugin.384b54f534f20acd6f5d.js:201:52684](https://graylog/assets/plugin/org.graylog.plugins.enterprise.EnterprisePlugin/plugin.org.graylog.plugins.enterprise.EnterprisePlugin.384b54f534f20acd6f5d.js:201:52684))  
at a.n ([https://graylog/assets/vendor.5452e7a2fdfb6282da0a.js:10:1594](https://graylog/assets/vendor.5452e7a2fdfb6282da0a.js:10:1594))  
at a.emit ([https://graylog/assets/vendor.5452e7a2fdfb6282da0a.js:78:244340](https://graylog/assets/vendor.5452e7a2fdfb6282da0a.js:78:244340))  
at f.trigger ([https://graylog/assets/vendor.5452e7a2fdfb6282da0a.js:10:2469](https://graylog/assets/vendor.5452e7a2fdfb6282da0a.js:10:2469))  
at f.\_trigger ([https://graylog/assets/plugin/org.graylog.plugins.enterprise.EnterprisePlugin/plugin.org.graylog.plugins.enterprise.EnterprisePlugin.384b54f534f20acd6f5d.js:71:103899](https://graylog/assets/plugin/org.graylog.plugins.enterprise.EnterprisePlugin/plugin.org.graylog.plugins.enterprise.EnterprisePlugin.384b54f534f20acd6f5d.js:71:103899))  
at [https://graylog/assets/plugin/org.graylog.plugins.enterprise.EnterprisePlugin/plugin.org.graylog.plugins.enterprise.EnterprisePlugin.384b54f534f20acd6f5d.js:71:103068](https://graylog/assets/plugin/org.graylog.plugins.enterprise.EnterprisePlugin/plugin.org.graylog.plugins.enterprise.EnterprisePlugin.384b54f534f20acd6f5d.js:71:103068)  
at u ([https://graylog/assets/app.98d2b3fc81e4ad9e3499.js:82:392446](https://graylog/assets/app.98d2b3fc81e4ad9e3499.js:82:392446))  
at T.\_settlePromiseFromHandler ([https://graylog/assets/app.98d2b3fc81e4ad9e3499.js:82:365701](https://graylog/assets/app.98d2b3fc81e4ad9e3499.js:82:365701))  
at T.\_settlePromise ([https://graylog/assets/app.98d2b3fc81e4ad9e3499.js:82:366501](https://graylog/assets/app.98d2b3fc81e4ad9e3499.js:82:366501))  
at T.\_settlePromise0 ([https://graylog/assets/app.98d2b3fc81e4ad9e3499.js:82:367200](https://graylog/assets/app.98d2b3fc81e4ad9e3499.js:82:367200))  
at T.\_settlePromises ([https://graylog/assets/app.98d2b3fc81e4ad9e3499.js:82:368527](https://graylog/assets/app.98d2b3fc81e4ad9e3499.js:82:368527))  
at [https://graylog/assets/app.98d2b3fc81e4ad9e3499.js:82:322147](https://graylog/assets/app.98d2b3fc81e4ad9e3499.js:82:322147)  
Po @ vendor.5452e7a2fdfb6282da0a.js:18  
Go.n.payload @ vendor.5452e7a2fdfb6282da0a.js:18  
ji @ vendor.5452e7a2fdfb6282da0a.js:18  
Wi @ vendor.5452e7a2fdfb6282da0a.js:18  
yo @ vendor.5452e7a2fdfb6282da0a.js:18  
Qs @ vendor.5452e7a2fdfb6282da0a.js:18  
Is @ vendor.5452e7a2fdfb6282da0a.js:18  
Rs @ vendor.5452e7a2fdfb6282da0a.js:18  
Ps @ vendor.5452e7a2fdfb6282da0a.js:18  
(anonymous) @ vendor.5452e7a2fdfb6282da0a.js:18  
exports.unstable\_runWithPriority @ vendor.5452e7a2fdfb6282da0a.js:42  
fi @ vendor.5452e7a2fdfb6282da0a.js:18  
\_i @ vendor.5452e7a2fdfb6282da0a.js:18  
mi @ vendor.5452e7a2fdfb6282da0a.js:18  
Ds @ vendor.5452e7a2fdfb6282da0a.js:18  
enqueueSetState @ vendor.5452e7a2fdfb6282da0a.js:18  
b.setState @ vendor.5452e7a2fdfb6282da0a.js:26  
(anonymous) @ connect.jsx:64  
n @ vendor.5452e7a2fdfb6282da0a.js:10  
a.emit @ vendor.5452e7a2fdfb6282da0a.js:78  
trigger @ vendor.5452e7a2fdfb6282da0a.js:10  
\_trigger @ SearchStore.js:178  
onViewStoreUpdate @ SearchStore.js:70  
n @ vendor.5452e7a2fdfb6282da0a.js:10  
a.emit @ vendor.5452e7a2fdfb6282da0a.js:78  
trigger @ vendor.5452e7a2fdfb6282da0a.js:10  
\_trigger @ ViewStore.js:195  
(anonymous) @ ViewStore.js:152  
u @ bluebird.js:5256  
T.\_settlePromiseFromHandler @ bluebird.js:3278  
T.\_settlePromise @ bluebird.js:3335  
T.\_settlePromise0 @ bluebird.js:3380  
T.\_settlePromises @ bluebird.js:3459  
(anonymous) @ bluebird.js:175  
Promise.then (async)  
a @ bluebird.js:4484  
i.hasDevTools.l.settlePromises @ bluebird.js:174  
T.\_fulfill @ bluebird.js:3406  
T.\_resolveCallback @ bluebird.js:3198  
(anonymous) @ bluebird.js:3250  
(anonymous) @ vendor.5452e7a2fdfb6282da0a.js:10  
n @ vendor.5452e7a2fdfb6282da0a.js:10  
a.emit @ vendor.5452e7a2fdfb6282da0a.js:78  
trigger @ vendor.5452e7a2fdfb6282da0a.js:10  
(anonymous) @ vendor.5452e7a2fdfb6282da0a.js:10  
GJnkpH39.t.exports @ \_invoke.js:5  
y. @ \_task.js:35  
m @ \_task.js:21  
d @ \_task.js:25  
Show 4 more frames  
vendor.5452e7a2fdfb6282da0a.js:18 DOMException: Failed to execute ‘insertBefore’ on ‘Node’: The node before which the new node is to be inserted is not a child of this node.  
at Ro ([https://graylog/assets/vendor.5452e7a2fdfb6282da0a.js:18:73733](https://graylog/assets/vendor.5452e7a2fdfb6282da0a.js:18:73733))  
at Vs ([https://graylog/assets/vendor.5452e7a2fdfb6282da0a.js:18:92976](https://graylog/assets/vendor.5452e7a2fdfb6282da0a.js:18:92976))  
at exports.unstable\_runWithPriority ([https://graylog/assets/vendor.5452e7a2fdfb6282da0a.js:42:3998](https://graylog/assets/vendor.5452e7a2fdfb6282da0a.js:42:3998))  
at fi ([https://graylog/assets/vendor.5452e7a2fdfb6282da0a.js:18:41500](https://graylog/assets/vendor.5452e7a2fdfb6282da0a.js:18:41500))  
at Fs ([https://graylog/assets/vendor.5452e7a2fdfb6282da0a.js:18:90834](https://graylog/assets/vendor.5452e7a2fdfb6282da0a.js:18:90834))  
at Ps ([https://graylog/assets/vendor.5452e7a2fdfb6282da0a.js:18:79506](https://graylog/assets/vendor.5452e7a2fdfb6282da0a.js:18:79506))  
at [https://graylog/assets/vendor.5452e7a2fdfb6282da0a.js:18:41771](https://graylog/assets/vendor.5452e7a2fdfb6282da0a.js:18:41771)  
at exports.unstable\_runWithPriority ([https://graylog/assets/vendor.5452e7a2fdfb6282da0a.js:42:3998](https://graylog/assets/vendor.5452e7a2fdfb6282da0a.js:42:3998))  
at fi ([https://graylog/assets/vendor.5452e7a2fdfb6282da0a.js:18:41500](https://graylog/assets/vendor.5452e7a2fdfb6282da0a.js:18:41500))  
at \_i ([https://graylog/assets/vendor.5452e7a2fdfb6282da0a.js:18:41717](https://graylog/assets/vendor.5452e7a2fdfb6282da0a.js:18:41717))  
at mi ([https://graylog/assets/vendor.5452e7a2fdfb6282da0a.js:18:41652](https://graylog/assets/vendor.5452e7a2fdfb6282da0a.js:18:41652))  
at Ds ([https://graylog/assets/vendor.5452e7a2fdfb6282da0a.js:18:78497](https://graylog/assets/vendor.5452e7a2fdfb6282da0a.js:18:78497))  
at Object.enqueueSetState ([https://graylog/assets/vendor.5452e7a2fdfb6282da0a.js:18:46463](https://graylog/assets/vendor.5452e7a2fdfb6282da0a.js:18:46463))  
at m.b.setState ([https://graylog/assets/vendor.5452e7a2fdfb6282da0a.js:26:1438](https://graylog/assets/vendor.5452e7a2fdfb6282da0a.js:26:1438))  
at m. ([https://graylog/assets/app.98d2b3fc81e4ad9e3499.js:82:509227](https://graylog/assets/app.98d2b3fc81e4ad9e3499.js:82:509227))  
at a.n ([https://graylog/assets/vendor.5452e7a2fdfb6282da0a.js:10:1594](https://graylog/assets/vendor.5452e7a2fdfb6282da0a.js:10:1594))  
at a.emit ([https://graylog/assets/vendor.5452e7a2fdfb6282da0a.js:78:244340](https://graylog/assets/vendor.5452e7a2fdfb6282da0a.js:78:244340))  
at f.trigger ([https://graylog/assets/vendor.5452e7a2fdfb6282da0a.js:10:2469](https://graylog/assets/vendor.5452e7a2fdfb6282da0a.js:10:2469))  
at f.\_trigger ([https://graylog/assets/plugin/org.graylog.plugins.enterprise.EnterprisePlugin/plugin.org.graylog.plugins.enterprise.EnterprisePlugin.384b54f534f20acd6f5d.js:201:54808](https://graylog/assets/plugin/org.graylog.plugins.enterprise.EnterprisePlugin/plugin.org.graylog.plugins.enterprise.EnterprisePlugin.384b54f534f20acd6f5d.js:201:54808))  
at f.onViewStoreUpdate ([https://graylog/assets/plugin/org.graylog.plugins.enterprise.EnterprisePlugin/plugin.org.graylog.plugins.enterprise.EnterprisePlugin.384b54f534f20acd6f5d.js:201:52684](https://graylog/assets/plugin/org.graylog.plugins.enterprise.EnterprisePlugin/plugin.org.graylog.plugins.enterprise.EnterprisePlugin.384b54f534f20acd6f5d.js:201:52684))  
at a.n ([https://graylog/assets/vendor.5452e7a2fdfb6282da0a.js:10:1594](https://graylog/assets/vendor.5452e7a2fdfb6282da0a.js:10:1594))  
at a.emit ([https://graylog/assets/vendor.5452e7a2fdfb6282da0a.js:78:244340](https://graylog/assets/vendor.5452e7a2fdfb6282da0a.js:78:244340))  
at f.trigger ([https://graylog/assets/vendor.5452e7a2fdfb6282da0a.js:10:2469](https://graylog/assets/vendor.5452e7a2fdfb6282da0a.js:10:2469))  
at f.\_trigger ([https://graylog/assets/plugin/org.graylog.plugins.enterprise.EnterprisePlugin/plugin.org.graylog.plugins.enterprise.EnterprisePlugin.384b54f534f20acd6f5d.js:71:103899](https://graylog/assets/plugin/org.graylog.plugins.enterprise.EnterprisePlugin/plugin.org.graylog.plugins.enterprise.EnterprisePlugin.384b54f534f20acd6f5d.js:71:103899))  
at [https://graylog/assets/plugin/org.graylog.plugins.enterprise.EnterprisePlugin/plugin.org.graylog.plugins.enterprise.EnterprisePlugin.384b54f534f20acd6f5d.js:71:103068](https://graylog/assets/plugin/org.graylog.plugins.enterprise.EnterprisePlugin/plugin.org.graylog.plugins.enterprise.EnterprisePlugin.384b54f534f20acd6f5d.js:71:103068)  
at u ([https://graylog/assets/app.98d2b3fc81e4ad9e3499.js:82:392446](https://graylog/assets/app.98d2b3fc81e4ad9e3499.js:82:392446))  
at T.\_settlePromiseFromHandler ([https://graylog/assets/app.98d2b3fc81e4ad9e3499.js:82:365701](https://graylog/assets/app.98d2b3fc81e4ad9e3499.js:82:365701))  
at T.\_settlePromise ([https://graylog/assets/app.98d2b3fc81e4ad9e3499.js:82:366501](https://graylog/assets/app.98d2b3fc81e4ad9e3499.js:82:366501))  
at T.\_settlePromise0 ([https://graylog/assets/app.98d2b3fc81e4ad9e3499.js:82:367200](https://graylog/assets/app.98d2b3fc81e4ad9e3499.js:82:367200))  
at T.\_settlePromises ([https://graylog/assets/app.98d2b3fc81e4ad9e3499.js:82:368527](https://graylog/assets/app.98d2b3fc81e4ad9e3499.js:82:368527))  
at [https://graylog/assets/app.98d2b3fc81e4ad9e3499.js:82:322147](https://graylog/assets/app.98d2b3fc81e4ad9e3499.js:82:322147)

---

<div class="post-metadata">

**Author:** ![dennis](https://avatars.discourse-cdn.com/v4/letter/d/e56c9b/32.png) [@dennis](https://community.graylog.org/u/dennis)\
**Post date:** [February 26, 2020, 3:41pm UTC](https://community.graylog.org/t/widget-errors-failed-to-execute-insertbefore-on-node/14144/6 "2020-02-26T15:41:32Z")

</div>

Hey \_lluis, thanks for reporting this!

Can you narrow down the error to a specific widget or a specific action you are doing?

Is there a list of steps we can take to reproduce it?

---

<div class="post-metadata">

**Author:** ![\_lluis](https://avatars.discourse-cdn.com/v4/letter/_/f6c823/32.png) [@\_lluis](https://community.graylog.org/u/_lluis)\
**Post date:** [February 27, 2020, 7:53pm UTC](https://community.graylog.org/t/widget-errors-failed-to-execute-insertbefore-on-node/14144/7 "2020-02-27T19:53:23Z")

</div>

The one place I am able to replicate it at this point is with the “AD User Object Summary” dashboard from [https://marketplace.graylog.org/addons/da1d0f41-7e26-40ad-9a53-518692ed71e9](https://marketplace.graylog.org/addons/da1d0f41-7e26-40ad-9a53-518692ed71e9)  
If I edit any widget such as the “Created Accounts” then it will error a different widget in the page and I can edit the one thats got the error and the initial one that was edited works. If I just refresh the entire page they all load up.  
When I initially was seeing the issue if I was on the initial search tab and I was to aggregate any of the fields in the messages it would break the “All Messages” but that does not seem to be happening now. Recent changes I’ve done are change the logins over to LDAP and add in Apache for proxying the web traffic.

---

<div class="post-metadata">

**Author:** ![\_lluis](https://avatars.discourse-cdn.com/v4/letter/_/f6c823/32.png) [@\_lluis](https://community.graylog.org/u/_lluis)\
**Post date:** [March 11, 2020, 7:21pm UTC](https://community.graylog.org/t/widget-errors-failed-to-execute-insertbefore-on-node/14144/8 "2020-03-11T19:21:14Z")

</div>

Its starting to happen more often now when I run a search with a larger time frame. Anything else you might need to try and diagnose this?

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex016/uploads/graylog/original/3X/c/7/c7c09c6b5099570133d6502b83f50ba4430de5b6.png) [@system](https://community.graylog.org/u/system)\
**Post date:** [March 25, 2020, 7:21pm UTC](https://community.graylog.org/t/widget-errors-failed-to-execute-insertbefore-on-node/14144/9 "2020-03-25T19:21:23Z")

</div>

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