Forum Discussion

keiti_4329's avatar
keiti_4329
Icon for Nimbostratus rankNimbostratus
Apr 28, 2014

Does LTM supports websocket with using cookie persistence?

Hi, guys.

 

I've been trying to configure VS for websocket communications using cookie persistence in v10.2.1 and I've used the following irules:

 

when CLIENT_ACCEPTED { HTTP::enable } when HTTP_REQUEST { if { ([string tolower [HTTP::header value Upgrade]] equals "websocket" ) && ([string tolower [HTTP::header value Connection]] equals "upgrade" ) } { log local0. "HTTP Disable" HTTP::disable } }

 

There are no problems when it's configured for a single member, but causes communication errors when more than one pool members exist. I believe it was unable to persist because http is disabled when using this irules.

 

If my theory is correct, it would be best for me to avoid using this irules whenever possible, so for VS for websocket configuration in v11.4, is this irules still necessary? Is cookie persistence with websocket communications available as default in v11.4?