Skip to content

[Regression] [PWA?] Widgets not receiving messages after sleep on Android #1251

Description

@colinl

Current Behavior

There has been a change in behaviour of some sort recently, I think probably with the release of 1.15.0. Now, occasionally, on Android if the dashboard is left open and the device left alone for several hours, then on waking the device up the widgets no longer receive updates.

On waking there is no connection failed/recovered popup seen.
Navigation operates normally but widgets are never updated and the widgets apparently do not send messages back to node-red.

I managed to repeat it with a debug build of one of my widgets, and using the remote monitor in Chrome, can see that when a page is opened mounted is called and the widget receives its props message. On widget-load is never called though, and it receives no further messages. Note that this is not a recurrence of #444 which was triggered by a failure to reconnect after a network failure.

To recover it is necessary to force a page refresh.

Expected Behavior

No response

Steps To Reproduce

No response

Environment

  • Dashboard version: 1.15.0
  • Node-RED version: 4.0.2
  • Node.js version: 20
  • npm version:
  • Platform/OS: Android
  • Browser: Edge

Have you provided an initial effort estimate for this issue?

I have provided an initial effort estimate

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    needs-triageNeeds looking at to decide what to dotype:bugSomething isn't working

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions