laravelvagranthomesteadvagrant-windows

Homestead server times out when route not found


Accessing any invalid/non existing route on fresh laravel app returns halts & timeout after 60 seconds.

Error: The process "git status -s" exceeded the timeout of 60 seconds.

Same code works fine fine locally on xampp and returns method/controller not found within a couple of seconds. Please guide.

P.S: Seems like git status takes a lot of time inside vagrant ssh, but it works fine on host machine. What also bothers me is why git status command is being run when accessing route?


Solution

  • Ok, so turns out the laravel error page package ignition is causing all the problems. There is an ongoing issue on there github page and multiple solution including the git status issue.