https://bz.apache.org/bugzilla/show_bug.cgi?id=64744
Bug ID: 64744
Summary: Websocket Wss is not working for my Jetty port 8443
using LoadBalancer menthod
Product: Apache httpd-2
Version: 2.4.46
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P2
Component: mod_proxy_wstunnel
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ---
Hi Team,
I am Trying to configure the Websockets using wss and which is not working
expected in the apache 2.4.46 version. But same application is working fine
with Nginx.
I have tried the Rewirte configurations also but no hope.
Please find my apache configutaion using balancer
<VirtualHost xx.xx.xx.xx:443>
ServerName xyz.com
RemoteIPHeader X-Forwarded-For
RemoteIPHeader X-Real-IP
SSLEngine on
SSLProxyEngine On
SSLProxyVerify none
AllowEncodedSlashes On
ProxyTimeout 300
<Proxy balancer://https-balancer>
BalancerMember https://xx.xx.xx.xx:8443 route=node1
loadfactor=1
BalancerMember https://xx.xx.xx.xx:8443 route=node2
loadfactor=1
ProxySet lbmethod=byrequests
ProxySet stickysession=JSESSIONID
</Proxy>
<Proxy balancer://wss-balancer>
BalancerMember wss://xx.xx.xx.xx:8443 route=node1
loadfactor=1
BalancerMember wss://xx.xx.xx.xx:8443 route=node2
loadfactor=1
ProxySet lbmethod=byrequests
</Proxy>
###### WSS-Proxy ############
ProxyPass /ws balancer://wss-balancer/
ProxyPassReverse /ws balancer://wss-balancer/
###### STICKY-SESSION ############
ProxyPass / balancer://https-balancer/
ProxyPassReverse / balancer://https-balancer/
</VirtualHost>
Websocket request : wss://xyz.com/
Apache logs iam getting this error :
"GET / HTTP/1.1" 400 34 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64)
AppleWebKit/537.36 (KHTML, like Gecko) Chrome/85.0.4183.102 Safari/537.36"
if i use the Request : wss://xyz.com/ws
Apache log :
"GET /ws HTTP/1.1" 500 527 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64)
AppleWebKit/537.36 (KHTML, like Gecko) Chrome/85.0.4183.102 Safari/537.36"
Please verify this issue and provide the solution asap.
Thanks&Regards,
Chaitanya Kiran PVN
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]