X: Cannot decode %s traces payload: %v [v0.4 read tcp 127.0.0.1:8126->127.0.0.1:37608: i/o timeout]
zomgbre opened this issue · comments
Bri Veillette commented
Expected Behavior
No weird errors/warnings in the lambda log output.
Actual Behavior
Lambda log output on occasion:
"X: Cannot decode %s traces payload: %v [v0.4 read tcp 127.0.0.1:8126->127.0.0.1:37608: i/o timeout"
Steps to Reproduce the Problem
- Use CDK to add Datadog layer to a lambda with below configuration:
this._datadog = new Datadog(this, 'Datadog', {
env: 'test',
service: 'test',
version: '2022-10-17t17:58:40.514z',
nodeLayerVersion: 84,
extensionLayerVersion: 29,
captureLambdaPayload: true,
apiKeySecretArn: `arn:aws:secretsmanager:${Stack.of(this).region}:${Stack.of(this).account}:secret:xxx/datadog`
});
- Deploy lambda.
- Send requests to the lambda until this error is seen. (I'm not exactly sure what is causing it...)
Specifications
- Datadog Lambda Layer version: 29
- Node version: 84
Stacktrace
X: Cannot decode %s traces payload: %v [v0.4 read tcp 127.0.0.1:8126->127.0.0.1:37608: i/o timeout
AJ Stuyvenberg commented
Hi, a fix for this has been in the most recent versions of the Datadog extension for some time. Please upgrade to the latest (37) and feel free to re-open if this is still an issue.
Thanks!