You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2020/02/11 09:04:51 UTC

[Bug 64133] New: mod_proxy does not work with h2 protocol enabled with small request bodies

https://bz.apache.org/bugzilla/show_bug.cgi?id=64133

            Bug ID: 64133
           Summary: mod_proxy does not work with h2 protocol enabled with
                    small request bodies
           Product: Apache httpd-2
           Version: 2.4.41
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: major
          Priority: P2
         Component: mod_proxy_http
          Assignee: bugs@httpd.apache.org
          Reporter: charlyghislain@gmail.com
  Target Milestone: ---

Created attachment 37003
  --> https://bz.apache.org/bugzilla/attachment.cgi?id=37003&action=edit
chrome http2 har

If I enable the h2 protocol on my virtual host, then all POST requests that
send an empty json object `{}` fail to get proxified when sent from firefox or
chromium.
It works fine with requests sent from curl or idea.

As only the empty body requests fail, I assume it is a bug in mod_proxy,
mod_http2 or mod_ssl, but it might be a firefox/chromium bug as well. Feel free
to let me know and Ill open a ticket there.

Under firefox, it seems the request may sometimes pass. 

The failing requests get the error:
[proxy_http:error] [pid 86:tid 139928507143936] (70008)Partial results are
valid but processing is incomplete: [client 172.21.0.1:36444] AH01095: prefetch
request body failed to 172.21.0.3:8080 (as) from 172.21.0.1 (), referer:
http://localhost:4200/trustee/list

Im attaching the vhost config and several error logs at trace4 level.
- log of a failing request sent on h2 by firefox + har
- log of a failing request sent on h2 by opera (chromium) + har
- log of a succesful request on h2 sent by idea
- log of a successful request sent on http1 by opera (chromium).

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


[Bug 64133] mod_proxy does not work with h2 protocol enabled with small request bodies

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=64133

--- Comment #5 from charly ghislain <ch...@gmail.com> ---
Created attachment 37008
  --> https://bz.apache.org/bugzilla/attachment.cgi?id=37008&action=edit
chrome http1 log

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


[Bug 64133] mod_proxy does not work with h2 protocol enabled with small request bodies

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=64133

--- Comment #2 from charly ghislain <ch...@gmail.com> ---
Created attachment 37005
  --> https://bz.apache.org/bugzilla/attachment.cgi?id=37005&action=edit
firefox http2 har

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


[Bug 64133] mod_proxy does not work with h2 protocol enabled with small request bodies

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=64133

--- Comment #6 from charly ghislain <ch...@gmail.com> ---
Created attachment 37009
  --> https://bz.apache.org/bugzilla/attachment.cgi?id=37009&action=edit
vhost configuration

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


[Bug 64133] mod_proxy does not work with h2 protocol enabled with small request bodies

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=64133

--- Comment #4 from charly ghislain <ch...@gmail.com> ---
Created attachment 37007
  --> https://bz.apache.org/bugzilla/attachment.cgi?id=37007&action=edit
idea http2 log

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


[Bug 64133] mod_proxy does not work with h2 protocol enabled with small request bodies

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=64133

--- Comment #7 from charly ghislain <ch...@gmail.com> ---
Im using apache in a ubuntu container. The installed package is:

Package: apache2
Status: install ok installed
Priority: optional
Section: httpd
Installed-Size: 527
Maintainer: Ubuntu Developers <ub...@lists.ubuntu.com>
Architecture: amd64
Version: 2.4.41-1ubuntu1

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


[Bug 64133] mod_proxy does not work with h2 protocol enabled with small request bodies

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=64133

--- Comment #1 from charly ghislain <ch...@gmail.com> ---
Created attachment 37004
  --> https://bz.apache.org/bugzilla/attachment.cgi?id=37004&action=edit
chrome http2 log

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


[Bug 64133] mod_proxy does not work with h2 protocol enabled with small request bodies

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=64133

--- Comment #3 from charly ghislain <ch...@gmail.com> ---
Created attachment 37006
  --> https://bz.apache.org/bugzilla/attachment.cgi?id=37006&action=edit
firefox http2 log

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org