1

Trying to set up a load balancer using Apache 2.4.x on Windows. Error: No protocol handler was valid for the URL /path/. If you are using a DSO version of mod_proxy, make sure the proxy submodules are included in the configuration using LoadModule.

Accessing webswing with websocket code deployed on jetty server.

Same configuration is working on Linux.

config file:

ProxyPass /path balancer://cluster/path/ timeout=600 
ProxyPassReverse /path balancer://cluster/path/ timeout=600
ProxyRequests Off
ProxyTimeout 600

<Proxy "balancer://cluster">
Require valid-user 
AuthName "ClosedProxy"
AuthType Basic
Order deny,allow
Allow from all
Satisfy Any

BalancerMember ws://server1 route=1 timeout=600 
BalancerMember ws://server2 route=3 timeout=600
ProxySet stickysession=ROUTEID lbmethod=byrequests
</Proxy>

1 Answer 1

0

On the surface, this means you didn't load mod_proxy_wstunnel on your Windows system.

1
  • And modules proxy_balancer, proxy_http (direct requirement of wstunnel) and lbmethod_byrequest have to be loaded.
    – Gerrit
    Mar 2, 2020 at 11:23

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .