Progress of batch operations is not always updated in the UI
Describe the bug When we run a batch operation, the progress is sometimes not updated and we have to refresh the page to see that the BO is done.
To Reproduce Steps to reproduce the behavior:
- Go to Translations View
- Select 3 keys
- Run machine translation batch operation
- See that the progress is not updated. If it is update, please retry it multiple times. It's intermittent.
Expected behavior The progress should be updated until the job is done.
Screenshots
Versions and environment
- Tolgee Platform version: v3.141.1
- Browser: Latest chrome
@JanCizmar i remember a saw it some time ago too, and managed to replicate it now locally with 2 instances running and turned OFF websockets over redis:
tolgee.cache.useRedis=true
tolgee.cache.enabled=true
tolgee.websocket.useRedis=false
In the logs i noticed that it hung when the message to the websocket was sent by the other instance, not the one which i deal with via UI.
How did you manage to replicate it? In the cloud? Or locally (self-hosted) somehow? (because i've just tried it really a lot of times in the cloud, and didn't manage to replicate it even once)
Hey!
Thanks for looking into this.
I replicated it locally with one instance only. On the production, Redis was always in use and these settings did not change. It can even be some frontend issue 🤷♂️.
thanks @JanCizmar. I'll give it another try. Or smth is with the websocket