Forum Discussion
LTM/ASM 11.5.4 websocket
We are running an LTM unit with ASM license version 11.5.4. There is a virtual server configured with one real server running the application. Somewhere in the conversation a websocket connection is setup. This connection fails. I have been checking the different F5 sites for possible solutions or explanations but get more confused by the minute. Going to Fast-L4 is not an option because ASM needs the clientSSL and serverSSL. The iRule in which the HTTP and ASM are disabled should no longer be needed because of version higher than 11.4.0 supports websocket. Is there someone that can tell me if it is possible to use websocket through LTM/ASM and how to configure it in 11.5.4 ?
- WillyNimbostratus
Found a solution. Using a local traffic policy that disables the asm and forwards to the pool if traffic with a http-header named upgrade contains websocket did the trick. This is the first rule. Second rule enables the asm policy and forwards to the pool, last is the default rule which disables the asm
- wwojcik_298555Nimbostratus
Hey, I also have issues with websockets which were described in the thread below:
https://devcentral.f5.com/questions/issues-with-reverse-proxying-the-application-using-socketio-and-secure-websockets-52213?tag=application%20delivery
Did You do anything specific to enable websocket support ? Thanks a lot
- WillyNimbostratus
No , without the modification websocket traffic was not going through and the application had a fallback for this case. After applying the solution as described above the websocket was able to open and stay connected. If you like more information about the actual local traffic policy let me know.
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