Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Timeout when translating with OpenAI connector #61

Open
FransdeJong opened this issue Jul 29, 2024 · 2 comments
Open

Timeout when translating with OpenAI connector #61

FransdeJong opened this issue Jul 29, 2024 · 2 comments

Comments

@FransdeJong
Copy link

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
Copy link
Member

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
Copy link
Author

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants