Details
-
Bug
-
Resolution: Fixed
-
None
-
Critical
-
-
Empty show more show less
Description
problem
The "opened task check" implemented with the multi task feature TRANSLATE-2534 is complaining very often, that the current task is not open anymore.
This results in "ERROR in core: E9999 - Keine Zugriffsberechtigung!" in the log and "Meldung vom Server: 403 Forbidden" in the UI.
After investigation it seems that the problem occurs if someone has an unstable internet connection or where the internet connection is gone when doing a short pause.
Due the lack of network connection the session of the user is marked as stalled in the messagebus. On periodical clean up the opened tasks of such stalled sessions are closed - which is basically needed to reopen tasks if the user was basically gone by just closing the window, losing connection or whatever.
If the connection is restored, the websocket connection is established again, but the task remains closed.
reproduction
- Use a docker setup to test.
- Open a task
- stop the proxy docker container - the UI complains about missing socket server
- wait for 30 seconds then call "curl -v http://localhost/editor/cron/periodical" in the php container
- restart the proxy docker container
- try to change the segment in the UI
solution
Reopen the task on reconnecting the socket server.