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?

質問済み 2年前253ビュー
1回答
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/

回答済み 2年前
AWS
サポートエンジニア
レビュー済み 2年前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ