[Bug 64744] New: Websocket Wss is not working for my Jetty port 8443 using LoadBalancer menthod

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

[Bug 64744] New: Websocket Wss is not working for my Jetty port 8443 using LoadBalancer menthod

Bugzilla from bugzilla@apache.org
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: [hidden email]
          Reporter: [hidden email]
  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: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

[Bug 64744] Websocket Wss is not working for my Jetty port 8443 using LoadBalancer menthod

Bugzilla from bugzilla@apache.org
https://bz.apache.org/bugzilla/show_bug.cgi?id=64744

Chaitanya Kiran <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|normal                      |major
                 CC|                            |[hidden email]

--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

[Bug 64744] Websocket Wss is not working for Jetty port 8443 using LoadBalancer menthod

Bugzilla from bugzilla@apache.org
In reply to this post by Bugzilla from bugzilla@apache.org
https://bz.apache.org/bugzilla/show_bug.cgi?id=64744

Chaitanya Kiran <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|Websocket Wss is not        |Websocket Wss is not
                   |working for my Jetty port   |working for Jetty port 8443
                   |8443 using LoadBalancer     |using LoadBalancer menthod
                   |menthod                     |

--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

[Bug 64744] Websocket Wss is not working for Jetty port 8443 using LoadBalancer menthod

Bugzilla from bugzilla@apache.org
In reply to this post by Bugzilla from bugzilla@apache.org
https://bz.apache.org/bugzilla/show_bug.cgi?id=64744

--- Comment #1 from bubbly <[hidden email]> ---
hello

--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]