Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unexpected empty response when lambda function's process terminates #86

Open
MatthiasJReisinger opened this issue Mar 16, 2023 · 0 comments

Comments

@MatthiasJReisinger
Copy link

The RIE behaves differently from the "production" AWS Lambda environment when a Lambda function's process terminates.

Concretely, the production environment responds with a message that contains the process's exit status, e.g.:

{
  "errorType": "Runtime.ExitError",
  "errorMessage": "RequestId: 7f399cc8-8841-fefa-0af7-ba803f3f21e3 Error: Runtime exited with error: exit status 42"
}

The Lambda RIE however does not send such a response. Instead, when the Lambda function's process terminates, the RIE only responds with an empty response body, which does not resemble the behavior of the production environment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant