Skip to content

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

@MatthiasJReisinger

Description

@MatthiasJReisinger

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions