Intermittend InvalidSignature error when retrieving object from S3 Object Lambda accesspoint in lambda@edge function

0

We have created a lambda@edge function (nodejs 14 with default aws sdk) that retrieves an object from an S3 Object Lambda accesspoint. Most of the time everything works correctly, but from one moment to the other the lambda@edge function fails the call to S3 with an "InvalidSignature" error.

We create the S3 client once during the lambda@edge during the startup of the lambda@edge function and only do an s3.getObject call to the S3 Object Lambda accesspoint and return the results.

Any idea what could be the cause?

1개 답변
0

For this type of problem, I'd strongly recommend creating a support case. The support team is able to bring in the Lambda@Edge service team, look at the logs, correlate the time/date of when you're seeing errors and work with you to fix the issue.

profile pictureAWS
전문가
답변함 2년 전

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

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

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