wpilibsuite / allwpilib

Official Repository of WPILibJ and WPILibC
https://wpilib.org/
Other
1.08k stars 611 forks source link

Dashboards do not re-enumerate values after disconnection and reconnection #5817

Closed rzblue closed 1 year ago

rzblue commented 1 year ago

Describe the bug Dashboards (so far I've tested glass, shuffleboard, and outlineviewer) don't enumerate values after they are disconnected and reconnected (ie. by removing and replacing the rio ethernet cable, or by redeploying code)

Disabling and re-enabling the NT client connection in glass/outlineviewer appears to resolve the issue each time it happens.

The issue also occurs with ShuffleBoard- values remain greyed out, and the NT tree does not repopulate.

The issue also occurs when re-connecting after redeploying code.

To Reproduce

Expected behavior Values appear back in the NT view after reconnection

Additional context The rio I've tested with is currently not on an frc control system; It's on my home network with a 192.168.1.X IP addresss. However, i've tested connection discovery with both mdns and giving glass the IP directly with no behavior change, so i don't believe this has anything to do with the issue.

WPILib 2024.1.1-beta-2 Windows 11

Starlight220 commented 1 year ago

Maybe this is somewhat causing the Shuffleboard values disappearing issue?

PeterJohnson commented 1 year ago

I believe this issue is new this year. It only affects Windows so it probably related to the networking changes, but I need to debug it.

AngleSideAngle commented 9 months ago

My team continues to experience this in WPILib 2024.1.1 on a Windows 10 laptop.