how to enable websocket in virtual server

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

K14754: BIG-IP support for the WebSocket protocol

From 11.4.0, the HTTP profile will handle WebSocket data correctly.

From 12.1, you can secure further aspects of the data transferred by websockets with a WebSocket profile:

Manual Chapter: Securing Applications That Use WebSocket

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