Bug #60471 [Com]: Random "Invalid request (unexpected EOF)" using a router script

From: Date: Sat, 10 Sep 2016 09:50:24 +0000
Subject: Bug #60471 [Com]: Random "Invalid request (unexpected EOF)" using a router script
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-203944@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=60471&edit=1 ID: 60471 Comment by: falcon560 at gmail dot com Reported by: lolautruche at gmail dot com Summary: Random "Invalid request (unexpected EOF)" using a router script Status: Assigned Type: Bug Package: Built-in web server Operating System: Mac OS X 10.7.2 (Lion) PHP Version: 5.4.0RC2 Assigned To: laruence Block user comment: N Private report: N New Comment: The issue remains unresolved using PHP Version 7.0.6. and fedora version 24. It looks like its not a page related issue as not requests are generated in firefox/firebug console (using firefox 48). Yet the message keeps on coming whenever i switch to a page that has been served by the CLI server after that the message continues every second or so until i switch to some other page. [Sat Sep 10 14:48:00 2016] 127.0.0.1:46510 Invalid request (Unexpected EOF) Previous Comments: ------------------------------------------------------------------------ [2016-09-01 21:37:47] admin at codeanimu dot net @victor : I wasn't really able to tell exactly, but after a fair amount of testing on pages with many requests it only ever seemed to fail when loading them, images always seemed to load fine. Might have just been luck though. I should probably mention that the issue we're having is probably just a PhantomJS problem, and not PHP. Found these after posting the previous comment: https://github.com/ariya/phantomjs/issues/14286 / https://github.com/ariya/phantomjs/issues/10652 ------------------------------------------------------------------------ [2016-09-01 21:18:57] victor at tuxayo dot net @codeanimu How where you able to tell which request is related to the freeze? Even with the server logs and Wireshark, I wasn't able to find out. ------------------------------------------------------------------------ [2016-08-23 12:58:16] yonelceruto at gmail dot com I've the same problem in php 7.0.8 apache 2.4.18 Google Chrome / FF ------------------------------------------------------------------------ [2016-08-20 16:19:20] admin at codeanimu dot net I've had the occur quite often when testing using PhantomJS as well. Completely freezes the tests which is annoying. Had it occur both locally on Windows & remotely on Linux. Both running PHP7. Strangely it only seems to occur when loading in CSS/JS libraries. ------------------------------------------------------------------------ [2016-08-16 14:31:05] victor at tuxayo dot net @mike I think I managed to disable the keep alive in PhantomJS (by adding "Connection": "close" in the headers of each request) and can still reproduce the issue. @laruence If this issue is only a warning, would this mean it's unrelated to my issue with my browser (PhantomJS) waiting infinitely a response from the server? Which doesn't happen with Apache. ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at https://bugs.php.net/bug.php?id=60471 -- Edit this bug report at https://bugs.php.net/bug.php?id=60471&edit=1

« previous php.bugs (#203944) next »