Open IT-Nisse opened 4 months ago
@IT-Nisse thanks for the detailed report. We'll attempt to reproduce an let you know what we find. @Vzor-, FYI, this is the websocket stealing code. Perhaps there's a bug?
To clarify, when user A logs back in, are you relaunching QZ Tray?
Sorry for a late reply.
When i logged back as User A i tried to not open QZ Tray manually at first, when that did not work i tried to open it neither did work.
So if i don't start it the website just loads "Printing"
Otherwise it will say that QZ tray is not started then start to prompt to Allow the website.
after i allowed it 3 times it say that it failed.
The Problem: So we got an environment with a Follow Me Print Sollution, we got a few computers where alot of people lock the computer and another user will login.
This casues the QZ Tray session to be logged on as the first user and the print jobs get sent to the follow me print session of the first user.
I tried to run qz | Multiple Instances to steal the instance from the first user, and it works ( Administrators can edit qz-tray.properties and add a line websocket.steal=true. This file can be found by clicking QZ Tray, Advanced, Diagnostic, Browse App folder (secure environments may store this file in the User or Shared folder) ).
However if the first user comes back and login again the instances does not get stolen back.
I did check the debug log and it does say WebSocket stolen when User A Logs in the secound time. _- 2024-02-19 11:56:54,083 [INFO] Server started on port(s) 8283, 8282