"Task timed out" error on some Laravel endpoints #1002
-
Description: We have recently migrated one of our Laravel 8 projects to use serverless deployment with Bref on AWS Lambda. SOME of our endpoints are consistently failing with the error I have seen #475 but I am not convinced that the error has to do with the database being inaccessible due to our VPC, because again, other endpoints which use the database seem to have no such connection issues. It is also worth noting that our I'm also not convinced that the error is a failure to connect to some other external resource, because logging indicates that the code is crashing before The nature of this error suggests that it should be happening on every request, or not at all, which is why it's weird to me that it's only happening on SOME endpoints. And again, it's consistent about which endpoints work and don't work. I also haven't noticed any sort of pattern that links the consistently failing endpoints together. How to reproduce: I'm not sure what is causing the issue, so I can't provide generic steps to reproduce. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 12 replies
-
Hey! Just to be sure, are you aware of this limitation: https://bref.sh/docs/environment/database.html#accessing-the-internet |
Beta Was this translation helpful? Give feedback.
Hey! Just to be sure, are you aware of this limitation: https://bref.sh/docs/environment/database.html#accessing-the-internet