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

From: Date: Sun, 11 Sep 2016 19:55:35 +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-203964@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:

@codeanimu Oh good find! That would mean that the freeze issue is just the PhantomJS bug that is
exacerbated but the PHP built-in server? And that it just triggers the "Invalid request
(unexpected EOF)" as a side effect.


Previous Comments:
------------------------------------------------------------------------
[2016-09-10 09:50:19] falcon560 at gmail dot com

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)

------------------------------------------------------------------------
[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.

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


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 (#203964) next »