opentelemetry-lambda icon indicating copy to clipboard operation
opentelemetry-lambda copied to clipboard

Getting Runtime exited with error: exit status 127 with OTEL Layer installed

Open M3gar00 opened this issue 2 years ago • 2 comments

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?

M3gar00 avatar Aug 23 '22 19:08 M3gar00

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

iulspop avatar Nov 22 '22 01:11 iulspop

This issue was marked stale. It will be closed in 30 days without additional activity.

github-actions[bot] avatar Jun 23 '24 03:06 github-actions[bot]