# Flowfuse Dashboard out of sync

**URL:** <https://discourse.nodered.org/t/flowfuse-dashboard-out-of-sync/88528>\
**Category:** Dashboard\
**Tags:** flowfuse, dashboard-2\
**Created:** [6 June 2024 05:55 UTC](https://discourse.nodered.org/t/flowfuse-dashboard-out-of-sync/88528 "2024-06-06T05:55:13Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![bltDefender](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/bltdefender/32/33722_2.png) [@bltDefender](https://discourse.nodered.org/u/bltDefender)\
**Post date:** [6 June 2024 05:55 UTC](https://discourse.nodered.org/t/flowfuse-dashboard-out-of-sync/88528/1 "2024-06-06T05:55:13Z")

</div>

Hi,  
I changed vom dashboard 1 to 2 (currently version 1.11.1). It runs on an android pad with all energy saving options deactivated and permanent power supply. After some time (there is no pattern I would recognize) the dashboard elements become ineffective. Graphs don't get updated, buttons and slider have no effect until I refresh the dashboard completely. It happens approx 1-2 times a day but at different times. Any idea what could be the reason and how to solve? Is there also a way to monitor from server so it could take action in case of async?

---

<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:** [6 June 2024 06:13 UTC](https://discourse.nodered.org/t/flowfuse-dashboard-out-of-sync/88528/2 "2024-06-06T06:13:51Z")

</div>

Which version of the dashboard are you using?

---

<div class="post-metadata">

**Author:** ![bltDefender](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/bltdefender/32/33722_2.png) [@bltDefender](https://discourse.nodered.org/u/bltDefender)\
**Post date:** [6 June 2024 06:23 UTC](https://discourse.nodered.org/t/flowfuse-dashboard-out-of-sync/88528/3 "2024-06-06T06:23:39Z")

</div>

thank you, 1.11.1

---

<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:** [6 June 2024 06:58 UTC](https://discourse.nodered.org/t/flowfuse-dashboard-out-of-sync/88528/4 "2024-06-06T06:58:06Z")

</div>

Do you see a Connection Lost message when it fails?

Are you just running in the browser or have you installed it as an App, which is an option you may get if you tried to add a shortcut to the home screen?

---

<div class="post-metadata">

**Author:** ![bltDefender](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/bltdefender/32/33722_2.png) [@bltDefender](https://discourse.nodered.org/u/bltDefender)\
**Post date:** [6 June 2024 07:09 UTC](https://discourse.nodered.org/t/flowfuse-dashboard-out-of-sync/88528/5 "2024-06-06T07:09:52Z")

</div>

No, there is no such message appearing. I was using both, running as a tab in different browser and also as an app. Problem was the same in both scenarios.

---

<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:** [6 June 2024 07:21 UTC](https://discourse.nodered.org/t/flowfuse-dashboard-out-of-sync/88528/6 "2024-06-06T07:21:48Z")

</div>

That is odd. The only time I get a hang like that is when it also shows Connection Lost.

> [@bltDefender](#):
>
> buttons and slider have no effect

Does the slider move or is the UI completely locked?  
Are these standard ui nodes or are you using ui-templates to generate them?

If you add a debug node to the output of the slider, and check that when it has failed, does anything appear?

What OS and hardware are you running node red on?  
If you monitor the node red log do you see anything there when it goes wrong?

---

<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:** [6 June 2024 07:23 UTC](https://discourse.nodered.org/t/flowfuse-dashboard-out-of-sync/88528/7 "2024-06-06T07:23:16Z")

</div>

> [@bltDefender](#):
>
> I was using both, running as a tab in different browser and also as an app. Problem was the same in both scenarios.

When you do that, in the same device, do they both fail at the same time?

---

<div class="post-metadata">

**Author:** ![bltDefender](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/bltdefender/32/33722_2.png) [@bltDefender](https://discourse.nodered.org/u/bltDefender)\
**Post date:** [6 June 2024 11:14 UTC](https://discourse.nodered.org/t/flowfuse-dashboard-out-of-sync/88528/8 "2024-06-06T11:14:57Z")

</div>

Sliders remain usable but they do not send any command (at least I dont see anything coming in on my mqtt server). Buttons also have their typical animation when pressed. Wifi connection was continuously established, no other error messages coming up. had this also with another device, same issues.

I am using nodered + dashboard 1 for more than 3 years now, without any issues reg this. Happened first when using db2

nodered is running under ubuntu 22.04 on an odroid c4. What I see in the logs is

```auto
[info] [ui-base:My Dashboard] Disconnected kjld5xTWMIDLg6BuAAAL due to transport close

```

But this happens all the time and using the dashboard afterwards is not a problem.

---

<div class="post-metadata">

**Author:** ![bltDefender](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/bltdefender/32/33722_2.png) [@bltDefender](https://discourse.nodered.org/u/bltDefender)\
**Post date:** [6 June 2024 11:18 UTC](https://discourse.nodered.org/t/flowfuse-dashboard-out-of-sync/88528/9 "2024-06-06T11:18:32Z")

</div>

hard to test. From just watching the db it is hard to say when it gets unconnected (as there is no error msg). A result could be that one dashboard is inactive while the other still is. That would indicate it is not a server issue. if both not work when I test them it does not tell anything about when what devices stopped working properly.

---

<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:** [6 June 2024 11:28 UTC](https://discourse.nodered.org/t/flowfuse-dashboard-out-of-sync/88528/10 "2024-06-06T11:28:41Z")

</div>

> [@bltDefender](#):
>
> Sliders remain usable but they do not send any command (at least I dont see anything coming in on my mqtt server)

Please add a debug node as I suggested, to prove whether the slider is still working.

---

<div class="post-metadata">

**Author:** ![bltDefender](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/bltdefender/32/33722_2.png) [@bltDefender](https://discourse.nodered.org/u/bltDefender)\
**Post date:** [6 June 2024 13:39 UTC](https://discourse.nodered.org/t/flowfuse-dashboard-out-of-sync/88528/11 "2024-06-06T13:39:02Z")

</div>

added it, will have to wait until it happens again.

---

<div class="post-metadata">

**Author:** ![bltDefender](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/bltdefender/32/33722_2.png) [@bltDefender](https://discourse.nodered.org/u/bltDefender)\
**Post date:** [7 June 2024 07:22 UTC](https://discourse.nodered.org/t/flowfuse-dashboard-out-of-sync/88528/12 "2024-06-07T07:22:45Z")

</div>

Well, there is no debug entries showing up. refreshing the dashboard makes it functional again, all debug msg show up. So, this means the db is completely disconnected from the server.

---

<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:** [7 June 2024 07:51 UTC](https://discourse.nodered.org/t/flowfuse-dashboard-out-of-sync/88528/13 "2024-06-07T07:51:22Z")

</div>

> [@Colin](#):
>
> Are these standard ui nodes or are you using ui-templates to generate them?

Did you answer that question? I don't see it

---

<div class="post-metadata">

**Author:** ![bltDefender](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/bltdefender/32/33722_2.png) [@bltDefender](https://discourse.nodered.org/u/bltDefender)\
**Post date:** [7 June 2024 08:50 UTC](https://discourse.nodered.org/t/flowfuse-dashboard-out-of-sync/88528/14 "2024-06-07T08:50:52Z")

</div>

missed it. All standard, no ui-templates.

---

<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:** [7 June 2024 09:09 UTC](https://discourse.nodered.org/t/flowfuse-dashboard-out-of-sync/88528/15 "2024-06-07T09:09:14Z")

</div>

Very odd, I have never seen anything like that, and I use the dashboard on a number of android devices. Assuming the device is connected via wifi, what do you see if you switch off the wifi for a short time then switch it on again?

Also, after it has reconnected, does that trigger the problem?

---

<div class="post-metadata">

**Author:** ![bltDefender](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/bltdefender/32/33722_2.png) [@bltDefender](https://discourse.nodered.org/u/bltDefender)\
**Post date:** [7 June 2024 12:58 UTC](https://discourse.nodered.org/t/flowfuse-dashboard-out-of-sync/88528/16 "2024-06-07T12:58:19Z")

</div>

switching off wifi results in an on screen error pup up with lost connection msg. after reconnect, there is no debug entry other log entry appearing.  
yes, it is very odd. I will start using another device to compare. I will also try to have a background service that transmit an mqtt msg every minute (like health info) to see if the data connection breaks at some certain point. From what I understand, this issue is not nodered related.

---

<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:** [7 June 2024 13:45 UTC](https://discourse.nodered.org/t/flowfuse-dashboard-out-of-sync/88528/17 "2024-06-07T13:45:08Z")

</div>

> [@bltDefender](#):
>
> switching off wifi results in an on screen error pup up with lost connection msg.

Good, that is as it should be

> [@bltDefender](#):
>
> after reconnect, there is no debug entry

Do you mean that it has triggered the error, so your slider does not work? If so, then that should make it easier to analyse as you can now get into the error state easily.

Another question. When the dashboard stops working, if you switch to a different page and back again, does that fix it?

> [@bltDefender](#):
>
> From what I understand, this issue is not nodered related.

I am sure it _is_ node red related. There is a known [issue](https://github.com/FlowFuse/node-red-dashboard/issues/747) with ui-template nodes that they stop working if the connection drops temporarily (which seems to happen regularly for no obvious reasonon Android, I suspect it is the OS trying to extend battery life, or something like that), but for me it does not affect sliders.

---

<div class="post-metadata">

**Author:** ![bltDefender](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/bltdefender/32/33722_2.png) [@bltDefender](https://discourse.nodered.org/u/bltDefender)\
**Post date:** [8 June 2024 09:18 UTC](https://discourse.nodered.org/t/flowfuse-dashboard-out-of-sync/88528/18 "2024-06-08T09:18:21Z")

</div>

> [@Colin](#):
>
> Another question. When the dashboard stops working, if you switch to a different page and back again, does that fix it?

no, it does not. I can easily switch between pages, they show up properly but it does not fix my issue

---

<div class="post-metadata">

**Author:** ![bltDefender](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/bltdefender/32/33722_2.png) [@bltDefender](https://discourse.nodered.org/u/bltDefender)\
**Post date:** [8 June 2024 09:19 UTC](https://discourse.nodered.org/t/flowfuse-dashboard-out-of-sync/88528/19 "2024-06-08T09:19:53Z")

</div>

> [@Colin](#):
>
> Do you mean that it has triggered the error, so your slider does not work? If so, then that should make it easier to analyse as you can now get into the error state easily.

no, there is no debug msg showing up. means there is no queued msg that get through to the server once the connection is back again.

---

<div class="post-metadata">

**Author:** ![bltDefender](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/bltdefender/32/33722_2.png) [@bltDefender](https://discourse.nodered.org/u/bltDefender)\
**Post date:** [8 June 2024 09:21 UTC](https://discourse.nodered.org/t/flowfuse-dashboard-out-of-sync/88528/20 "2024-06-08T09:21:55Z")

</div>

> [@Colin](#):
>
> I am sure it _is_ node red related.

put another, older android pad in place in parallel. first two days, no disconnect from this dashboard.

[Next page](https://discourse.nodered.org/t/flowfuse-dashboard-out-of-sync/88528.md?page=2)
