Skip to content

Extension Error Reading A Body From Connection #1000

Description

@ggoranov-smar

Hi Team!

We are currently using this lambda extension for tracing and we are experiencing failed lambda invocations with error log from the extension itself:

DD_EXTENSION | ERROR | TRACE_AGENT | handle_proxy | Error extracting request body: Failed to buffer the request body: error reading a body from connection

As far as I understand this is caused by the AWS Lambda runtime freezing or terminating the lambda instance without gracefully waiting for all traces to be processed. The business logic in the lambda function executes without issues so this does not cause any serious issues, just noise in the logs and maybe missing traces.

Is this understanding correct? Do you guys have a suggestion for how to setup the Lambda to avoid these error logs?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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