MicrosoftTranslator / DocumentTranslator-Legacy

Microsoft Document Translator (Archive) - Replaced by the MicrosoftTranslator/DocumentTranslation project in this repository.
Other
410 stars 154 forks source link

Timeout for the first call to a Custom Translator system #110

Closed chriswendt1 closed 4 years ago

chriswendt1 commented 4 years ago

Document Translator times out when using a custom translation system after a longer period of non-use. Need to redo the retry logic.

jbenoit862 commented 4 years ago

We are using Document Translator version 2.1.1 and Custom Translator. When we submit a French document to be translated into English, it does not get translated on the first trial. We get an error message in Document Translator and do receive a file with the .en extension but the document is still in French or sometimes the document gets partly translated. Usually on the second or on the third trial the entire document is translated. It appears that Document Translator needs to be «warmed up». The behavior just described happens with Word and PowerPoint documents. This is very frustrating. Is this the reason why ? Thanks.

chriswendt1 commented 4 years ago

Fixed in version 2.6. Please reactivate if you still see an issue with custom systems. The problem was missing wait and retry while the custom system is starting up after a period of non-use.