Support the ongoing development of Laravel.io →
posted 11 years ago
Requests

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

Last updated 3 years ago.
0

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:

  • 127.0.0.1:54662
  • 127.0.0.1:54655
  • Etc.

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.

Last updated 3 years ago.
0

Sign in to participate in this thread!

Eventy

Your banner here too?

Haseeb90 haseeb90 Joined 8 Apr 2014

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2025 Laravel.io - All rights reserved.