Bug 64152

Summary: mod_proxy_hcheck is not compatible with WSS/WSS
Product: Apache httpd-2 Reporter: xavier lhomme <xavier.lhomme>
Component: mod_proxy_hcheckAssignee: Apache HTTPD Bugs Mailing List <bugs>
Status: NEW ---    
Severity: normal    
Priority: P2    
Version: 2.4.39   
Target Milestone: ---   
Hardware: All   
OS: All   

Description xavier lhomme 2020-02-18 12:57:16 UTC
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