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

From: Date: Tue, 23 Aug 2016 12:58:17 +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-203512@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: yonelceruto 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: I've the same problem in php 7.0.8 apache 2.4.18 Google Chrome / FF Previous Comments: ------------------------------------------------------------------------ [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. ------------------------------------------------------------------------ [2016-08-04 09:44:17] victor at tuxayo dot net I was able to also reproduce with PHP 5.6.24 ------------------------------------------------------------------------ [2016-08-04 09:28:07] victor at tuxayo dot net I think I've got the same issue with php 7.0.9 Using the PhantomJS 2.1 browser (which uses webkit) for automated tests. I have a test that logs in my app and goes to the main page. When running the test in loop, in less than 50 runs (usually 15) the test freezes. PhantomJS is waiting for a response from the server which never comes. And the logs always show an Invalid request (Unexpected EOF) at that moment. [theDate] theIP:50492 [200]: /resources/ [theDate] theIP:50496 [200]: /resources/css/style.css [theDate] theIP:50498 [200]: /resources/css/thickbox.css [theDate] theIP:50500 [200]: /resources/css/datePicker.css [theDate] theIP:50502 [200]: /resources/css/jquery.autocomplete.css [theDate] theIP:50504 [200]: /resources/css/jquery.tooltip.css [theDate] theIP:50716 [200]: /resources/js/plugins/jquery.js [theDate] theIP:50712 [200]: /resources/js/plugins/ajaxupload.3.5.js [theDate] theIP:50706 Invalid request (Unexpected EOF) [theDate] theIP:50710 [200]: /resources/js/plugins/jquery.autocomplete.js [theDate] theIP:50714 [200]: /resources/js/plugins/Gettext.js [theDate] theIP:50708 [200]: /resources/js/plugins/translate.js [theDate] theIP:50722 [200]: /resources/js/index.js [theDate] theIP:50718 [200]: /resources/js/plugins/date.js [theDate] theIP:50720 [200]: /resources/js/plugins/jquery.datePicker.js [theDate] theIP:50724 [200]: /resources/js/common.js ------------------------------------------------------------------------ [2016-05-13 20:41:53] tomer dot leader at gmail dot com Same issue at PHP 5.5.12 Development Server on windows. ------------------------------------------------------------------------ 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 (#203512) next »