Forum Discussion

raju_351906's avatar
raju_351906
Icon for Nimbostratus rankNimbostratus
Apr 01, 2018

how to enable websocket in virtual server

how to enable websocket in virtual server which is holding HTTP pool, with 2 nodes.

 

3 Replies

  • we tried enabling HTTP profile. but that didn't helped. applied irule to the vip when HTTP_REQUEST { if { [string tolower [HTTP::header Upgrade]] contains "websocket" }{ HTTP::disable } }

     

    still no luck, any other option to make it work.

     

    In which code version, web socket profile is the default.

     

  • Did you try removing the http profile & see if it works.

     

    • Use a virtual server with an applicable TCP profile, and remove the HTTP profile.
    • Use an iRule to selectively disable the HTTP profile for websocket traffic. (Which you have already tried)

    K14814