Skip to content

Dashboard hangs on the loading screen after resuming a PWA - #2227

Open
n-lark wants to merge 1 commit into
mainfrom
2226-dashboards-loading-pwa
Open

n-lark wants to merge 1 commit into
mainfrom
2226-dashboards-loading-pwa

Conversation

@n-lark

@n-lark n-lark commented Sep 15, 2026

Copy link
Copy Markdown
Contributor

Description

I suspect the intermittent PWA "stuck on the loading screen forever" is a failed initial socket connect. It fires connect_error rather than disconnect, and the reconnect loop was only wired to disconnect, so nothing retried. This starts the reconnect loop on that first failure too, so it should recover on its own instead of hanging.

Related Issue(s)

Resolves #2226

Checklist

  • I have read the contribution guidelines
  • Suitable unit/system level tests have been added and they pass
  • Documentation has been updated
    • Upgrade instructions
    • Configuration details
    • Concepts
  • Changes flowforge.yml?
    • Issue/PR raised on FlowFuse/helm to update ConfigMap Template
    • Issue/PR raised on FlowFuse/CloudProject to update values for Staging/Production
  • Link to Changelog Entry PR, or note why one is not needed.

Labels

  • Includes a DB migration? -> add the area:migration label

@colinl

colinl commented Sep 15, 2026

Copy link
Copy Markdown
Contributor

For testing I have applied this over branch 2068-sw-auth-proxy, I presume that is ok.

@colinl

colinl commented Sep 15, 2026

Copy link
Copy Markdown
Contributor

I think you might have cracked it. I am seeing initially the same issue, but after about 10 seconds on the Loading screen there is a flicker as the Loading screen itself refreshes, and then the dashboard loads correctly.
Great work. I will continue to test it through tomorrow but it is looking good.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Dashboard hangs on the loading screen after resuming a PWA

2 participants