Build 933: Panel offline reconnect fix#5
Merged
Conversation
- Add ScheduleReconnect() to ConnectToStrategy() catch block so the retry loop starts immediately on initial connection failure (market closed / Strategy not yet in Realtime state) - Update LED tooltip: 'Waiting for Strategy (retrying...)' so user can distinguish active-retry from permanent-disconnect - No Strategy-side changes Panel-only fix
7 tasks
mkalhitti-cloud
added a commit
that referenced
this pull request
May 20, 2026
…connect Build 933: Panel offline reconnect fix
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
The V12_001 Panel hard-fails silently when it can't connect to the Strategy (market closed / Strategy not yet in
State.Realtime). The LED turns grey and stays grey — no retry kicks in.Root Cause
The Panel already has
ScheduleReconnect()which retries every 3 seconds, but this was only called after a live connection dropped. The initialConnectToStrategy()catch block did not call it, so the first failure was terminal until the user manually interacted.Fix (Panel-side only, 1 line)
ScheduleReconnect()toConnectToStrategy()catch block'Waiting for Strategy (retrying...)'so user knows it is actively retryingFiles Changed
src/V12_001.csonly (+5 lines, -1 line)Expected Behavior After Fix
Waiting for Strategy (retrying...)V12.14: Auto-reconnect attempting...every 3 seconds