Technical Forum
Ask questions. Discover Answers.
cancel
Showing results for 
Search instead for 
Did you mean: 

Websocket config in F5 11.4.1

Rakesh_Paliwal_
Nimbostratus
Nimbostratus

Hi I did setup f5 for web-socket with SSL termination, ssl profile , HTTP profile and cookie persistence. Issue is Client able to send the message but its not happening vice versa. When Client send the message its come via f5 vip and hit server but server unable to send back message to client. Please advise solution for this.

 

6 REPLIES 6

Rakesh_Paliwal_
Nimbostratus
Nimbostratus

Let me provide some more details - "" The client application is able to establish secure websocket connection to the server application through the LTM, but after the websocket connection has been established, the client application is not able to send messages to the server application through the LTM using the same websocket connection ""

 

Hi ,

Any update, i' have same issue  , 

Thanks , 

 

RossVermette
Nimbostratus
Nimbostratus

From what I understand is you need to disable the HTTP profile from processing when the "websocket" has established it's connection, as the profile doesn't understand websockets.

 

You can code an iRule, with somthing similar to this:

 

when HTTP_REQUEST {
  if { [string tolower [HTTP::header Upgrade]] contains "websocket" }{
      HTTP::disable
  }
}

Rakesh_Paliwal_
Nimbostratus
Nimbostratus

Thank you Ross.

 

Is it generic i-rule for ltm which has version 10.2.4

 

RossVermette
Nimbostratus
Nimbostratus

I use a version of this iRule with version 11.5.x. I'm not sure if this will work with 10.x code.

 

Rakesh_Paliwal_
Nimbostratus
Nimbostratus

Thank you much Ross. It works.