Closed otezz closed 3 years ago
Do you see the log line on CloudWatch as well?
Yes, I can see the log line
Here's screenshot from cloudwatch
The task run 3 times before moved to dead-letter
Maybe you can try to increase the timeout to see if it solves it (by just giving a bit more time). Timeout are common when your Lambda is in a VPC without NAT Gateway because you lose access to the internet. However, I don't detect any reason why your project would be trying to connect to the internet
https://bref.sh/docs/environment/database.html#accessing-the-internet
I've increased the timeout to 120s but still timed out
Is it possible to install new relic's apm to the app to see which function taking too long?
So I managed to make it work by deploying worker in other VPC that have NAT gateway in it. I'm not sure why I need NAT gateway since my function doesn't need to connect to the internet
Hi,
I create a test app for this package on https://github.com/otezz/test-bref-queue. I can see jobs from laravel are processed and record inserted to RDS successfully, but it seems that the job not quitting immediately and idling until the lambda function time out causing the task marked as failed.
Is there something wrong with my configurations?