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

SDK seems to have a race condition on watch registration #164

Open
pylessard opened this issue Jan 22, 2025 · 0 comments
Open

SDK seems to have a race condition on watch registration #164

pylessard opened this issue Jan 22, 2025 · 0 comments
Assignees

Comments

@pylessard
Copy link
Collaborator

When we start a continuous graph with many watcahbles to log, there is often a error reported by the SDK where the server sent a value update before the client was ready for it. Most likely some kind of race condition, to be investigated

Example of log when using the GUI and running a graph

$ python -m scrutiny gui --auto-connect
[INFO] Connected to a Scrutiny server at localhost:8765
[INFO] A new device is connected and ready. Session ID: 08b2e45d7d85418a848435faf5ef17ad
[INFO] Server has loaded a Firmware Decription with firmware ID: 71c3631628caffd4f01791828a3cb016
[ERROR] Got watchable update for unknown watchable 306
[INFO] Device is gone. Last session ID: 08b2e45d7d85418a848435faf5ef17ad
[INFO] Server has unloaded a Firmware Decription with firmware ID: 71c3631628caffd4f01791828a3cb016
[INFO] Disconnected from server at localhost:8765

@pylessard pylessard self-assigned this Jan 22, 2025
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

No branches or pull requests

1 participant