opentelemetry-lambda
opentelemetry-lambda copied to clipboard
Getting Runtime exited with error: exit status 127 with OTEL Layer installed
I installed the OTEL Lambda Layer following the instructions here. When the script completed, there was no ARN for the lambda, so I had to go into AWS and manually retrieve the ARN.
With the Layer installed, I ran one of our lambdas and this error popped up.
{
"errorMessage": "RequestId: 8f70eba2-4dbb-49b9-8e15-251ac74dc18d Error: Runtime exited with error: exit status 127",
"errorType": "Runtime.ExitError"
}
According to what I've discovered about Lambda error 127 is that it's missing dependencies, but I don't see any obvious way of ensuring dependencies are met. Any suggestions? Alternate instructions?
I got the same error using the AWS managed Lambda Layer for ADOT Java Auto-instrumentation Agent and ADOT Collector:
{
"errorType": "Runtime.ExitError",
"errorMessage": "RequestId: 6d3458ba-efb3-4135-96f9-3d9b7f35499a Error: Runtime exited with error: exit status 127"
}
I don't know how to get a better error message or more information
This issue was marked stale. It will be closed in 30 days without additional activity.