I've seen lots of these reports, but none regarding the most recent laravel 5.1.1 (LTS). Have just started a new app, and I'm receiving the following error when requesting app.local/
:
GET http://app.local/ net::ERR_INCOMPLETE_CHUNKED_ENCODING
It takes just over 5 seconds for it to come to this conclusion.
Now, this is essentially a fresh installation - I've only made the following changes:
- Use
FallbackResource
instead ofmod_rewrite
for sending the request toindex.php
, and - Set the application path to
/../name.application/bootstrap/autoload.php
inindex.php
(movedapp
,config
, etc toname.application
directory.
I only get the above error when sending a request to the root of the domain - that is app.local/
. There is an existing route for this, and it is set to return "Hello" (return response('Hello')
). That response is displayed immediately, but the page continues to load for 5 seconds, and then the console throws that error.
If I request /test
, the response is snappy, and I don't receive the error.
Seemingly, this is a Laravel problem, and I'm not quite sure where it comes from. It's not an .htaccess
problem as reverting my changes makes no difference. Alternatively, it could be an Apache problem, but nothing points to that being the case.
For reference, I'm running Apache 2.4 with PHP 5.6 on Windows 8.1.
This issue isn't limited to Chrome like others have reported for previous versions.
Any guidance would be appreciated.
Update: Having tested on the same VirtualHost, Laravel 4.2 appears to be doing the same thing. Could this, in fact, be a server issue?