Hello!
On Tue, Apr 17, 2012 at 06:44:48AM -0400, leontinus wrote:
> Hi guys, I need your help to help me identify a problem. I'm running an
> online marketplace here in Indonesia. Right now I have 1 mod perl server
> using apache and 1 nginx server as proxy. But some of my users complain
> they cannot access my website, http://www.tokopedia.com. And I found out
> a fact that if they use mikrotik HttpProxy, they cannot access my
> website, but they can access other website.
>
> If they use firefox, they found err message : Content Encoding Error
> If they use google chrome, they found err message :
> ERR_INVALID_CHUNKED_ENCODING
>
> Can you help me with this?
The messages suggest there is something wrong with the proxy in
question, most likely it fails to handle chunked encoding
properly. You may try to disable use of chunked transfer encoding
with
chunked_transfer_encoding off;
to see if it helps. Note though that it will also make keepalive
connections impossible if Content-Length isn't known. You may
also try to disabling keepalive connections completely with
keepalive_timeout 0;
See here for details:
http://nginx.org/r/chunked_transfer_encoding
http://nginx.org/r/keepalive_timeout
Maxim Dounin
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx