Apache ERR_INCOMPLETE_CHUNKED_ENCODING
Asked Answered
C

2

10

Sometimes, for no real reason I get the following console message and a completely blank screen after deploying code to the server:

net::ERR_INCOMPLETE_CHUNKED_ENCODING 

An Apache restart fixes it but I can't see why it happens. The file system changes but not any config. I've never encountered it when not doing a deployment, so something about the file system changing whilst apache is running seems to cause it.

The document root is a symlink (current/) to the latest release folder.

Circumfluent answered 22/8, 2014 at 16:40 Comment(2)
I'm experiencing a similar issue. I'm not certain it is tied to code deployment, but it might be. Its a Symfony project, running on PHP 5.5Vharat
My best guess it that Apache doesn't like the document root changing, perhaps if a request is being dealt with during the symlink change as it only happens occasionally and since our traffic has increased.Circumfluent
V
5

This might not be your problem, but it solved it for me so i'm going to throw it out there anyway - setting opcache.fast_shutdown=0 fixed it. It is disabled by default according to the php docs but had been enabled in our setup.

Vharat answered 19/9, 2014 at 13:55 Comment(2)
This worked for me. I was using the default opcache.ini and fast_shutdown was set to 1 even though the documentation still says it defaults to 0. documentation on the flag: php.net/manual/en/…Coloquintida
I spoke too soon, looks like I am still receiving the errorColoquintida
K
1

I had this problem with phpmyadmin. Try disabling your antivirus.

Kriss answered 27/3, 2015 at 9:18 Comment(1)
This saved my life, restarting the antivirus on my server solved this for me. Thanks for sharing.Jewry

© 2022 - 2024 — McMap. All rights reserved.