504 Gateway timeout in AWS App runner sometimes

293 views Asked by At

I installed laravel 10 project at AWS App Runner and connect with github Repo. I use this laravel as backend api. Sometimes after deployment, api endpoint returns 504 gateway timeout. I should click deploy button manually and it starts to work again. I created custom VPC and deployed app runner on it with RDS. Why does not this run sometimes? I should check manually and deploy again every time. Thanks

1

There are 1 answers

0
Kodra Fiorello On

I would suggest you to first check AWS App Runner Logs, there you can check when 504 Gateway Timeout is occurring. That issue can happen in really diverse scenarios, such, low resource allocation due to the flood of incoming requests. I would aslo check the RDS losgs to see if there is somethink weird in it.