# Frequent Editor Disconnects with Multi-Instance?

**URL:** https://discourse.nodered.org/t/frequent-editor-disconnects-with-multi-instance/90205
**Category:** General
**Created:** [15 August 2024 22:39 UTC](https://discourse.nodered.org/t/frequent-editor-disconnects-with-multi-instance/90205 "2024-08-15T22:39:34Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![lorccan](https://avatars.discourse-cdn.com/v4/letter/l/278dde/32.png) [@lorccan](https://discourse.nodered.org/u/lorccan)
#### Post date: [15 August 2024 22:39 UTC](https://discourse.nodered.org/t/frequent-editor-disconnects-with-multi-instance/90205/1 "2024-08-15T22:39:34Z")

</div>

I am running 2 instances of Node-RED (different paths different ports etc under systemd) on a raspberry pi. It's all working fine, but I am noticing that the web editor for the development/test instance is frequently disconnecting from the server. (It may be that this is happening with my production instance also but I am not in the editor for it so frequently, so I may not be noticing it.)

Any thoughts/recommendations please? (My next step will probably be to move my development instance to a separate machine.)

---

<div class="post-metadata">

### Author: ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)
#### Post date: [16 August 2024 05:58 UTC](https://discourse.nodered.org/t/frequent-editor-disconnects-with-multi-instance/90205/2 "2024-08-16T05:58:14Z")

</div>

What do you mean by disconnecting?

If you run `node-red-log` at the same time what do you see there?

Are you running the browser showing the editor on the Pi? Do you see the same problem if you run the browser on a PC?

Please stop and restart node red and post the startup log. Copy/paste please, not screenshot.

---

<div class="post-metadata">

### Author: ![lorccan](https://avatars.discourse-cdn.com/v4/letter/l/278dde/32.png) [@lorccan](https://discourse.nodered.org/u/lorccan)
#### Post date: [16 August 2024 08:21 UTC](https://discourse.nodered.org/t/frequent-editor-disconnects-with-multi-instance/90205/3 "2024-08-16T08:21:45Z")

</div>

I am getting a banner at the top of the screen saying: "Lost connection to server, reconnecting..."

I am running the editor on a Mac browser.

I've found the culprit: I did `systemctl restart nodered.service && journalctl -fu nodered.service` and after a while saw an `uncaught exception` on a configuration node that I was no longer using. Removing it allows all to start and stay up.

Thanks for pointing me in the right direction - it's pretty obvious in hindsight that I should have checked that the process was actually running.

---

<div class="post-metadata">

### Author: ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)
#### Post date: [16 August 2024 08:42 UTC](https://discourse.nodered.org/t/frequent-editor-disconnects-with-multi-instance/90205/4 "2024-08-16T08:42:22Z")

</div>

I suspected that it might be occasional restarts.

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)
#### Post date: [30 August 2024 08:42 UTC](https://discourse.nodered.org/t/frequent-editor-disconnects-with-multi-instance/90205/5 "2024-08-30T08:42:26Z")

</div>

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