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
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...
More information about the nginx