aws / aws-lambda-nodejs-runtime-interface-client

Apache License 2.0
180 stars 56 forks source link

crashes when making request to AWS services via aws-sdk v3 #55

Open RavenX86 opened 1 year ago

RavenX86 commented 1 year ago

Hi, until recently, we had no issues with our setup, but suddenly it started crashing a few days ago. Docker image is based on fedora:36 with node nodejs:16/common installed and using AWS-SDK v3 in node with typescript

Recently we have been experiencing this message randomly but locally and on AWS which requires a full restart of the container not allowing any new function calls after the crash. On local, it happens only when we are connected via a VPN server located in the us-east-2 (Ohio) region. The same issue happens on AWS lambda (same region). When not connected to the VPN the issue never happens.

container-1  | 08 Sep 2022 17:29:01,415 [WARNING] (rapid) First fatal error stored in appctx: Runtime.ExitError
container-1  | 08 Sep 2022 17:29:01,415 [WARNING] (rapid) Process 14(npx) exited: Runtime exited with error: signal: killed
container-1  | END RequestId: b69162dc-da7b-4c3b-8965-2d609f1e2856

Is there any way to get more info on this error to help debug it?

thanglq1 commented 1 year ago

I'm facing the same issue.

START RequestId: 59305033-52f5-4568-9d8a-17dcbb78cd9a Version: $LATEST
06 Apr 2023 06:41:39,284 [ERROR] (rapid) Init failed error=Runtime exited with error: signal: killed InvokeID=
END RequestId: 408ded7f-2da7-4aa8-aa25-d68336a92969
REPORT RequestId: 408ded7f-2da7-4aa8-aa25-d68336a92969  Init Duration: 0.94 ms  Duration: 6211.90 ms    Billed Duration: 6212 ms        Memory Size: 128 MB     Max Memory Used: 128 MB