Skip to content

Undesirable reconnection behaviour  #1344

Description

@Steve-Mcl

Current Behavior

While working on #1343 I noted we manually attempt to recover dashboard connection using fixed times (no jitter) and if that is unsuccessful it performs a full refresh.

In many settings (industrial/professional/signage/etc) this is undesirable. consider the following:

  1. 50 displays showing dashboards
  2. Server maintenance is required - server is taken offline for 10 minutes
  3. All 50 screens attempt a refresh and end up showing an ERR_NAME_NOT_RESOLVED
    • "This site can’t be reached. xxxxxxxxx.com’s server IP address could not be found. Try: Checking the connection, Checking the proxy, firewall and DNS configuration. ERR_NAME_NOT_RESOLVED"
    • These now require manual intervention

Expected Behavior

To use the WS built in capabilities for auto reconnect (e.g. making use of randomizationFactor for the exponential backoff jitter)

Steps To Reproduce

disconnect or power off the server and wait until the dashboard gives up reconnection attempts.

Environment

  • Dashboard version: 1.17.x (current)
  • Node-RED version: all
  • Node.js version: all
  • npm version: all
  • Platform/OS: all
  • Browser: all

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

Labels

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

Type

No type

Projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions