Hi, I had a perfectly working Laravel project, and now I'm getting the following error
Invalid request (Unexpected EOF)
why is this coming up in the terminal?
I do
php artisan serve
and after a while it starts showing that error
The only change I made was that I added a new model and a couple of functions and some JS... But I don't think that this would have caused the issue.
I googled this and saw that it usually happens on Chrome(ium) but I'm using Mozilla Firefox.
Someone help
P.S: It's not like the project stopped working, the project is still working but I'm getting this message in the terminal
I also got this error on Firefox. I couldn't figure it out until I tried it on Chromium. Suddenly it worked -- the code is exactly the same, but it only runs on one browser or the other.
See also, the same problem on Chromium: https://bugs.php.net/bug.php?id=60471
The output in the terminal has various ports like:
Could it be a bug in artisan or the built-in PHP server? Maybe something to do with how those various ports end up getting served at localhost:8000? I'm not sure how that works...
It's very strange, because the backend form validation works in Chromium but not in Firefox.
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community