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

From: Date: Thu, 04 Aug 2016 09:28:09 +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-202913@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:         victor at tuxayo dot net
 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 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


Previous Comments:
------------------------------------------------------------------------
[2016-05-13 20:41:53] tomer dot leader at gmail dot com

Same issue at PHP 5.5.12 Development Server on windows.

------------------------------------------------------------------------
[2015-11-24 22:34:06] alex311es at gmail dot com

Same error

Mac 10.10.5

PHP 5.6.15 (cli) (built: Oct 31 2015 07:39:24)
Copyright (c) 1997-2015 The PHP Group
Zend Engine v2.6.0, Copyright (c) 1998-2015 Zend Technologies
    with Xdebug v2.3.3, Copyright (c) 2002-2015, by Derick Rethans

------------------------------------------------------------------------
[2015-06-02 09:13:57] stephane at winnepenninckx dot com

Mac OS X 10.10.3 and PHP 5.6.5, this bug does no harm but I lost some time.

------------------------------------------------------------------------
[2014-09-28 16:20:33] write2reuben at gmail dot com

Get this message after requesting a valid php file....

C:\mystuff\php-5.6.0\myphp>..\php -S 127.0.0.1:60024 -t .
PHP 5.6.1 Development Server started at Sun Sep 28 12:14:34 2014
Listening on http://127.0.0.1:60024
Document root is C:\mystuff\php-5.6.0\myphp
Press Ctrl-C to quit.
[Sun Sep 28 12:14:44 2014] 127.0.0.1:57374 [404]: / - No such file or directory
[Sun Sep 28 12:14:50 2014] 127.0.0.1:57375 Invalid request (Unexpected EOF)
[Sun Sep 28 12:14:57 2014] 127.0.0.1:57378 [200]: /php1.php
[Sun Sep 28 12:15:03 2014] 127.0.0.1:57379 Invalid request (Unexpected EOF)
[Sun Sep 28 12:15:14 2014] 127.0.0.1:57382 [200]: /php1.php
[Sun Sep 28 12:15:20 2014] 127.0.0.1:57383 Invalid request (Unexpected EOF)

------------------------------------------------------------------------
[2014-05-13 15:20:43] mike@php.net

This just happens when a keep-alive connection closes...

------------------------------------------------------------------------


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


Thread (29 messages)

« previous php.bugs (#202913) next »