Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
rzblue opened this issue Oct 24, 2023 · 3 comments · Fixed by #5841
Closed

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

rzblue opened this issue Oct 24, 2023 · 3 comments · Fixed by #5841
Labels
component: ntcore NetworkTables library type: bug Something isn't working.

Comments

@rzblue
Copy link
Member

rzblue commented Oct 24, 2023

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

  • publish data to NT from roborio
  • Connect to roborio NT server using glass
  • observe entries in NT view
  • unplug rio ethernet cable
  • observe values disappear
  • plug rio ethernet cable back in
  • values do not come back (but log and title bar indicate a reconnection)

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

@rzblue rzblue added component: ntcore NetworkTables library type: bug Something isn't working. labels Oct 24, 2023
@Starlight220
Copy link
Member

Maybe this is somewhat causing the Shuffleboard values disappearing issue?

@PeterJohnson
Copy link
Member

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
Copy link
Contributor

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: ntcore NetworkTables library type: bug Something isn't working.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants