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/18 12:57:16 UTC

[Bug 64152] New: mod_proxy_hcheck is not compatible with WSS/WSS

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

            Bug ID: 64152
           Summary: mod_proxy_hcheck is not compatible with WSS/WSS
           Product: Apache httpd-2
           Version: 2.4.39
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: mod_proxy_hcheck
          Assignee: bugs@httpd.apache.org
          Reporter: xavier.lhomme@magellium.fr
  Target Milestone: ---

Hello 
here is the configutaion of my balancer

Header add Set-Cookie "ROUTEID=.%{BALANCER_WORKER_ROUTE}e; path=/"
env=BALANCER_ROUTE_CHANGED
ProxyHCExpr ok2 {%{REQUEST_STATUS} =~ /^[2]/}
<Proxy balancer://trackingwsbalancer>
    BalancerMember  wss://10.10.10.131:8443 route=1 hcmethod=GET hcexpr=ok2
hcuri=/trackingproxy_advanced/actuator
    BalancerMember  wss://10.10.10.132:8443 route=2 hcmethod=GET hcexpr=ok2
hcuri=/trackingproxy_advanced/actuator
    ProxySet stickysession=ROUTEID
    ProxySet lbmethod=bybusyness
</Proxy>


It turns out that mod_proxy_hcheck create a request by merging the balancer
member and the hcuri : 
wss://10.10.10.131:8443/trackingproxy_advanced/actuator
and it failed 
the right hucui should use the http scheme and then resquest over this uri :
https://10.10.10.131:8443/trackingproxy_advanced/actuator

best regards

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