Bug 64152 - mod_proxy_hcheck is not compatible with WSS/WSS
Summary: mod_proxy_hcheck is not compatible with WSS/WSS
Status: NEW
Alias: None
Product: Apache httpd-2
Classification: Unclassified
Component: mod_proxy_hcheck (show other bugs)
Version: 2.4.39
Hardware: All All
: P2 normal (vote)
Target Milestone: ---
Assignee: Apache HTTPD Bugs Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-02-18 12:57 UTC by xavier lhomme
Modified: 2020-02-18 12:57 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
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