tolgee-platform icon indicating copy to clipboard operation
tolgee-platform copied to clipboard

Progress of batch operations is not always updated in the UI

Open JanCizmar opened this issue 2 months ago • 3 comments

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:

  1. Go to Translations View
  2. Select 3 keys
  3. Run machine translation batch operation
  4. 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 Image

Versions and environment

  • Tolgee Platform version: v3.141.1
  • Browser: Latest chrome

JanCizmar avatar Dec 01 '25 15:12 JanCizmar

@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)

bdshadow avatar Dec 02 '25 22:12 bdshadow

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 🤷‍♂️.

JanCizmar avatar Dec 05 '25 10:12 JanCizmar

thanks @JanCizmar. I'll give it another try. Or smth is with the websocket

bdshadow avatar Dec 05 '25 10:12 bdshadow