Skip to content

handle_traces | Error extracting request body (v94) #1232

Description

@jkanzler

Hello,

We occasionally see the following error in our logs:

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

A similar issue was reported in #1000 (for handle_proxy), which got addressed with #1046.

The explanation from #1000 (comment) makes sense to us, so looking at the source code we see a similar pattern for handle_traces, which might have the same root cause:

let (parts, body) = match extract_request_body(request).await {
Ok(r) => r,
Err(e) => {
return error_response(

If it helps, we are currently using v94, though the above error_response is the same for v97 and the runtime is al2023 (for Go).

Metadata

Metadata

Assignees

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