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년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠