upstream sent invalid chunked response

Wim R. Crols wim.crols at esaturnus.com
Mon Feb 24 15:40:35 UTC 2014


>
> The message indicate that upstream server returned invalid
> response, or at least nginx thinks it is invalid.  If you think
> that response returned is valid, it's good idea to actually
> provide what was returned, as well as nginx's debug log.
>
>
> --
> Maxim Dounin
> http://nginx.org/


Thank you.
You were right. It turned out JBoss (or one of its components) gave a
strange response in HTTP 1.1 chunked transfer... but without chunk sizes.
I solved it by adding these two directives:

+      proxy_http_version 1.1;
+      proxy_set_header Connection "";
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20140224/5e242360/attachment.html>


More information about the nginx mailing list