Call from a Lambda to s3.getObject Error [TimeoutError]: Connection timed out after 300000ms

0

I s3 buckets with event onCreated registration to push an event to SNS and from there a lambda. the lambda download the file from s3 and will ingest the file's content into Elasticsaerch.

from time to time we are getting an error when downloading the file from s3:

Error [TimeoutError]: Connection timed out after 300000ms

at ClientRequest.<anonymous> (/var/task/node_modules/aws-sdk/lib/http/node.js:86:34) at Object.onceWrapper (events.js:519:28) at ClientRequest.emit (events.js:400:28) at ClientRequest.emit (domain.js:475:12) at TLSSocket.emitRequestTimeout (_http_client.js:790:9) at Object.onceWrapper (events.js:519:28) at TLSSocket.emit (events.js:412:35) at TLSSocket.emit (domain.js:475:12) at TLSSocket.Socket._onTimeout (net.js:495:8) at listOnTimeout (internal/timers.js:557:17) at processTimers (internal/timers.js:500:7) { code: 'TimeoutError',

Can that be due to a concurrency / config/ too many invocations issue?

LiorG
질문됨 10달 전739회 조회
1개 답변
0
profile picture
전문가
답변함 10달 전
  • 99% of the calls work, but some of them fail

  • You should check with AWS support if NATGW is experiencing any packet drop/any other transient issue.

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

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

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

관련 콘텐츠