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 2025/08/12 11:22:37 UTC

[Bug 69779] New: ProxyErrorOverride not applied when using BalancerMember h2://

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

            Bug ID: 69779
           Summary: ProxyErrorOverride not applied when using
                    BalancerMember h2://
           Product: Apache httpd-2
           Version: 2.4.62
          Hardware: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: mod_proxy_http2
          Assignee: bugs@httpd.apache.org
          Reporter: slawekwrzos@gmail.com
  Target Milestone: ---

When using a balancer with BalancerMember h2://... and ProxyErrorOverride On,
Apache does not replace the backend's 503 response with the configured
ErrorDocument.
Instead, the client receives the raw 503 from the backend.

httpd version:
Name        : httpd
Version     : 2.4.62
Release     : 4.el9
Architecture: x86_64

Name        : mod_http2
Version     : 2.0.26
Release     : 4.el9

Steps to reproduce:
<VirtualHost *:443>
    ServerName test.example.com

    SSLProxyEngine on
    ProxyErrorOverride On

    <Proxy "balancer://mycluster">
        BalancerMember h2://httpco.de
        BalancerMember https://httpco.de
    </Proxy>

    ProxyPass "/" "balancer://mycluster/"
    ProxyPassReverse "/" "balancer://mycluster/"

    ErrorDocument 503 "custom 503 response"

    DocumentRoot "/var/www/html"
</VirtualHost>

curl -k -H "Host: test.example.com" --http2 https://127.0.0.1/503
Service Unavailable
curl -k -H "Host: test.example.com" --http2 https://127.0.0.1/503
custom 503 response

-- 
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 69779] ProxyErrorOverride not applied when using BalancerMember h2://

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

Ruediger Pluem <rp...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 OS|                            |All
             Status|NEW                         |RESOLVED
         Resolution|---                         |DUPLICATE

--- Comment #1 from Ruediger Pluem <rp...@apache.org> ---


*** This bug has been marked as a duplicate of bug 69771 ***

-- 
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