AWS Translate sometimes gets an error TCP timeout on Lambda function

0

I am using translate service. I am running translateTex function about 20 texts (each text are not very large they about 40 characters) on 47 languages on foreach, it is sometimes working fine but sometimes getting an error TCP timeout. this code is running on NodeJs on lambda function, the time is set up to 10 minutes on lambda function. Anyone can help me please?

demandé il y a 2 ans253 vues
1 réponse
0

Hello,

The issue wouldn't be clear without seeing your Lambda function code. In cases of network connection issues like the one you are facing, the best practice is to prepare for occurrence beforehand by making sure that your Lambda function is idempotent. Here's a link to a guide on making Lambda functions idempotent:

https://aws.amazon.com/premiumsupport/knowledge-center/lambda-function-idempotent/

répondu il y a 2 ans
AWS
INGÉNIEUR EN ASSISTANCE TECHNIQUE
vérifié il y a 2 ans

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions