-
-
Notifications
You must be signed in to change notification settings - Fork 396
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
Deadlock in API authentication #976
Comments
This is the line causing deadlock : hyperion.ng/libsrc/api/API.cpp Line 469 in c00d8e6
JsonAPI is instantiated in multiple places.
WebJsonRpc and WebSocketClient lives in WebServer thread. If Simple fix is comparing the thread IDs and doing ````invokeMethod``` or a direct call based on thread IDs but this is not the best solution. We can do better than this :) |
@dermotduffy @m-seker |
@Paulchen-Panther Verified fixed! Thank you! |
Bug report
Steps to reproduce
What is expected?
The login should succeed.
What is actually happening?
Server returns no response, and hangs. Logs:
Another example:
System
The text was updated successfully, but these errors were encountered: