Forum Discussion
Websocket config in F5 11.4.1
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.
- Rakesh_Paliwal_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 ""
- Poseidon1974Cirrostratus
Hi ,
Any update, i' have same issue ,
Thanks ,
- RossVermetteNimbostratus
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
Thank you Ross.
Is it generic i-rule for ltm which has version 10.2.4
- RossVermetteNimbostratus
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
Thank you much Ross. It works.
Recent Discussions
Related Content
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com