-
-
Notifications
You must be signed in to change notification settings - Fork 384
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
elongating startInstance response #1551
Comments
Thank you for sharing your observations. |
Hey @Lord-Grey, |
@PGoku No Problem. It can be still tested when the PR has been merged via the nightly builds. |
* Update FindWindowsSDK.cmake * cmake support libcec without version * Ensure Light-Ids are strings * Fix type - do not have dbus as requried * Fixing #1544 * Cleanup * CleanupFix #1551 * Consistently return instance number with JSON replies (#1504) * hyperion-remote- Fix extracting reply for configGet request * Qt 6.6 - Fix iterator finds * Fix test_image2ledsmap * Ensure window.currentHyperionInstanceName is set, cleanup system/log clipboard report * Address protobuf cmake warning * Update License * Update ChangeLog * Address CodeQL and clang findings
I tested your fix today (nightly build). |
Thanks for your feedback. |
* Update FindWindowsSDK.cmake * cmake support libcec without version * Ensure Light-Ids are strings * Fix type - do not have dbus as requried * Fixing hyperion-project#1544 * Cleanup * CleanupFix hyperion-project#1551 * Consistently return instance number with JSON replies (hyperion-project#1504) * hyperion-remote- Fix extracting reply for configGet request * Qt 6.6 - Fix iterator finds * Fix test_image2ledsmap * Ensure window.currentHyperionInstanceName is set, cleanup system/log clipboard report * Address protobuf cmake warning * Update License * Update ChangeLog * Address CodeQL and clang findings
Bug report
Hey,
first of all: thank you for your very good work !
I found an issue with the responses of the instance handling.
In case someone got more than the main hardware led instance there is a bug with the response from hyperion.ng - or to be more clearly: with the amount of items inside the response - but this behaviour is only happening while starting instances.
I didn't recognize a problem with other responses / modules yet.
i also didn't saw this inside the webinterface (system -> protocol).
the only way i found to reset this elongating response is to stop the hyperion.ng service on my rpi and start it again, than its (only for the first started instance) working as expected and start to accumulating the success messages again.
Steps to reproduce
start an instance (1 success entry inside the response),
stop an instance,
start an instance again (2success entries),
...
What is expected?
the response after the "startInstance" command should be everytime like this:
{"command":"instance-update","data":[{"friendly_name":"","instance":0,"running":true},{"friendly_name":"","instance":1,"running":true},{"friendly_name":"","instance":2,"running":true}]}
{"command":"instance-startInstance","success":true,"tan":0}
What is actually happening?
this is ONE response i received - NOT multiple ones.
i copied it after the 18. start of an instance.
only the success messages accumulating as the following log should clarify:
{"command":"instance-update","data":[{"friendly_name":"","instance":0,"running":true},{"friendly_name":"","instance":1,"running":true},{"friendly_name":"","instance":2,"running":true}]}
{"command":"instance-startInstance","success":true,"tan":0}
{"command":"instance-startInstance","success":true,"tan":0}
{"command":"instance-startInstance","success":true,"tan":0}
{"command":"instance-startInstance","success":true,"tan":0}
{"command":"instance-startInstance","success":true,"tan":0}
{"command":"instance-startInstance","success":true,"tan":0}
{"command":"instance-startInstance","success":true,"tan":0}
{"command":"instance-startInstance","success":true,"tan":0}
{"command":"instance-startInstance","success":true,"tan":0}
{"command":"instance-startInstance","success":true,"tan":0}
{"command":"instance-startInstance","success":true,"tan":0}
{"command":"instance-startInstance","success":true,"tan":0}
{"command":"instance-startInstance","success":true,"tan":0}
{"command":"instance-startInstance","success":true,"tan":0}
{"command":"instance-startInstance","success":true,"tan":0}
{"command":"instance-startInstance","success":true,"tan":0}
{"command":"instance-startInstance","success":true,"tan":0}
{"command":"instance-startInstance","success":true,"tan":0}
System
Hyperion Server:
Hyperion Server OS:
The text was updated successfully, but these errors were encountered: