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
I'm trying to use this project in a containerized fashion with Lambda (there's not a lot of docs for using Docker). I've been through the docs here and through Bref and am unsure what I'm missing/doing wrong. When processing lobs locally and within AWS I get the error:
{
"errorMessage": "RequestId: 36907a63-97ff-478b-b1fd-630f060a8661 Error: Runtime exited without providing a reason",
"errorType": "Runtime.ExitError"
}
Locally I'm able to use serverless invoke -f worker --file=sqs-queue-event.json to tell my local env to process the job. However both locally and in AWS that's the only feedback I get, with no errors or anything on the Laravel side. It just doesn't work 🤷 . Logs are configured to go to stderr locally and bugsnag/stderr in Lambda.
My container is defined within the serverless architecture as:
functions:
worker:
reservedConcurrency: 10
image: xxxxx.xxxxx.amazonaws.com/[project]:lambda-serverless
events:
# Declares that our worker is triggered by jobs in SQS
- sqs:
arn: !GetAtt SendMessagesQueue.Arn
# If you create the queue manually, the line above could be:
# arn: 'arn:aws:sqs:us-east-1:1234567890:my_sqs_queue'
# Only 1 item at a time to simplify error handling
batchSize: 1
The text was updated successfully, but these errors were encountered:
* Make sure the OctaneHandler is not created by the Laravel kernel
Indeed, Octane boots Laravel (not the other way around)
* sort
---------
Co-authored-by: Till Krüss <[email protected]>
I'm trying to use this project in a containerized fashion with Lambda (there's not a lot of docs for using Docker). I've been through the docs here and through Bref and am unsure what I'm missing/doing wrong. When processing lobs locally and within AWS I get the error:
Locally I'm able to use
serverless invoke -f worker --file=sqs-queue-event.json
to tell my local env to process the job. However both locally and in AWS that's the only feedback I get, with no errors or anything on the Laravel side. It just doesn't work 🤷 . Logs are configured to go to stderr locally and bugsnag/stderr in Lambda.My
Dockerfile
:My container is defined within the serverless architecture as:
The text was updated successfully, but these errors were encountered: