Jumoo / Jumoo.TranslationManager.Issues

Public issue tracker for translation manager.
0 stars 0 forks source link

Timeout when translating with OpenAI connector #61

Open FransdeJong opened 1 month ago

FransdeJong commented 1 month ago

I'm running translationmanager 13.1.3 and OpenAi 1.0.1

When running a bigger task I get a empty error: image

When opening the console I see the following error: image

Sometimes the job is created despite of the error and other times there is no job created.

KevinJump commented 1 month ago

Yes, i guess you are hitting a timeout in the requests to the webserver (default might be 100 seconds, azure limit is 240 seconds) .

We do have mitigation for this in lots of parts of Translation manager, but not in the connector's submission methods - usually these are generating files, firing, and forgetting - but for machine translation they are a little slower (especially OpenAI).

if you can up the time, i would recommend it. If you can't at the moment the 'solution' is to send smaller blocks, see how low you can turn down the throttle in the connector settings.

FransdeJong commented 1 month ago

It seems in the background translationmanager is still running. I found the complete site translation after an hour in the translationsection. So it's only the front-end timing out?

If so this could be clarified in a error message. Something like: The request timed out. Please check the translation task in an hour or send smaller blocks for translation?