Forum Discussion
How to set up web socket comms on LTM V11.5
Hello,
I am looking to use our LTM v11.5 to balance traffic for our mobile device web services which utilise the "Node.js" web socket services, but I just can't seem to get it to work correctly.
The initial call in works but the web socket communication doesn't get established and faults.
I have read that we needed to update our firmware to 11.5 for support of web sockets and then that we should use a http profile, no other guidance can I find!
Could someone please provide me with a step-by-step process of how to allow web socket communication to occur please?
We are making the communication using port 443/SSL.
Many thanks for any help provided.
4 Replies
- BinaryCanary_19Historic F5 Account
That should be all that is required. If your connections are failing for some reason, you need to define "fail" in a bit more detail.
Also, this document may be helpful/relevant: BigIP support for the websocket protocol
- AndyC_128552
Nimbostratus
Hello,
Thanks you very much for your response. I think I need to explicitly define what is meant by a "HTTP" profile as I am no expert on configuring the LTM but do know my way around it. I have set up a virtual server with: Type - Standard Service Port - 443 /HTTPS Protocol - TCP HTTP Profile - None Source Address Translation - Auto-Map The rest is as per default, there is no persistence or Connect-one profile in place and I only have one of the servers enabled in the 2 server pool to allow me to diagnose this without having to follow server connections. The problem is like the web service hears the request but it can't set-up the web socket correctly (internal service fault). The service works fine if run locally on the server, not including the LTM in the call.Thanks
- BinaryCanary_19Historic F5 Account
This may be useful: Websocket with HTTPS
- BinaryCanary_19Historic F5 AccountAlso, internal service fault on the webserver? You'll get better information in the server's logs.
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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