You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 29, 2024. It is now read-only.
{
"errorMessage": "RequestId: 7161f214-824d-4b8f-82cd-01bad53a5e75 Error: Runtime exited with error: exit status 255",
"errorType": "Runtime.ExitError"
}
Function Logs
START RequestId: 7161f214-824d-4b8f-82cd-01bad53a5e75 Version: $LATEST
Warning: require_once(/var/task/src/handler.php): failed to open stream: No such file or directory in /opt/bootstrap on line 29
Fatal error: require_once(): Failed opening required '/var/task/src/handler.php' (include_path='.:/home/ec2-user/php-7-bin/lib/php') in /opt/bootstrap on line 29
END RequestId: 7161f214-824d-4b8f-82cd-01bad53a5e75
REPORT RequestId: 7161f214-824d-4b8f-82cd-01bad53a5e75 Duration: 26.02 ms Billed Duration: 135 ms Memory Size: 128 MB Max Memory Used: 36 MB Init Duration: 108.48 ms
RequestId: 7161f214-824d-4b8f-82cd-01bad53a5e75 Error: Runtime exited with error: exit status 255
Runtime.ExitError
The text was updated successfully, but these errors were encountered:
In my case, after sam deploy, when I run the test in the Lambda console, I get the following error:
{
"errorMessage": "RequestId: 0d280a9a-152b-4876-998f-193e24f2d143 Error: Runtime exited with error: exit status 126",
"errorType": "Runtime.ExitError"
}
START RequestId: 0d280a9a-152b-4876-998f-193e24f2d143 Version: $LATEST
/lambda-entrypoint.sh: /var/runtime/bootstrap: /var/lang/bin/php^M: bad interpreter: No such file or directory
/lambda-entrypoint.sh: line 14: /var/runtime/bootstrap: Success
END RequestId: 0d280a9a-152b-4876-998f-193e24f2d143
REPORT RequestId: 0d280a9a-152b-4876-998f-193e24f2d143 Duration: 25.73 ms Billed Duration: 26 ms Memory Size: 128 MB Max Memory Used: 3 MB
RequestId: 0d280a9a-152b-4876-998f-193e24f2d143 Error: Runtime exited with error: exit status 126
Runtime.ExitError
Similar errors occur in local tests before deployment.
It seems that this sample app hasn't been updated since 2 years ago, so I'd be happy if you could update it so that the error is resolved.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I'm getting this.
The text was updated successfully, but these errors were encountered: